
	var timershow=Array();
	var timerhide=Array();

	function menushow(name)
	{
	  clearTimeout(timerhide[name]);
	  timershow[name]=setTimeout(function() { bg_menushow(name);},150);
	}

	function menuhide(name)
	{
	  timerhide[name]=setTimeout(function() { bg_menuhide(name);},500);
	}

	function bg_menushow(name)
	{
	  m=document.getElementById(name);
	  m.style.width='';

	  m.style.display="block";
	  m.style.zIndex="1000"; 
	}

	function bg_menuhide(name)
	{
	  m=document.getElementById(name);
	  m.style.display="none";
	  m.style.zIndex="0";
	}

