// GLOBAL JAVASCRIPT FILE FOR WILDLYSOPHISTICATED

function openWin(theURL,winName,features) {
  window.open(theURL,winName,features);
}


function noSpam(user,domain) {
	locationstring = "mailto:" + user + "@" + domain;
	window.location = locationstring;
}
	
	
	var strImagePath = "images/gif/";
	
	function newImage(strFilename) {
		strFilename = strImagePath + strFilename;
		if (document.images) {
			objTempImage = new Image();
			objTempImage.src = strFilename;
			return objTempImage;
		}
	}
	
	things1 = newImage("things1.gif");
	things2 = newImage("things2.gif");
	news1 = newImage("news1.gif");
	news2 = newImage("news2.gif");
	bio1 = newImage("bio1.gif");
	bio2 = newImage("bio2.gif");
	music1 = newImage("music1.gif");
	music2 = newImage("music2.gif");
	shows1 = newImage("shows1.gif");
	shows2 = newImage("shows2.gif");
	photos1 = newImage("photos1.gif");
	photos2 = newImage("photos2.gif");

	
	function changeImage(strLocation, strImage) {
		document.images[strLocation].src = eval(strImage + ".src");
	}