 
       //check for Flash Player X  
       //script for IE on Win32 systems  
       on error resume next  
       //set a variable to hold the detection result  
       Dim checkForFlash6  
 
       //assign a boolean value  
       checkForFlash6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))  
       //note here that if the object is demoted to ShockwaveFlash.ShockwaveFlash.5 or less, checkForFlash6 will still return true  
       //this is ok as Flash Player 6 can run previous version content.  
       //change 6 to 7 and you will see the alternate content (if 7 is not installed).  
 
       //check that Shockwave Flash Plugin 6 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 checkForFlash6 = true then  
          document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='758' height='245'><param name='movie' value='/presentation.swf'/><param name='quality' value='high' /><param name='wmode' value='transparent' /><embed src='/presentation.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='758' height='245'></embed></object>")
       else  
          document.write("<a href=""><img src='/images/homepage/splash.jpg' width='758' height='245' alt='concrete photo' border='0'   id='splash' </a>")
       end If  
  
