Sub checkforFlash(flash,width,height,img) on error resume next var fh fh = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")) If fh = False Then fh = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")) End If If fh = True Then document.write "" document.write "" document.write "" document.write "" document.write "" Else document.write "Foxtons properties are displayed with 360 tours" End If End Sub