// MouseOn 
 				homeon = new Image(55, 23);
				homeon.src = "images/n_home_on.gif";  
 				abouton = new Image(118, 23);
				abouton.src = "images/n_about_on.gif";  
				keylineson = new Image(98, 23);
				keylineson.src = "images/n_keylines_on.gif";
				whatshoton = new Image(105, 23);
				whatshoton.src = "images/n_whatshot_on.gif";
				contacton = new Image(97, 23);
				contacton.src = "images/n_contact_on.gif";
				eventson = new Image(73, 23);
				eventson.src = "images/n_events_on.gif";

			// MouseOff
				homeoff = new Image(86, 20);
				homeoff.src = "images/n_home.gif";
				aboutoff = new Image(86, 20);
				aboutoff.src = "images/n_about.gif";
				keylinesoff = new Image(98, 23);
				keylinesoff.src = "images/n_keylines.gif";
				whatshotoff = new Image(105, 23);
				whatshotoff.src = "images/n_whatshot.gif";
				contactoff = new Image(97, 23);
				contactoff.src = "images/n_contact.gif";
				eventsoff = new Image(73, 23);
				eventsoff.src = "images/n_events.gif";


				
				// image-swapping functions
function imgOn(imgName) {	
  if (document.getElementById) {
    document.getElementById(imgName).src = eval(imgName + "on.src");

  }
}

function imgOff(imgName) {
  if (document.getElementById) {
    document.getElementById(imgName).src = eval(imgName + "off.src");
  }
}
// swap images
function di(id,name)
{
  if (document.images)
    document.images[id].src=eval(name+".src");   
}

//toggles layer visibility on and off

function show(id) {
	document.getElementById(id).style.visibility = "visible";
	document.getElementById(id).style.zIndex = "200";

	//if (timer)
  //{
   // window.clearTimeout(timer);
   // timer = 0;
  //}
}
function hide(id) {
	document.getElementById(id).style.visibility ="hidden";
}

