//Object detection
var isIE45= document.all;
var isNav6= 0;
var isNav4= document.layers;

if (document.getElementById && !isIE45)    
{ isNav6=true; }

//center page
var ww=600;
var w_offset=0;

if(!isIE45)
{ww = window.innerWidth;}
else
{ww= document.body.clientWidth;}

// Subtract from ww(window width) the width of your web page
// then divide by two to get the offset necessary to center
// the menu.  Make sure to change 600 to equal the width of
// your web page.
w_offset = (ww - 300)/2;
if(ww<300) { w_offset = 0; }


//Menu 
No3 = (parseInt(navigator.appVersion) > 3) ? 1:0;
layer = (isIE45 && No3) ? "document.all['L'+menu].style" : (isNav4 && No3) ? "document.layers['L'+menu]" :(isNav6 && No3) ? "document.getElementById('L'+menu).style" : 0;
var timer;

function Show() { if(layer) {
	if(timer) clearTimeout(timer);
	for(menu=0; menu<Layer.length; menu++) { if(Layer[menu]) { eval(layer).visibility = "hidden"; } }
	for(i=0; i<arguments.length; i++) { menu=arguments[i]; eval(layer).visibility = "visible"; }
} }
function Hide() { timer = setTimeout("Show()", 200); }