// 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/";
	
	function newImage(strFilename) {
		strFilename = strImagePath + strFilename;
		if (document.images) {
			objTempImage = new Image();
			objTempImage.src = strFilename;
			return objTempImage;
		}
	}
	
	about1 = newImage("about_off.gif");
	about2 = newImage("about_on.gif");
	photos1 = newImage("photos_off.gif");
	photos2 = newImage("photos_on.gif");
	staff1 = newImage("staff_off.gif");
	staff2 = newImage("staff_on.gif");
	store1 = newImage("store_off.gif");
	store2 = newImage("store_on.gif");
	clients1 = newImage("clients_off.gif");
	clients2 = newImage("clients_on.gif");
	links1 = newImage("links_off.gif");
	links2 = newImage("links_on.gif");
	contact1 = newImage("contact_off.gif");
	contact2 = newImage("contact_on.gif");

	
	function changeImage(strLocation, strImage) {
		document.images[strLocation].src = eval(strImage + ".src");
	}







