<!--

var imgld=0;
 
function showLayer(name) {
    if (isNS){
    	document.layers[0].document.layers["lyr"].document.open();
        document.layers[0].document.layers["lyr"].document.write(eval(name));
        document.layers[0].document.layers["lyr"].document.close();
	}		
    if (isIE){
   		document.getElementById("one").innerHTML=eval(name); 
	}
	if (isNS6){
	//document.getElementById("one").innerHTML="";
	document.getElementById("one").innerHTML=eval(name);
	}
}


	
function init() {
		if (whatpage!="home"){
	 	if (isNS) {
	 	eval("document.images[whatpage].src = "+ whatpage + "_on.src");
		} else {
			document.images[whatpage].src = eval(whatpage + "_on.src");
		}
		showLayer(layertoshow);
		}
}


function swapImage(i,j) {
	if (imgld==0) return;
	if (i==whatpage) return;
	 	if (isNS) {
	 	eval("document.images[i].src = "+ i + "_" + j + ".src");
		} else {
			document.images[i].src = eval(i + "_" + j + ".src");
		}
}

function keepAlive(mouse_over)
{
  if (mouse_over)
  {
   if (typeof TimerID != "undefined") clearTimeout(TimerID);
  }
  else
  {
    if (typeof TimerID != "undefined") clearTimeout(TimerID);
    TimerID = setTimeout('switchLayer()',12000);
  }
}

function swapMeetOn(x,y) {
 swapImage(x,y);
 showme=(x+"menu");
 showLayer(showme);
}

function swapMeetOff(x,y) {
 swapImage(x,y);
}

function switchLayer() {
 showLayer(layertoshow);
}

//-->