/*TITLE		Shockwave Plugin Detection ScriptMODIFIED	22/10/2002AUTHOR		Christian WachUSAGEIn the <body>:<script type="text/javascript" src="js/shockwave.js" language="javascript"></script>				*/function getSWVersion () {	var tVersionString = "";	if (navigator.mimeTypes && navigator.mimeTypes["application/x-director"] && navigator.mimeTypes["application/x-director"].enabledPlugin) {		if (navigator.plugins && navigator.plugins["Shockwave for Director"] && (tVersionIndex = navigator.plugins["Shockwave for Director"].description.indexOf(".")) != - 1) {				var tVersionString = navigator.plugins["Shockwave for Director"].description.substring(tVersionIndex-2, tVersionIndex+2);		}	} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0 )) {		document.write('<SCRIPT LANGUAGE=VBScript\> \n');		document.write('on error resume next \n');		document.write('set tSWControl = CreateObject("SWCtl.SWCtl") \n');		document.write('if IsObject(tSWControl) then \n');		document.write('tVersionString = tSWControl.ShockwaveVersion("") \n');		document.write('end if');		document.write('</SCRIPT\> \n');	}		return tVersionString;	}var shockwaveVersion = getSWVersion();if (shockwaveVersion >= 8.5) {	document.writeln("Shockwave plugin version " + shockwaveVersion + " has been detected. You should therefore be able to view Shockwave content on this site.");} else {	if (shockwaveVersion != "" ) {			document.write("You do not appear have a sufficiently recent version of the shockwave plugin, or you do not have the plugin. ");		document.write("Please go to the Macromedia <a href='http://www.macromedia.com/shockwave/download/' target='_blank'>Shockwave download page<\/a> to get the latest version before proceeding.");	} else {			document.write("You do not appear to have the Shockwave plugin. ");		document.write("Please go to the Macromedia <a href='http://www.macromedia.com/shockwave/download/' target='_blank'>Shockwave download page<\/a> before proceeding.");	}	}