
//////////////show and hide routine////////////////////////
var timer = 0;
var currmenu ="";

function show(currElem) {
	hide();
	// do IE4 and IE5
	if ((document.all && !document.getElementById) || (document.all && document.getElementById)) {
		menuObj = eval("document.all." + currElem + ".style")
		menuObj.pixelTop = 79
	}
	
	else {
		// do NS6
		if (document.getElementById && !document.all) {
		menuObj = eval("document.getElementById(\"" + currElem + "\").style");
		menuObj.top = 79;
		}
		// do NS4
		else{
		menuObj = eval("document." + currElem)
		menuObj.top = 79
		}
	}
}

function hide() {
	if (timer!=0 && currmenu!=""){
		// do IE4 and IE5
		if ((document.all && !document.getElementById) || (document.all && document.getElementById)) {
			menuObj = eval("document.all." + currmenu + ".style")
			menuObj.pixelTop = -490
		}
		
		else {
			// do NS6
			if (document.getElementById && !document.all) {
			menuObj = eval("document.getElementById(\"" + currmenu + "\").style");
			menuObj.top = -490;
			}
			// do NS4
			else{
			menuObj = eval("document." + currmenu)
			menuObj.top = -490
			}
		}
	}
}

function wait(currElem) {
	currmenu = currElem;
	timer = setTimeout('hide()',300);
}

function clearTimer() {
	clearTimeout(timer);
	timer=0;
}




