isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
NS4 = (document.layers) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IE4plus = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
ver4 = (NS4 || IE4plus) ? true : false;
NS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {this.className+=" over";}
node.onmouseout=function() {this.className=this.className.replace(" over", "");}
}}}}
SafeAddOnload(startList);

var gSafeOnload = new Array();
function SafeAddOnload(f){
  if (IEmac && IE4)	{window.onload = SafeOnload;gSafeOnload[gSafeOnload.length] = f;}
	else if (window.onload){
		if (window.onload != SafeOnload){gSafeOnload[0] = window.onload;window.onload = SafeOnload;}		
		gSafeOnload[gSafeOnload.length] = f;
	}
	else window.onload = f;
}