<!--
var menu_timerID=null;
var menu_timerOn=false;
var menu_timeOut=300;
var menu_check=false;

function activateMenu() {
	menu_check=true;
	hideAll();
}

function hideAll() {
	for (var i=0;i<menu_count;i++) hideLayer('layernav'+i);
}

function showLayer(l) {
	if (!menu_check) return;
	try{
	document.getElementById(l).style.visibility="visible";
	}catch(oException){}
}

function hideLayer(l) {
	if (!menu_check) return;
	try{
	document.getElementById(l).style.visibility="hidden";
	}catch(oException){}
}

function startTime() {
	if (!menu_timerOn) {
		menu_timerID=setTimeout("hideAll()", menu_timeOut);
		menu_timerOn=true;
	}
}

function stopTime() {
	if (menu_timerOn) {
		clearTimeout(menu_timerID);
		menu_timerID=null;
		menu_timerOn=false;
	}
}

function overColor(obj) {	obj.style.backgroundColor='#A3C27C'; }
function normColor(obj) {	obj.style.backgroundColor='#EAFCCC'; }

function getLayer(l){
	if(document.getElementById(l))
		return document.getElementById(l).offsetLeft+8;
	else
		return 0;	
}
-->
