/*		Copyright 2002-2005 [c] Artlogic Media Limited and its licensors.	All rights reserved. (http://www.artlogic.net/)*///	FLASH VERSION	IEWIN = (navigator.appVersion.indexOf("MSIE") != -1 && navigator.appVersion.indexOf("Win") != -1);		flashDetectProcessed = false;	var flash2Detected=false;	var flash3Detected=false;	var flash4Detected=false;	var flash5Detected=false;	var flash6Detected=false;	var flash7Detected=false;	var maxFlashVersion=7;		function FL_detectFlashVersion() {			flashDetectProcessed = true;		// use a VBScript to detect Flash version on windows				if (IEWIN) {			document.write("<scr"+"ipt language=\"VBScript\"\>\n");			document.write("on error resume next\n");			document.write("flash2Detected=(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.2\")))\n");			document.write("flash3Detected=(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.3\")))\n");			document.write("flash4Detected=(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.4\")))\n");			document.write("flash5Detected=(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.5\")))\n");  			document.write("flash6Detected=(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.6\")))\n");  			document.write("flash7Detected=(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.7\")))\n");  			document.write("\</scr"+"ipt\>\n"); // break up end tag so it doesn't terminate the script		}			// get detected version on browsers which have the navigator.plugins array object				if (navigator.plugins) { 			if (navigator.plugins["Shockwave Flash 2.0"]|| navigator.plugins["Shockwave Flash"]) {				var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";				var pluginsFlashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;				// the following two lines rewritten 081204 as the previous version broke at version 10				var pluginsFlashVersionSplit = pluginsFlashDescription.split(".")[0].split(" ");				var pluginsFlashVersion = parseInt(pluginsFlashVersionSplit[pluginsFlashVersionSplit.length - 1]);				flash2Detected=(pluginsFlashVersion==2);    				flash3Detected=(pluginsFlashVersion==3);				flash4Detected=(pluginsFlashVersion==4);				flash5Detected=(pluginsFlashVersion==5);				flash6Detected=(pluginsFlashVersion==6);				flash7Detected=(pluginsFlashVersion>=7); // use >= on highest version so it will detect future versions			}		}		for (i=2;i<=maxFlashVersion;i++) {			if (eval("flash" + i + "Detected") == true) flashVersion = i;		}		if(navigator.userAgent.indexOf("WebTV") != -1) flashVersion = 3; // webtv support (version 3)		return (flashVersion);	}	var flashVersion = escape(FL_detectFlashVersion());	var flashDetected = (flashVersion > 0) ? 1 : 0;	var fl_movieInstance;	function FL_PlaceFlash(flashMovieURL,fVersion,flashBackgroundColor,flashMovieWidth,flashMovieHeight,altImageURL,altImageAltText,altImageLink,altImageName,noPluginHTML,noFlashHTML,conditionForNoFlash,transp,id,hidden,debug) { 			var faOn="";		var faOff="";				altImageURL = (altImageURL) ? unescape(altImageURL.toString()) : "";		altImageAltText = (altImageAltText) ? unescape(altImageAltText.toString()) : "";		altImageLink = (altImageLink) ? unescape(altImageLink.toString()) : "";		altImageName = (altImageName) ? unescape(altImageName.toString()) : "";		noPluginHTML = (noPluginHTML) ? unescape(noPluginHTML.toString()) : "";		noFlashHTML = (noFlashHTML) ? unescape(noFlashHTML.toString()) : "";				if (!flashDetectProcessed) flashDetect(); // requires the function flashDetect(), above, to have been run - if it hasn't it is called here						if (conditionForNoFlash && noFlashHTML != "") { // display the noFlash code (user does not wish to use flash)					document.write(noFlashHTML);				} else if (flashVersion>=fVersion) {			var t="";			id = (id == "") ? "fl_movie"+fl_movieInstance : id;			fl_movieInstance ++;			flashMovieURL = (flashMovieURL.indexOf("?")>=0) ? flashMovieURL+"&thisMovieID="+id : flashMovieURL+"?thisMovieID="+id ; 			var tr = transp[0];			var absTop=transp[1];			var absLeft=transp[2];			var pos=(absTop>0 && absLeft>0) ? "position:absolute;top:"+absTop+"px;left:"+absLeft+"px;width:"+flashMovieWidth+"px;height:"+flashMovieHeight+"px;" : "";			//	the following version of the above line causes a problem in enCompass: // var pos=(absTop>-1 && absLeft>-1) ? "position:absolute;top:"+absTop+"px;left:"+absLeft+"px;width:"+flashMovieWidth+"px;height:"+flashMovieHeight+"px;" : "";			var zInd=(transp[3]!="") ? "z-index:"+transp[3]+";" : "";			trOb = (tr) ? "\<param name=\"wmode\" value=\"transparent\">" : "";			trEm = (tr) ? " wmode=\"transparent\"" : "";			hd = (hidden) ? "display:none;" : "";			t+="\<div id=\""+id+"\" style=\""+zInd+pos+hd+"\">\<object id=\""+id+"_swf\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\""+flashMovieWidth+"\" height=\""+flashMovieHeight+"\">";			t+="\<param name=\"movie\" value=\""+flashMovieURL+"\">\<param name=\"quality\" value=best>\<param name=\"bgcolor\" value=\""+flashBackgroundColor+"\">"+trOb;			t+="\<embed src=\""+flashMovieURL+"\" quality=best bgcolor=\""+flashBackgroundColor+"\" width=\""+flashMovieWidth+"\" height=\""+flashMovieHeight+"\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\""+trEm+">\</embed>";			t+="\</object>\</div>";			document.write(t);			if (debug) {				alert(t);			}		} else {			if (noPluginHTML != '') {				document.write(unescape(noPluginHTML));			} else {				if (altImageLink=="pluginspage") altImageLink="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash";				if (altImageLink!="") {					var faOn="\<a href=\""+unescape(altImageLink)+"\">";					var faOff="\</a>";				}				document.write(faOn+"\<img src=\""+unescape(altImageURL)+"\" width=\""+flashMovieWidth+"\" height=\""+flashMovieHeight+"\" alt=\""+unescape(altImageAltText)+"\" border=\"0\" />"+faOff);			}		}	}	function getFlash(fVers,fMsg) { 			// display 'Get Flash Player' image - params: flashVersion, message		// define a css style '.getFlashBox' to style the surrounding box				if(flashVersion<fVers) {			var t="";			t+="\<br>\<br>\<img src=\""+pathToImages+"333399.gif\" width=\"170\" height=\"1\">\<br>\<br>";			t+="\<div class=\"getFlashBox\">";			t+="\<a href=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" target=\"_blank\">";			t+="\<img src=\""+pathToImages+"get_flashplayer.gif\" border=\"0\">\<br>\<br>";			t+="\</a>";			t+=fMsg;			t+="\</div>";			document.write(t)		}	}  function FL_ToggleFlashMovie(id) {  	var hidden = (document.getElementById(id).style.display == "none");   	document.getElementById(id).style.display = (hidden) ? "block" : "none";   }  function FL_HideFlashMovie(id) {   	document.getElementById(id).style.display = "none";   }  function FL_ShowFlashMovie(id) {   	document.getElementById(id).style.display = "block";   }	document.write("\<style type=\"text/css\">\r	.FL_PlaceFlash_nonFlashMessage {font-family:verdana,arial,helvetica,sans-serif;font-size:10px;color:#000000;text-decoration:none;}\r\</style>");