var inmenu=false;
	var lastmenu=0;
	function Menu(current) {
	   if (!document.getElementById) return;
	   inmenu=true;
	   oldmenu=lastmenu;
	   lastmenu=current;
	   if (oldmenu) Erase(oldmenu);
	   m=document.getElementById("menu-" + current);
	   box=document.getElementById(current);
	    box.style.visibility="visible";
	  	box.style.backgroundColor="#d4e1f4";
	  	m.style.backgroundColor="#d4e1f4";
   		 }
	function Erase(current) {
	   if (!document.getElementById) return;
	   if (inmenu && lastmenu==current) {
		  return;
	   }
	   m=document.getElementById("menu-" + current);
	   m.style.backgroundColor="#ffffff";
	   box.style.backgroundColor="#ffffff";
	   box=document.getElementById(current);
	   box.style.visibility="hidden";
	   
	}
	function Highlight(current) {
	   if (!document.getElementById) return;
	   inmenu=true;
	   lastmenu=menu;
	   if (oldmenu) Erase(oldmenu);
	    box=document.getElementById(current);
	    box.style.backgroundColor="#bbceec";
	   
	 }
	function UnHighlight(current) {
	   if (!document.getElementById) return;
	   Timeout(menu);
	   m=document.getElementById("menu-" + current);
	   box=document.getElementById(current);
	   box.style.backgroundColor="#ffffff";
	
	}
	function Timeout(current) {
	   inmenu=false;
	   window.setTimeout("Erase('" + current + "');",3000);
	}
	function Highlight(menu,item) {
	   if (!document.getElementById) return;
	   inmenu=true;
	   lastmenu=menu;
	   obj=document.getElementById(item);
	   obj.style.textAlign="center";
	   obj.style.backgroundColor="#bbceec"; 
	 }
	function UnHighlight(menu,item) {
	   if (!document.getElementById) return;
	   Timeout(menu);
	   obj=document.getElementById(item);
	   obj.style.backgroundColor="#d4e1f4";
	
	}