/*
Determine Operating System, Browser Name, and Browser Version
bName = Browser Name
bVer = Brower Version
browser = The browser name (IE or NS) and browser version ie. NS4
OS = Operating System
*/
// Determine Browser and Browser Version
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
// Check if newer IE version is hiding as IE4.
// to do that we extract the 'hidden' version number out of the full version string
if (bName == "Microsoft Internet Explorer" && bVer == 4){
        var bFullver = navigator.appVersion;
        var i = bFullver.indexOf('MSIE ')+5; //that's were the real number sits
        if (i != -1) {
                var bRealver = parseInt(bFullver.substring(i,i+3));
                if (bRealver > 4)
                        bVer = bRealver;
        }
}
//abbreviate browser names
if (bName == "Netscape"){
    bName = "NS";
}
else if (bName == "Microsoft Internet Explorer"){
    bName = "IE";
}
var browser = bName + bVer;
//Determime Operating System
if ((navigator.appVersion.indexOf("Mac") != -1)
        || (navigator.appVersion.indexOf("PowerPC") != -1)){
    OS = "Mac";
}
else if (navigator.appVersion.indexOf("Win") != -1 ){
    OS = "Win";
}
else if (navigator.appVersion.indexOf("X11") != -1 ){
    OS = "Xwin";
}
if((bName == "NS") && (bVer < 4)){
    
  //do nothing  

}
else {
    document.write("\<STYLE TYPE=\"text/css\">\r");
    // Write Out Style Sheet For Different Browser and Platformsdd
    if ( (OS == "Mac") || ((OS == "Win") && (bName == "IE")) || (OS == "Xwin")){
        //Sytle Sheet for Macintosh, Windows with IE and Unix flavors
        document.write("P, TD, LI, UL {\r"); 
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 12px;\r");  
        document.write("color: #333333;\r"); 
        document.write("}\r");
		
				document.write(".subhead {\r"); 
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 12px;\r");  
        document.write("font-weight: bold;\r");  
        document.write("color: #666666;\r"); 
        document.write("}\r");

        document.write(".smtext { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 11px;\r"); 
        document.write("}\r");
				
				document.write(".address { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 13px;\r"); 
        document.write("color: #cccccc;\r");
        document.write("}\r");
			
				document.write(".headers { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 13px;\r"); 
        document.write("color: #336600;\r");
		document.write("font-weight: bold;\r");
		document.write("}\r");
		
		document.write(".name { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 14px;\r"); 
        document.write("color: #cccccc;\r");
		document.write("}\r");
				
				document.write(".subtitles { \r");
        document.write("font-family: Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 13px;\r"); 
        document.write("color: ##9B9520;\r");
		document.write("font-weight: bold;\r");
		document.write("text-decoration: none;\r") 
        document.write("}\r");
				
				document.write(".title { \r");
				document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
				document.write("font-size: 24px;\r");  
        		document.write("color: #cccccc;\r"); 
				document.write("line-height : 240%;\r");
				document.write("}\r");
				
				document.write(".greytext { \r");
				document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
				document.write("font-size: 12px;\r");  
        document.write("color: #666666;\r"); 
				document.write("}\r");
				
				document.write(".smGreyText { \r");
				document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
				document.write("font-size: 11px;\r");  
        document.write("color: #666666;\r"); 
				document.write("}\r");
										
				document.write(".popupText {\r"); 
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 11px;\r"); 
        document.write("color: #333333;\r");
        document.write("}\r");
		
		document.write("A. {\r");   
        document.write("color: #993300;\r");
        document.write("font-size: 12px;\r");
		document.write("text-decoration: underline;\r") 
        document.write("}\r");
		    
        document.write("A.visited:link {\r");   
        document.write("color: #d32d31;\r");
        document.write("font-size: 12px;\r");
		document.write("text-decoration: underline;\r") 
        document.write("}\r");
        
		document.write("A.internal {\r");   
        document.write("color: #cccccc;\r");
        document.write("font-size: 12px;\r");
		document.write("text-decoration: none;\r") 
        document.write("}\r");
		
        document.write(".red {\r");   
        document.write("color: #CC0000;\r"); 
        document.write("}\r");       
    
        document.write("A:hover {\r");
        document.write("color: #d32d31;\r");
        document.write("}\r");  
    }
    else {
        //Style Sheet for Windows with Netscape
        document.write("P, TD, LI, UL {\r"); 
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 10pt;\r"); 
        document.write("color: #333333;\r");
        document.write("}\r");
		
				document.write(".subhead {\r"); 
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 10pt;\r");  
        document.write("font-weight: bold;\r");  
        document.write("color: #666666;\r"); 
        document.write("}\r");
        
        document.write(".smtext {\r"); 
        document.write("font-family:  Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 8pt;\r");
        document.write("}\r");
				
				document.write(".address { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 11pt;\r"); 
        document.write("color: #cccccc;\r");
		document.write("}\r");
			
				document.write(".headers { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 12pt;\r"); 
        document.write("color: #336600;\r");
		document.write("font-weight: bold;\r");
        document.write("}\r");
		
		document.write(".name { \r");
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 12pt;\r"); 
        document.write("color: #cccccc;\r");
        document.write("}\r");
				
				document.write(".subtitles { \r");
        document.write("font-family: Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 11pt;\r"); 
        document.write("color: ##9B9520;\r");
		document.write("font-weight: bold;\r");
		document.write("text-decoration: none;\r") 
        document.write("}\r");
				
				document.write(".title { \r");
				document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
				document.write("font-size: 22pt;\r");  
        		document.write("color: #cccccc;\r"); 
				document.write("line-height : 160%;\r");
				document.write("}\r");
				
				document.write(".greytext { \r");
				document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
				document.write("font-size: 10pt;\r");  
        document.write("color: #666666;\r");
				document.write("}\r");
				
				document.write(".smGreyText { \r");
				document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
				document.write("font-size: 8pt;\r");  
        document.write("color: #666666;\r"); 
				document.write("}\r");
				
		document.write(".popupText {\r"); 
        document.write("font-family: Verdana, Arial, Helvetica, sans-serif;\r"); 
        document.write("font-size: 8pt;\r"); 
        document.write("color: #333333;\r");
        document.write("}\r");
		
		document.write("A. {\r");   
        document.write("color: #993300;\r");
        document.write("font-size: 10pt;\r");
		document.write("text-decoration: underline;\r") 
        document.write("}\r");
        
        document.write("A.visited {\r");   
        document.write("color: #d32d31;\r");
        document.write("font-size: 10pt;\r");
		document.write("text-decoration: underline;\r") 
        document.write("}\r");
		
		document.write("A.internal {\r");   
        document.write("color: #cccccc;\r");
        document.write("font-size: 10pt;\r");
		document.write("text-decoration: none;\r") 
        document.write("}\r");
      

    }
    document.write("\</style>\r");
}



// -->
