IEx = 0
NS4 = 0
NS6 = 0;

var agt = navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);

if(document.layers) NS4 = 1;
if(agt.indexOf("msie") != -1) IEx = 1;
if(agt.indexOf("netscape") != -1) NS6 = 1;

function getObject(objName) {
    return IEx?eval(objName):document.getElementById(objName);
}

if(NS4) 
{
  	layerStyleRef="layer.";
	layerRef="document.layers";
  	styleSwitch="";
}
if(NS6)
{
	layerStyleRef="";
  	layerRef="document.getElementById";
   	styleSwitch=".style";
}
if(IEx)
{
	layerStyleRef="";
  	layerRef="document.all";
   	styleSwitch=".style";
}

function showSubmenu(nm)
{
	eval(layerRef+'["'+nm+'"]'+styleSwitch+'.visibility="visible"'); 
}
function hideSubmenu(nm)
{
	eval(layerRef+'["'+nm+'"]'+styleSwitch+'.visibility="hidden"'); 
}
	

