var browser = getBrowser();
function getBrowser()
{
        var notsupported = "notsupported";


        if (navigator.appName == "Netscape")
        {
                var ver = parseInt (navigator.appVersion);
                if (ver == 4) return "ns4";
                if (ver >= 5) return "ns6";
                return (notsupported);
        }

        if (navigator.appName == "Microsoft Internet Explorer")
        {
                if (navigator.appVersion.indexOf ("MSIE 4") >= 0) return ("ie4");
                if (navigator.appVersion.indexOf ("MSIE 5") >= 0) return ("ie5");
                if (navigator.appVersion.indexOf ("MSIE 6") >= 0) return ("ie5");
                return (notsupported);
        }

        return (notsupported);
}

function openPrint(URL,winName) { 
  var newWindow = window.open(URL,winName,"width=618,height=500, toolbar=no, top=0,left=100,location=no,status=no,menubar=yes,scrollbars=yes,dependent=yes, resizable=no");
  newWindow.focus();
}

function msover(img,ref,imgNav,refNav) 
 {
  document.images[img].src = ref;
  document.images[imgNav].src = refNav;
  
 }


function hideElement(id)
{
	if (document.getElementById) {
		document.getElementById(id).style.visibility="hidden";
	} else {
		if (document.layers) {
			document.layers[id].visibility="hide";
		} else if(document.all){
			document.all[id].style.visibility="hidden";
		}
	}
}
