// 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.isIE45 = (this.wvshort >= 4) && (this.wbrowser.indexOf("Microsoft") != -1);
	this.isIE4Mac = (this.isIE45) && (this.wagent.indexOf("5.0") == -1) && (this.wplatform.indexOf("Mac") != -1);
	this.isNN6 = (this.wvshort >= 5) && (this.wbrowser == "Netscape");
	this.isOther = (!this.isNN4) && (!this.isIE45) && (!this.isNN6);
	
} // end function domdetect()



// Load Correct Style Sheet for Platform based on domdetect()

if (domdata.isNN4PC) { document.write('<LINK REL="stylesheet" HREF="nscap.css" TYPE="text/css">'); 
} else { document.write('<LINK REL="stylesheet" HREF="notnscap.css" TYPE="text/css">'); }


