var pref="null", suff="null", xx = "null", yy = "null";
var mx = "null", my = "null", now="null",tid, sx;

ie6 = (navigator.appVersion.indexOf("MSIE 6")>-1 || navigator.appVersion.indexOf("MSIE 5.5")>-1);
if (document.getElementById) {
  pref="document.getElementById('"; suff="').style"; xx=".left"; yy=".top";
  mx="event.pageX";
  my="event.pageY";
  sx="innerWidth-16";
}
else if (navigator.appName == "Netscape") {
  pref="document.layer('"; suff="')"; xx=".left"; yy=".top";
  mx="event.pageX";
  my="event.pageY";
  sx="innerWidth-16";
}
else {
  pref="document.all.item('"; suff="').style"; xx=".pixelLeft"; yy=".pixelTop";
  mx="window.event.clientX";
  my="document.body.scrollTop+window.event.clientY";
  sx="document.body.clientWidth+document.body.scrollLeft";
}

function hideall() {
  if (now!="null") {
    k=0;
    eval(pref+now+suff+'.visibility="hidden"');
  }
}

function hide(who){ 
  if (who!="null") {
    eval(pref+who+suff+'.visibility="hidden"');  
  }
}

function show(who, x,y, menu,id)
{
  k=0;

  hide(now);
  hide(who);
  now=who;

  eval(pref+who+suff+'.visibility="visible"');
}

function hiding(menu) { tid=setTimeout("hideall();",2000); }
function nover(){ if(navigator.appName=="Netscape") clearTimeout(tid); }
function nout(menu){ if(navigator.appName=="Netscape") hiding(menu); }
function mOured(div){ div.className="outred"; }
function mOu(div){ div.className="out"; }
function mOv(div){ div.className="over"; }

