/* detect.js */

//THIS BLOCK OF JAVASCRIPT IS FOR STYLING PURPOSES ONLY...
bName = navigator.appName; 

if (navigator.userAgent.indexOf('Mac')!= -1 && navigator.userAgent.indexOf('MSIE 5.1') == -1) { 
 	document.write("<link href='css/nsMacStyles.css' rel='STYLESHEET' type='text/css'>"); 
}  else if (bName=="Netscape") { 
 	document.write("<link href='css/nsWinStyles.css' rel='STYLESHEET' type='text/css'>"); 
} else { 
 		document.write("<link href='css/ieStyles.css' rel='STYLESHEET' type='text/css'>"); 
}

// detect browser
bVer = parseInt(navigator.appVersion);

// assign base variables 
flash = "no" 
flashver = "1.0" 
action = "ns_exec"

// detect plugin for NS flash 3 version 
if (bName=="Netscape") {
if (navigator.plugins["Shockwave Flash 2.0"]) {flashver = "2.0"}
else if(navigator.plugins["Shockwave Flash"]) {flashver = "3.0"}
if (flashver == "3.0") {flash = "yes";}
} else if (bName == "Microsoft Internet Explorer") { action = "ie_exec" }


