// JavaScript Documentfunction browserCheck() {	var ua = navigator.userAgent;	var b = navigator.appName;	if (b=="Netscape") this.b = "ns";	else if (b=="Microsoft Internet Explorer") this.b = "ie";	else this.b = b;			if(this.opera = (ua.indexOf('Opera')>0)) { this.b = 'opera'; }		this.v = parseInt(navigator.appVersion);		if(ua.indexOf('Win')>0) {		this.platform = 'win';	} else if(ua.indexOf('Mac')>0) {		this.platform = 'mac';	} else {		this.platform = 'unknown';	}		this.ns = (this.b=="ns" && this.v>=4);	this.ns4 = (this.b=="ns" && this.v==4);	this.ns5 = (this.b=="ns" && this.v==5);	this.ie = (this.b=="ie" && this.v>=4);	this.ie4 = (ua.indexOf('MSIE 4')>0);	this.ie5 = (ua.indexOf('MSIE 5')>0);	this.ie6 = (ua.indexOf('MSIE 6')>0);	if (this.ie5) this.v = 5;	if (this.ie6) this.v = 6;	this.min = (this.ns || this.ie);}var browser = new browserCheck();	function fnSetHoverClass(parentID, tag, hoverClass) {	var el = document.getElementById(parentID);	if (el) {		el = el.getElementsByTagName(tag);		for (var i=0; i < el.length; i++) {			el[i].onmouseover = function() {				this.className += " "+ hoverClass;			}			el[i].onmouseout = function() {				this.className = this.className.replace				(new RegExp(" "+ hoverClass +"\\b"), "");			}		}	}}attachHoverClass = function() {	fnSetHoverClass("topnav", "li", "over");	fnSetHoverClass("leftnav", "li", "over");}if(browser.platform != 'mac' && browser.ie) {	window.onload = attachHoverClass;}