window.onload = function () {
/*
 var list_item = document.getElementById('menu').getElementsByTagName('ul');
 var list_item2 = document.getElementById('infomenu').getElementsByTagName('ul');
  for (var i = 0; i < list_item.length; ++i) {
    //list_item[i].style.display = 'none';
  }
  for (var k = 0; k < list_item2.length; ++k) {
    //list_item2[k].style.display = 'none';
  }
 */
}
function lays(id,y){
       nav = navigator.appName;
       if(nav.charAt(0)=="N"){
          y=y;
       }else if(nav.charAt(0)=="M"){
          y=y-10; 
       }else{
          y=y;
       }
       if(document.getElementById(id)){
	    obj=document.getElementById(id);
	    obj.style.position='absolute';
	    obj.style.display='block';
	    obj.style.left=179+'px';
            /*obj.style.top=y;*/
            obj.style.top=0;
            obj.style.zIndex=100;
        }
        clearTime=timers();
        clearTimeout(clearTime);
}

function hidelays(){
       count=arguments.length;
       for(i=0;i<count;i++){
           if(document.getElementById(arguments[i])){
	      obj=document.getElementById(arguments[i]);
	      obj.style.position='absolute';
	      obj.style.display='none';
           }
       }
}

function timers(){
    id=arguments[0];
    setTimeout("hides(id)", 500);
    clearTime=setTimeout("hides(id)", 500);
    return clearTime;
}

function hides(){
    if(arguments[0]!=''&&arguments[0]!=null) {
id=arguments[0];
    if(document.getElementById(id)){
	obj=document.getElementById(id);
	obj.style.position='absolute';
	obj.style.display='none';
    }
}
}

