//check for Flash Player 7//script for IE on Win32 systemson error resume next //set a variable to hold the detection resultDim checkForFlash7//assign a boolean valuecheckForFlash7 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7")))//note here that if the object is demoted to ShockwaveFlash.ShockwaveFlash.6 or less, checkForFlash6 will still return true//this is ok as Flash Player 7 can run previous version content.//change 7 to 8 and you will see the alternate content (if 8 is not installed).//check that Shockwave Flash Plugin 7 is available//if false display alternate content, if true show object tag//quotes need to be doubled in vbscript in order for IE to render them in markup.if checkForFlash7 = true thendocument.write("<object classid=""clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"" codebase=""http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"" width=""580"" height=""580"" id=""ntm"" align=""middle""><param name=""movie"" value=""ntm.swf"" /><param name=""menu"" value=""false"" /><param name=""quality"" value=""high"" /><param name=""bgcolor"" value=""#000000"" /></object>")elsedocument.write("<table border='0' cellpadding='0' cellspacing='0' width='580' height='580' bgcolor='#0000000'><tr><td bgcolor='#0000000' align='center' width='580' height='580'><a href='http://www.macromedia.com/jp/shockwave/download/?P1_Prod_Version=ShockwaveFlash&Lang=Japanese' target='_blank'><img src='im/getplayer.gif' border='0' /></a></td></tr></table>")end If