home *** CD-ROM | disk | FTP | other *** search
Wrap
var DOWNLOAD_URL = "http://www.wildtangent.com/download/wdriver"; // MSIE WebDriver Detection code for IE. Used to detect if the driver is installed: if ( document.all ) { document.write( '<SCRIPT LANGUAGE="VBScript">\nfunction ieDetectDriver\non error resume next\nDim wtObject\nSet wtObject = CreateObject("WT3D.WT")\nif err.number <> 0 then\nSet wtObject = Nothing\nieDetectDriver = false\nelse\nSet wtObject = Nothing\nieDetectDriver = true\nend if\nend function\n<\/SCRIPT>' ); } function webDriverExists() { return ( ( document.all && ieDetectDriver() ) || ( document.layers && ( navigator.plugins["WildTangent Web Driver Plugin"] && navigator.mimeTypes["application/x-wildtangent-web-driver"] && navigator.mimeTypes["application/x-wildtangent-web-driver"].enabledPlugin ) ) ) != null; } function openDownloadWindow() { if ( DOWNLOAD_URL != "" && confirm( "It appears that you do not have the latest WildTangent WebDriver installed on your machine. Would you like to open a new window to download it?" ) ) { open( DOWNLOAD_URL ); } }