/*	File:		flash.js - tests if the browser can display flash files	Developer:	Simon A. Spacey	Copyright:	PRIV8 LTD. All rights reserved.	Modified:	19/06/05	Notes:		For a commented version see http://www.priv8.co.uk/js/#flash.js*/var flash = null;if(	navigator.userAgent.indexOf('MSIE') != -1 && navigator.userAgent.indexOf('Win') != -1) {	for(var version=10; version>0 && flash==null; version--){		try{			flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + version);		}		catch(e){			flash = null;		}	}} else {	if(	navigator.mimeTypes["application/x-shockwave-flash"]						&&		navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin != null	) {		flash = "yes";	}}function showFlash(swfFile) {	if(	flash != null) {		document.write("<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0\" ID=PRIV8 WIDTH=800 HEIGHT=600>\n");		document.write("	<PARAM NAME=movie VALUE=\"" + swfFile + "\">\n");		document.write("	<PARAM NAME=loop  VALUE=false>\n");		document.write("	<PARAM NAME=wmode VALUE=transparent>\n");		document.write("	<PARAM NAME=align VALUE=center>\n");		document.write("	<PARAM NAME=quality VALUE=best>\n");		document.write("	<EMBED SRC=\"" + swfFile + "\" LOOP=false WMODE=transparent QUALITY=best ALIGN=center WIDTH=800 HEIGHT=600 TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></EMBED>\n");		document.write("</OBJECT>\n");	}}function beginNoFlash() {	if(	flash != null) {		document.write("<!--");	}}function endNoFlash() {	if(	flash != null) {		document.write("-->");	}}