if(top.frames.length!=0){top.location=self.document.location;} // Check for Flash 4 // SEE COMMENTED code & credits at.... // http://www.moock.org/webdesign/flash/detection/moockfpi/ // I have deleted the comments to make it a faster loading .js file. //I've chopped out a lot of code I didn't want to use. var requiredVersion=4; var f2i=false; var f3i=false; var f4i=false; var f5i=false; var f6i=false; var maxVersion=6; //FV=FLASH VERSION var FV=0; function detectFlash(){ if(navigator.plugins){ if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){ var isVersion2=navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; //FD=flashDescription var FD=navigator.plugins["Shockwave Flash"+isVersion2].description; //CFV = CheckFlashVersion var CFV=parseInt(FD.charAt(FD.indexOf(".")-1)); f2i=CFV==2; f3i=CFV==3; f4i=CFV==4; f5i=CFV==5; f6i=CFV==6; }} for(var i=2;i<=maxVersion; i++){ if(eval("f"+i+"i")==true)FV=i;} if(navigator.userAgent.indexOf("WebTV")!=-1) FV=2; if(FV<requiredVersion){ document.write('<font size=-1>This page requires the (free) <a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">Flash Player plug-in</a> (Version 4 or Newer).</font><P>'); } } detectFlash(); 