\n'); if (tVersionString>5) { tShockwaveFound = 1; } else document.write(alternateContent); } //If not IE //Added by cw 2008-12-09 else { //check for Flash Player X //check the navigator.plugins array exists, IE for Windows will fail on this. if(navigator.plugins.length) { //a counter var ivar; //loop through all the plugins installed for (ivar=0; ivar < navigator.plugins.length; ivar++) { //put the plugin string in a variable var pluginIdent = navigator.plugins[ivar].description.split(" "); //The Flash Player identification string is ([] = the array index) [0]Shockwave [1]Flash [2]6.0 [3]r21 //if less than Flash Player 6 is detected, run this code. if(pluginIdent[0] == "Shockwave" && pluginIdent[1] == "Flash") { //set a toggle to show that some sort of Flash Player (of versions 1-5) was found var isSwfEnabled = true; //an array of the Flash version number (major.minor) var versionArray = pluginIdent[2].split("."); if(versionArray[0] < 6) { //show alternate content document.write(alternateContent); } else { //Flash Player 6 or greater has been found, roll out the
tag. tShockwaveFound = 1; } //need to break this loop as some browsers may have two versions installed break; }//end if pluginIdent }//end for //check if no Shockwave Flash was detected in the array (no Flash Player installed) if(!isSwfEnabled) { document.write(alternateContent); }//end if } } //alert("tVersionString " + tVersionString); if ( tShockwaveFound ) { document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)) { document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); }