// Start Fuctions to show & hide menu

dom = document.getElementById ? 1 : 0;
dom2 = (!document.all && dom)? 1 : 0; 			
ie4 = (document.all && !dom)? 1 : 0;
ie5 = (document.all && dom)? 1 : 0;
ns4 = (document.layers && !dom)? 1 : 0;
opera = (navigator.userAgent.indexOf('Opera')!=-1) ? 1 : 0;
supported = ((dom||ie4) && !(opera)) ? 1 : 0; 


function showMenu(id)
{ 
  if(!supported)
    return;

  if (supported)
  obj = (dom) ? document.getElementById(id) : document.all(id)
   
 //absolute position display different in IE and Nestcape, may need to reposition 
  if(dom2){
          
      if (id == "submenu")  
     {     
      obj.style.left= 116
      obj.style.top = 625
      obj.style.visibility='visible';  
     }     
         }  
      obj.style.visibility='visible';  
}


function hideMenu(id)
{ 
  if(!supported)
    return;

  if (supported)
  obj = (dom) ? document.getElementById(id) : document.all(id)

  obj.style.visibility='hidden';
}


function doCellColor(obj, color)
{
	if (document.all) 
	{
		document.all[obj].style.backgroundColor=color;//ie4+
	}
	else if (document.getElementById) 
	{
		document.getElementById(obj).style.backgroundColor=color;//nn6+
	}
};



// End Fuctions to show & hide menu
