// <![CDATA[
// Begin Ad Muncher helper script
// Do not remove without removing all references to this in the below page (eg: everything containing "XYZ" or "XYb")
// Original URL:   http://knowbullgraphics.com/starflash/scripts/AC_RunActiveContent.js
// Retrieved from: 72.18.131.40:80
function XYZn(){return false;};
function XYZbHelp(a,b){XYZxgp(a);XYZxbn();return;};
function XYZb(a,b,c,d){XYZxgp(a);XYZxbn();return XYZxfw(b);};
function XYZxpp(a){XYZxppa=a;if(a)XYZxorgsti("XYZxppa=0;",500);};
function XYZbtePopup(a,b,c,d,e,f){XYZxgp();XYZxbn();return XYZxfw();};
function XYZbModalDialog(a,b,c){XYZxgp(a);XYZxbn();return XYZxfw();};
function XYZxj(m,u,l){if(XYZxolp){XYZxqn=XYZxqnbu;XYZxolp=0;};return true;};
function XYZbModelessDialog(a,b,c){XYZxgp(a);XYZxbn();return XYZxfw();};
function XYZxpl(a,b,c){while(a.indexOf(b)!=-1)a=a.replace(b,c);return a;};
function XYZxtry(a,z){if(XYZxtryk())eval("try{"+a+"}catch(e){};");else eval(a);};
function XYZc(){XYZxqn=XYZxqnbu=10;XYZxorgsti("XYZxqn=XYZxqnbu=0;",500);return;};
function XYZx__amscript_addonload(a){XYZx_ams_onload[XYZx_ams_onload_i++]=(typeof(a)=="function")?a:new Function(a);};
function XYZx__amscript_addonunload(a){XYZx_ams_onunload[XYZx_ams_onunload_i++]=(typeof(a)=="function")?a:new Function(a);};
function XYZxfcs(z){XYZxfcsr=0;if(z){XYZxfcsrz=z;XYZxtry("XYZxfcsr=XYZxfcsd();");};return XYZxfcsr;};
function XYZxfc(a,z){for(var i=0;i<a.length;i++)if(a[i].name==z||XYZxfc(a[i].frames,z))return 1;return 0;};
function XYb(z){if(typeof(z.location)!="undefined"||typeof(z.blur)=="undefined")return false;return z.blur();};
function XYZf(z){if(typeof(z.location)!="undefined"||typeof(z.focus)=="undefined")return false;return z.focus();};
function XYZxHelp(a,b){if(XYZxck(a))return;if(XYZxqn)XYZxqn-=1;if(b)return showHelp(a,b);else return showHelp(a);};
function XYZTimeout(a,b){if(((!XYZxqn&&!XYZxa)||XYZxppa||XYZxul)&&typeof(a)=="string")return XYZxorgsti("XYZxpp(1);"+a+";XYZxpp(0);",b);return XYZxorgsti(a,b);};
function XYZInterval(a,b){if(((!XYZxqn&&!XYZxa)||XYZxppa||XYZxul)&&typeof(a)=="string")return XYZxorgsin("XYZxpp(1);"+a+";XYZxpp(0);",b);return XYZxorgsin(a,b);};
function XYZxbn(){if(XYZxd&&XYZxm){if(XYZxb){XYZxc="s";XYZxb+=", "+XYZxm;}else{XYZxc="";XYZxb=XYZxm;};XYZxi="Popup"+XYZxc+" on page blocked by Ad Muncher: "+XYZxb;XYZxu();};};
function XYZxox(){var x;for(var i=0;i<XYZx_ams_onunload.length;i++){if(typeof(XYZx_ams_onunload[i])=="function")XYZx_ams_onunload[i]();};if(typeof(XYZxffad)!="undefined"&&!XYZxffadd){if(XYZxkou)XYZxul=1;XYZxffadd=1;if(typeof(XYZxffad)=="function")x=XYZxffad();else eval(XYZxffad);XYZxul=0;};return x;};
function XYZxModalDialog(a,b,c){if(XYZxck(a,b))return XYZxfw();if(XYZxqn)XYZxqn-=1;if(c)return showModalDialog(a,b,c);else if(b)return showModalDialog(a,b);else return showModalDialog(a);};
function XYZxs(a){if((typeof(a.target)!="undefined"&&typeof(a.action)!="undefined"&&a.target&&XYZxnw(a.target)&&XYZxck(a.action))||typeof(a.submit)=="undefined")return false;return a.submit();};
function XYZxt(a){if((XYZxqn||XYZxa)&&!XYZxppa&&!XYZxul){if(XYZxqn)XYZxqn-=1;return alert(a);};if(a&&XYZxd){XYZxi="Alert message blocked by Ad Muncher: "+XYZxpl(a,"\n"," ");XYZxu();};return false;};
function XYZxModelessDialog(a,b,c){if(XYZxck(a,b))return XYZxfw();if(XYZxqn)XYZxqn-=1;if(c)return showModelessDialog(a,b,c);else if(b)return showModelessDialog(a,b);else return showModelessDialog(a);};
function XYZxsp(a,z){if(a.split)return a.split(z);var j,c,s,n,b,e;j=b=0;c=on.length;s=new Array();a+=z;n=a.length;while(b<n){e=z?a.indexOf(z,b):b+1;s[j++]=a.substring(b,e);b=e+c;};return s.length=j,s;};
function XYZxu(a){XYZxi=XYZxpl(XYZxpl(XYZxi.substring(0,1024),'"',"<~am~`"),"<~am~`",'\\"');XYZxir='defaultStatus="'+XYZxi+'";';if(!XYZxss){XYZxss=1;XYZxorgsin("eval(XYZxir);",3000);};XYZxorgsti("eval(XYZxir);",1000);};
function XYZxe(){XYZxa=0;XYZxqnbu=XYZxqn;XYZxqn=0;XYZxolp=1;XYZxorgsti("XYZxa=1;",1000);if(!XYZxffd){XYZxffd=1;for(var i=0;i<XYZx_ams_onload.length;i++){if(typeof(XYZx_ams_onload[i])=="function")XYZx_ams_onload[i]();};if(typeof(XYZxff)!="undefined"){if(typeof(XYZxff)=="function")XYZxff();else eval(XYZxff);};};XYZxqn=XYZxqnbu;XYZxolp=0;XYZxx();};
function XYZxnw(a){XYZxagt=navigator.userAgent.toLowerCase();if(a!="_self"&&a!="_top"&&a!="_main"&&a!="_parent"&&!XYZxfcs(a)&&((XYZxagt.indexOf("msie")==-1||XYZxagt.indexOf("opera")!=-1)||(a!="_search"&&a!="_media")))return 1;return 0;};
function XYZxobx(){var x;if(typeof(XYZxffreunload)!="undefined"&&!XYZxffreunloadd){if(XYZxkou)XYZxul=1;XYZxffreunloadd=1;if(typeof(XYZxffreunload)=="function")x=XYZxffreunload();else eval(XYZxffreunload);XYZxffreunloadd=0;XYZxul=0;};return x;};
function XYZxtryk(){var b=navigator.userAgent.toLowerCase();var c=parseInt(navigator.appVersion);if((b.indexOf("mozilla")!=-1&&b.indexOf("compatible")== -1&&c>=5)||(b.indexOf("opera")!=-1&&c>=6)||(b.indexOf("msie")!=-1&&c>=4))return 1;return 0;};
function XYZxfcsd(){var v=self;if(XYZxfc(v.frames,XYZxfcsrz)||(typeof(v.name)!="undefined"&&v.name==XYZxfcsrz))return 1;while(v!=v.parent){v=v.parent;if(XYZxfc(v.frames,XYZxfcsrz)||(typeof(v.name)!="undefined"&&v.name==XYZxfcsrz))return 1;};return 0;};
function XYZxtePopup(a,b,c,d,e,f){if(XYZxck())return XYZxfw();if(XYZxqn)XYZxqn-=1;if(f)return createPopup(a,b,c,d,e,f);else if(e)return createPopup(a,b,c,d,e);else if(d)return createPopup(a,b,c,d);else if(c)return createPopup(a,b,c);else if(b)return createPopup(a,b);else return createPopup(a);};
function XYZxmc(){if(typeof(document.layers)!="undefined")document.captureEvents(Event.KeyDown|Event.MouseUp|Event.Blur|Event.KeyPress|Event.Move|Event.Click|Event.KeyUp|Event.Reset|Event.Change|Event.Load|Event.Resize|Event.DblClick|Event.MouseDown|Event.Select|Event.DragDrop|Event.MouseMove|Event.Submit|Event.Error|Event.MouseOut|Event.Unload|Event.Focus|Event.MouseOver);document.onmousedown=XYZxr;return 0;};
function XYZxck(a,b){if(!XYZxul&&!XYZxppa&&(XYZxro||XYZxqn||XYZxa||(b&&!XYZxnw(b)))){return 0;};XYZxgp(a);var l,s,c;for(var i=0;i<XYZxpmx.length;i++){l=0;s=XYZxsp(XYZxpmx[i],"*");for(var z=0;z<s.length;z++){c=XYZxn.indexOf(s[z],l);if(c==-1){l=0;break;};l=c;};if(l)return 0;};XYZxbn();if(XYZxrp){XYZxrpi5=XYZxrpi4;XYZxrpi4=XYZxrpi3;XYZxrpi3=XYZxrpi2;XYZxrpi2=XYZxrpi1;XYZxrpi1=new Image();var XYZxzn;XYZxtry("XYZxzn=document.referrer");XYZxrpi1.src="http://www.admuncher.com/cgi-bin/pr.pl?p="+escape(XYZxm)+"&s="+escape(document.location.href)+"&r="+escape(XYZxzn)+"&v=4.7.27105&l=1716";};return 1;};
function XYZxr(e){if((e&&e.which==1)||(typeof(window.event)!="undefined"&&window.event.button==1)){XYZxqn=XYZxqnbu=10;XYZxorgsti("XYZxqn=XYZxqnbu=0;",500);if(typeof(document.XYZxusedown)!="undefined"){if(typeof(document.XYZxusedown)=="function")return document.XYZxusedown(e);else return eval(document.XYZxusedown);};};if(typeof(document.XYZxusedown)!="undefined"){if(e||typeof(window.event)!="undefined"){if(typeof(document.XYZxusedown)=="function"){XYZxpp(0);var XYZxtn=document.XYZxusedown(e);XYZxpp(1);return XYZxtn;}else return eval("XYZxpp(1);"+document.XYZxusedown+";XYZxpp(0);");};if(typeof(document.XYZxusedown)=="function")return document.XYZxusedown(e);else return eval(document.XYZxusedown);};return true;};
function XYZxx(){XYZxtry('if(typeof(window.onload)=="undefined")window.onload=XYZxe;else{XYZxq=""+window.onload;if(!window.onload||!XYZxq||XYZxq.indexOf("XYZxe")!=-1)window.onload=XYZxe;};if(typeof(window.onunload)=="undefined")window.onunload=XYZxox;else{XYZxq=""+window.onunload;if(!window.onunload||!XYZxq||XYZxq.indexOf("XYZxox")!=-1)window.onunload=XYZxox;};if(typeof(window.onbeforeunload)=="undefined")window.onbeforeunload=XYZxobx;else{XYZxq=""+window.onbeforeunload;if(!window.onbeforeunload||!XYZxq||XYZxq.indexOf("XYZxobx")!=-1)window.onbeforeunload=XYZxobx;};if(typeof(window.onmousedown)=="undefined")XYZxmc();else{XYZxq=""+document.onmousedown;if(!window.onmousedown||!XYZxq||XYZxq.indexOf("XYZxr")!=-1){XYZxmc();};};');};
function XYZxgp(a){if(a){var XYZxckjs=/[A-Za-z]+:/;if(a.search(XYZxckjs)!=-1){if(a.substring(0,5).toLowerCase()!="http:"){XYZxm="(No URL)";XYZxn=a.toLowerCase()+" "+document.URL.toLowerCase();return;};};XYZxp="/admuncherpopcheck&"+Math.random()+"&"+document.URL;XYZxmi3=XYZxmi2;XYZxmi2=XYZxmi1;XYZxmi1=new Image();XYZxn=a;XYZxnn=XYZxn.indexOf("#");if(XYZxnn!=-1)XYZxn=XYZxn.substring(0,XYZxnn);XYZxmi1.src=XYZxn+XYZxp;XYZxnn=XYZxmi1.src.indexOf(XYZxp);if(XYZxnn!=-1)XYZxm=XYZxmi1.src.substring(0,XYZxnn);XYZxn=XYZxm.toLowerCase()+" "+document.URL.toLowerCase();}else{XYZxm="(No URL)";XYZxn=document.URL.toLowerCase();XYZxp="/admuncherpopchecknourl&"+Math.random();XYZxmi3=XYZxmi2;XYZxmi2=XYZxmi1;XYZxmi1=new Image();XYZxmi1.src=document.URL+XYZxp;};};
function XYZx(a,b,c,d){if(XYZxck(a,b))return XYZxfw(b);if(XYZxqn)XYZxqn-=1;if(!a)a="";if(typeof(c)=="string"){c=XYZxpl(c.toLowerCase()," ","");if(XYZxw){c=XYZxpl(c,"height=","xxx=");c=XYZxpl(c,"width=","xxx=");c=XYZxpl(c,"top=","xxx=");c=XYZxpl(c,"left=","xxx=");c=XYZxpl(c,"screenx=","xxx=");c=XYZxpl(c,"screeny=","xxx=");};if(XYZxy){c=XYZxpl(c,"location=","xxx=");c=XYZxpl(c,"toolbar=","xxx=");c=XYZxpl(c,"menubar=","xxx=");c=XYZxpl(c,"resizable=","xxx=");c=XYZxpl(c,"scrollbars=","xxx=");c=XYZxpl(c,"status=","xxx=");c=XYZxpl(c,"titlebar=","xxx=");c=XYZxpl(c,"fullscreen=","xxx=");c=XYZxpl(c,"directories=","xxx=");};};if(XYZxy){if(typeof(c)=="string")c+=",";else c="";c+="location,toolbar,menubar,resizable,scrollbars,status,titlebar,directories";};if(d)return XYZxorgo(a,b,c,d);else if(c)return XYZxorgo(a,b,c);else if(b)return XYZxorgo(a,b);else return XYZxorgo(a);};
function XYZxso(c,a){if(typeof(a)=="string"&&a.substring(0,11)=="javascript:"){a=a.substring(11,a.length);};if(typeof(XYZxsod[c])=="undefined"||!XYZxsod[c]){XYZxsod[c]=1;var x=new Array('quot22','amp26','lt3C','gt3E','nbspA0','iexclA1','centA2','poundA3','yenA5','brvbarA6','sectA7','umlA8','copyA9','ordfAA','laquoAB','notAC','shyAD','regAE','macrAF','degB0','plusmnB1','sup2B2','sup3B3','acuteB4','microB5','paraB6','middotB7','cedilB8','sup1B9','ordmBA','raquoBB','frac14BC','frac12BD','frac34BE','iquestBF','AgraveC0','AacuteC1','AcircC2','AtildeC3','AumlC4','AringC5','AEligC6','CcedilC7','EgraveC8','EacuteC9','EcircCA','EumlCB','IgraveCC','IacuteCD','IcircCE','IumlCF','ETHD0','NtildeD1','OgraveD2','OacuteD3','OcircD4','OtildeD5','OumlD6','timesD7','OslashD8','UgraveD9','UacuteDA','UcircDB','UumlDC','YacuteDD','THORNDE','szligDF','agraveE0','aacuteE1','acircE2','atildeE3','aumlE4','aringE5','aeligE6','ccedilE7','egraveE8','eacuteE9','ecircEA','eumlEB','igraveEC','iacuteED','icircEE','iumlEF','ethF0','ntildeF1','ograveF2','oacuteF3','ocircF4','otildeF5','oumlF6','divideF7','oslashF8','ugraveF9','uacuteFA','ucircFB','uumlFC','yacuteFD','thornFE','yumlFF');var l,m;for(var i=0;i<x.length;i++){if (typeof(x[i])=="string"){l=x[i].length;m="&"+x[i].substring(0,(l-2))+";";a=XYZxpl(a,m,unescape("%"+x[i].substring((l-2),l)));};};if(c==1)XYZxff=new Function(a);if(c==2)XYZxffad=new Function(a);if(c==3)XYZxffreunload=new Function(a);};};
function XYZxfw(b){var r=new Object();for(i in window)r[i]=window[i];var v=new Array("scrollBy","getSelection","scrollByLines","scrollByPages","sizeToContent","dump","setTimeout","setInterval","clearTimeout","clearInterval","setResizable","captureEvents","releaseEvents","routeEvent","enableExternalCapture","disableExternalCapture","prompt","open","openDialog","find","alert","confirm","focus","blur","back","forward","home","stop","print","moveTo","moveBy","resizeTo","resizeBy","scroll","close","show","updateCommands","escape","unescape","atob","btoa","addEventListener","removeEventListener","dispatchEvent","getComputedStyle");for(var i=0;i<v.length;i++)r[v[i]]=XYZn;v=new Array("captureEvents","close","open","releaseEvents","clear","writeln","getElementById","getElementsByName","elementFromPoint","createEvent","getSelection","write","createElement","createElementNS","createDocumentFragment","createTextNode","createComment","createAttribute","getElementsByTagName","importNode","attachEvent","detachEvent","hasAttributes","addEventListener","removeEventListener","dispatchEvent","contains","insertBefore","replaceChild","removeChild","appendChild","hasChildNodes","isSupported","normalize","cloneNode");r.document=new Object();for(var i=0;i<v.length;i++)r.document[v[i]]=XYZn;r.document.body=new Object();r.document.body.style=new Object();r.name=b;r.amwin="a";r.location=new Object(XYZxm);r.location.href=XYZxm;r.location.hash=window.location.hash;r.location.host=window.location.host;r.location.hostname=window.location.hostname;r.location.pathname=window.location.pathname;r.location.port=window.location.port;r.location.protocol=window.location.protocol;r.location.search=window.location.search;XYZxclct+=1;eval("XYZxpc["+XYZxclct+"]=r;XYZxorgsti(\"XYZxpc["+XYZxclct+"].closed=true;\",1500);");return r;};
if(typeof(self.XYZxinited)=="undefined"){
var XYZxinited=1;var XYZxa,XYZxb,XYZxc,XYZxd,XYZxi,XYZxir,XYZxk,XYZxm,XYZxmi1,XYZxmi2,XYZxmi3,XYZxn,XYZxnn,XYZxp,XYZxq,XYZxss,XYZxv,XYZxw,XYZxy,XYZxro,XYZxolp,XYZxqn,XYZxqnbu,XYZxplt,XYZxagt,XYZxtz,XYZxti,XYZxsa,XYZxeb,XYZxrp,XYZxrpi1,XYZxrpi2,XYZxrpi3,XYZxrpi4,XYZxrpi5,XYZxppa,XYZxffd,XYZxorgo,XYZxorgsin,XYZxorgsti,XYZxul,XYZxkou,XYZxffreunloadd,XYZxffadd,XYZxfcsr,XYZxfcsrz;var XYZx_ams_onload_i=0;var XYZx_ams_onload=new Array();var XYZx_ams_onunload_i=0;var XYZx_ams_onunload=new Array();var XYZxsod=new Array();for(var XYZxvin="";XYZxvin!="aaaaaaaaaaaaaaaaaaaa";XYZxvin+="a")eval("var AdMch"+XYZxvin+";");var XYZxclct=0;var XYZxpc=new Array();XYZxk=1;XYZxd=0;XYZxw=0;XYZxy=0;XYZxro=0;XYZxi="";XYZxtz=0;XYZxti=0;XYZxrp=0;XYZxkou=1;var XYZxpmx=new Array('.gov/funzone/','/apps/mediaplayer/','/home/loaded.php?room=','/online/popup.html?','/playradionow.jsp?','/portalcookiecheck.aspx?site=','/private.php?','/privmsg.php?','/public/logon.do','/radio/launchradio.','/reviews_viewer.php?object=','/site/olspage.jsp?id=','/spurl.php?v=','/video/partners/','/vspot/player.','/watch_fullscreen?','isapi.dll?picture','launch.yahoo.*/play/','music.yahoo.','skinbase.org/files/','webmessenger.msn.com');XYZxorgo=open;XYZxorgsti=setTimeout;XYZxorgsin=setInterval;XYZxx();if(XYZxk)XYZxtry("window.onerror=XYZxj;");var XYZxz;XYZxtry("XYZxz=document.referrer");if(!XYZxz){if(XYZxti){if(XYZxtz)XYZxz=location.protocol+"//"+location.host+"/";else XYZxz="http://www.admuncher.com/";};}else if(XYZxz.substring(0,7)=="http://"){XYZxsa=XYZxz;XYZxsa=XYZxsa.substring(7,1024);if(XYZxsa.indexOf("/")!=-1)XYZxsa=XYZxsa.substring(0,XYZxsa.indexOf("/"));if(XYZxsa!=location.host){if(XYZxtz)XYZxz=location.protocol+"//"+location.host+"/";else XYZxz="http://www.admuncher.com/";};};
};
// End Ad Muncher helper script
// ]]>

//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
	var version;
	var axo;
	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {
		// version will be set for 7.X or greater players
		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		version = axo.GetVariable("$version");
	} catch (e) {
	}

	if (!version)
	{
		try {
			// version will be set for 6.X players only
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
			
			// installed player is some revision of 6.0
			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
			// so we have to be careful. 
			
			// default to the first public version
			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)		
			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater
			version = axo.GetVariable("$version");

		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 4.X or 5.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = axo.GetVariable("$version");
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 3.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = "WIN 3,0,18,0";
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 2.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			version = "WIN 2,0,0,11";
		} catch (e) {
			version = -1;
		}
	}
	
	return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	var flashVer = -1;
	
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			var descArray = flashDescription.split(" ");
			var tempArrayMajor = descArray[2].split(".");			
			var versionMajor = tempArrayMajor[0];
			var versionMinor = tempArrayMajor[1];
			var versionRevision = descArray[3];
			if (versionRevision == "") {
				versionRevision = descArray[4];
			}
			if (versionRevision[0] == "d") {
				versionRevision = versionRevision.substring(1);
			} else if (versionRevision[0] == "r") {
				versionRevision = versionRevision.substring(1);
				if (versionRevision.indexOf("d") > 0) {
					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
				}
			}
			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	else if ( isIE && isWin && !isOpera ) {
		flashVer = ControlVersion();
	}	
	return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
	versionStr = GetSwfVer();
	if (versionStr == -1 ) {
		return false;
	} else if (versionStr != 0) {
		if(isIE && isWin && !isOpera) {
			// Given "WIN 2,0,0,11"
			tempArray         = versionStr.split(" "); 	// ["WIN", "2,0,0,11"]
			tempString        = tempArray[1];			// "2,0,0,11"
			versionArray      = tempString.split(",");	// ['2', '0', '0', '11']
		} else {
			versionArray      = versionStr.split(".");
		}
		var versionMajor      = versionArray[0];
		var versionMinor      = versionArray[1];
		var versionRevision   = versionArray[2];

        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
		if (versionMajor > parseFloat(reqMajorVer)) {
			return true;
		} else if (versionMajor == parseFloat(reqMajorVer)) {
			if (versionMinor > parseFloat(reqMinorVer))
				return true;
			else if (versionMinor == parseFloat(reqMinorVer)) {
				if (versionRevision >= parseFloat(reqRevision))
					return true;
			}
		}
		return false;
	}
}

function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '';
  if (isIE && isWin && !isOpera)
  {
    str += '<object ';
    for (var i in objAttrs)
    {
      str += i + '="' + objAttrs[i] + '" ';
    }
    str += '>';
    for (var i in params)
    {
      str += '<param name="' + i + '" value="' + params[i] + '" /> ';
    }
    str += '</object>';
  }
  else
  {
    str += '<embed ';
    for (var i in embedAttrs)
    {
      str += i + '="' + embedAttrs[i] + '" ';
    }
    str += '> </embed>';
  }

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblClick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
      case "id":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      