// Collect essential client properties and conditionally load style sheet

domData = new domDetect();

// domdetect() makes domData object
function domDetect() {

	// Capture essential client properties
	this.wvlong = parseFloat(navigator.appVersion);
	this.wvshort = parseInt(navigator.appVersion);
	this.wagent = navigator.userAgent;
	this.wplatform = navigator.platform;
	this.wbrowser = navigator.appName;
	
	// Set Browser and Platform Tests
	this.isMac = (this.wplatform.indexOf("Mac") != -1);
	this.isWin = (this.wplatform.indexOf("Win") != -1);
	this.isNN = (this.wbrowser == "Netscape");
	this.isIE = (this.wbrowser.indexOf("Microsoft") != -1);

	// Set Browser Version Tests
	this.isNN4 = (this.wvshort == 4) && (this.isNN);  
	this.isNN6up = (this.wvshort >= 5) && (this.isNN);
	this.isIE4up = (this.wvshort >= 4) && (this.isIE);
	this.isIE5Mac = (this.isIE4up) && (this.wagent.indexOf("5.0") != -1) && (this.isMac);
	this.isOther = (!this.isNN4) && (!this.isIE4up) && (!this.isNN6up);
		
} // end function domdetect()

