nc4=(document.layers)?1:0;

c=0;

function show(a) 
{
 if (c!=0) {hide(c);c=0;}; 
 if (nc4) 
{
     eval("document.layers['m"+a+"']").visibility="show";
} 
else {
     eval("m"+a).style.visibility="visible";
}
 return;
};

function hide (a)
{
 if (nc4) 
{
     eval("document.layers['m"+a+"']").visibility="hide";
} 
else {
     eval("m"+a).style.visibility="hidden";
}
 c=0;
 return;
};

function hid (a)
{
 if (nc4) { type = 'hide';}
 if (c!=a){
 if (nc4) 
{
     eval("document.layers['m"+a+"']").visibility="hide";
} 
else {
     eval("m"+a).style.visibility="hidden";
}
 c=0;}
 return;
};

function setid(a)
{
 c=a;
return;
};

function openWindow(sPage, width, height)
{
	var sFeatures= "top=0, left=0, width="+width+", height="+height+", "
		+ "toolbar=no, menubar=no, location=no, directories=no, resizable=yes, scrollbars=yes";
	var oNewWindow = window.open(sPage, "page", sFeatures, true);
}
