var ver = navigator.appVersion.toLowerCase();

if (ver.indexOf("mac") != -1) {

// platform is Macintosh
	document.write('<link rel="stylesheet" href="../style/Dean.Mac.css">');
} else {

// platform is something else, probably Windows
	document.write('<link rel="stylesheet" href="../style/Dean.Win.css">');
}

					 hairhoSub_on = new Image(159, 33)
                     hairhoSub_on.src = "../images/SNhairho_f2.gif"
                     hairhoSub_off = new Image(159, 33)
                     hairhoSub_off.src = "../images/SNhairho.gif"

					 dishSub_on = new Image(159, 29)
                     dishSub_on.src = "../images/SNdish_f2.gif"
                     dishSub_off = new Image(159, 29)
                     dishSub_off.src = "../images/SNdish.gif"
					
					 guruSub_on = new Image(159, 29)
                     guruSub_on.src = "../images/SNguru_f2.gif"
                     guruSub_off = new Image(159, 29)
                     guruSub_off.src = "../images/SNguru.gif"

					 faqsSub_on = new Image(159, 32)
                     faqsSub_on.src = "../images/SNfaqs_f2.gif"
                     faqsSub_off = new Image(159, 32)
                     faqsSub_off.src = "../images/SNfaqs.gif"

					 divasSub_on = new Image(159, 33)
                     divasSub_on.src = "../images/SNdivas_f2.gif"
                     divasSub_off = new Image(159, 33)
                     divasSub_off.src = "../images/SNdivas.gif" 

					 productsSub_on = new Image(159, 29)
                     productsSub_on.src = "../images/SNhairbags_f2.gif"
                     productsSub_off = new Image(159, 29)
                     productsSub_off.src = "../images/SNhairbags.gif"
					 
					 team_on = new Image(159, 29)
                     team_on.src = "../images/SNteamdean_f2.gif"
                     team_off = new Image(159, 29)
                     team_off.src = "../images/SNteamdean.gif"

					 sitesSub_on = new Image(159, 29)
                     sitesSub_on.src = "../images/SNsites_f2.gif"
                     sitesSub_off = new Image(159, 29)
                     sitesSub_off.src = "../images/SNsites.gif"
					 
					 self_on = new Image(159, 29)
                     self_on.src = "../images/SNself_f2.gif"
                     self_off = new Image(159, 29)
                     self_off.src = "../images/SNself.gif"			 					 					 					 
			 
			function chgimage(imgst,imgName){
				document [imgName].src = eval(imgName + "_" + imgst + ".src");
			}
			
var Floater;  
function stopError()
{
 return true; 
}  

function iipopwin(fileName) 
{  
 if ((navigator.appName=="Microsoft Internet Explorer") && (navigator.appVersion.substring(0,3)=="4.0")) {
    if ((Floater) && (Floater.closed == false)) {
       Floater.close();
    }
 }     
 Floater = window.open(fileName, 'ITCompass', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,toolbar=no,width=320,height=475,left=0,top=0');
      Floater.focus(); 
}  

window.onerror = stopError;