//initializevar mBrowser = new browser();//browser: creates a new browser objectfunction browser() { 	//generic combination of both browserNS and browserIE	var sAppName = navigator.appName;	var sAppVersion = parseInt(navigator.appVersion);	var sUA = navigator.userAgent.toLowerCase();	this.isWin = false;	this.isMac = false;	this.isIE = false	this.isIE4 = false;	this.isIE5 = false;	this.isIE55 = false;	this.isIE5plus = false;	this.isIE6 = false;	this.isIE6plus = false;	this.isNS = false;	this.isNS4 = false;	this.isNS6 = false;	this.isNS6plus = false;	this.isNotSupported = false;	this.styleObj = "";	this.col1 = "";		//Identify unsupported browser versions (< 4)	this.isNotSupported = (sAppVersion < 4);	//Determine platform	this.isWin = (sUA.indexOf("win")>=1); 	this.isMac = (sUA.indexOf("mac")>=1); 	if (sAppName == "Microsoft Internet Explorer") {		this.isIE = true;		//create references for x-browser object references		this.col1 = "all.";		this.styleObj = ".style";		this.isIE4 = (sUA.indexOf("msie 4.")>=1);		this.isIE5 = (sUA.indexOf("msie 5.0")>=1);		this.isIE55 = (sUA.indexOf("msie 5.5")>=1);		this.isIE6 = (sUA.indexOf("msie 6")>=1);		if (this.isIE5 || this.isIE55 || this.isIE6) {			this.isIE5plus = true;			this.isIE4 = false;		}		if (this.isIE6) this.isIE6plus = true;	} 	else if (sAppName == "Netscape") {		this.isNS = true;		if (sAppVersion == 4) this.isNS4 = true;		if (sAppVersion == 5) {			this.isNS6 = true;			this.isNS6plus = true;		}		document.captureEvents(Event.CLICK);	}}if (mBrowser.isNotSupported) {} //redirect user if the browser is not supported (< version 4)else {	//load additional script files	document.write("<script language='JavaScript1.2' src='/includes/global/lib/dhtml_menus.js'></script>");	document.write("<script language='JavaScript1.2' src='/includes/global/lib/dhtml_utilities.js'></script>");	//load style sheets per browser	var whichCss = (mBrowser.isNS) ? "_ns":"";	document.write("<link rel='stylesheet' type='text/css' href='/includes/global/bodystyle"+whichCss+".css'>");	// 	if (mBrowser.isWin && mBrowser.isNS) {} //For Windows & Netscape	else if (mBrowser.isMac && mBrowser.isNS) {} //For Macs & Netscape	else if (mBrowser.isMac && mBrowser.isIE) {} //For Macs & IE	else {} //For everything else}