// 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-Specific branches
	this.isNN4 = (this.wvshort == 4) && (this.wbrowser == "Netscape");  
	this.isNN4PC = (this.isNN4) && (this.wplatform.indexOf("Win") != -1); 
	this.isNN6Up = (this.wvshort >= 5) && (this.wbrowser == "Netscape");
	this.isIE4Up = (this.wvshort >= 4) && (this.wbrowser.indexOf("Microsoft") != -1);
	this.isIE6 = false;//(this.wagent.indexOf("MSIE 6.0") != -1);
	this.isIE5 = (this.wagent.indexOf("MSIE 5.") != -1);
	this.isIE5PC = (this.isIE5) && (this.wplatform.indexOf("Win") != -1);
	this.isIE4 = (this.isIE4Up) && (!this.isIE5) && (!this.isIE6);
	this.isIEMac = (this.isIE4Up) && (this.wplatform.indexOf("Mac") != -1);
	this.isOther = (!this.isIE4Up) && (!this.isNN6Up);
	
} // end function domDetect()

