<!--/************************************************************************************** Detect Flash vb script detection**************************************************************************************/function checkBrowser(){        this.name=navigator.appName;        this.ver=navigator.appVersion;        this.useragent=navigator.userAgent;        this.dom=document.getElementById?1:0;        this.ie=(this.useragent.indexOf("MSIE") >-1)?1:0;        this.ns=(this.useragent.indexOf("Netscape") >-1)?1:0;        this.msieIndex=this.useragent.indexOf("MSIE");        this.ieVer=this.useragent.substring((this.msieIndex+5),(this.msieIndex+6));        this.ie6=(this.ie && this.ieVer >= 6 && this.dom) ?1:0; //ie6 and all future versions        this.ie5=(this.useragent.indexOf("MSIE 5")>-1 && this.dom)?1:0;        this.ie4=(document.all && !this.dom)?1:0;        this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; //ns6 and all future versions        this.ns4=(document.layers && !this.dom)?1:0;        this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.ie6);        this.mac=(this.ver.indexOf("Mac") >-1)?1:0;        this.win=(this.ver.indexOf("Windows") >-1)?1:0;        return this;}bw=new checkBrowser();// look for ie/winif((bw.ie == 1) && (bw.win == 1)){var hasVBscript = true;}// this is a js1.1 code block, so make note that js1.1 is supported.jsVersion = 1.1;// write vbscript detection if we're not on mac.if(hasVBscript){ // don't write vbscript tags on anything but ie win	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');	document.write('on error resume next \n');	document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');	document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');	document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');	document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');		document.write('</SCR' + 'IPT\> \n'); // break up end tag so it doesn't end our script	}// -->
