var inmenu=false;
var lastmenu=0;
image2=new Image();
image2.src="images/menu_bk.jpg";
image3=new Image();
image3.src="images/top_menu.gif";

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.left= m.offsetWidth+6;/*+1*/
	box.style.top=200;/*170*/
	box.style.visibility="visible";
			}

function Erase(current) {   
	if (!document.getElementById) return;   
	if (inmenu && lastmenu==current) {	  
		return;   
					}
	m=document.getElementById("menu-" + current);
	box=document.getElementById(current);
   	box.style.visibility="hidden";
			}

function Timeout(current) {
	inmenu=false;  
	window.setTimeout("Erase('" + current + "');",1000);
			}

function Highlight(menu) {   
	if (!document.getElementById) return;
	inmenu=true;
	lastmenu=menu;
				}

function UnHighlight(menu) {
   	if (!document.getElementById) return;
	Timeout(menu);
				}