var EnableFullAuto=false;var SWFFormFixDebug=false;var NotLoadedWarning=false;var NotLoadedMsg="Please wait for the page to load...";finished=false;timeout=10;starttime=new Date().getTime();flashObjectList=Array();fixedList=Array();makeFuncArr=Array();SWFFormFixAuto2=function(){if(navigator.appName.toLowerCase()!="microsoft internet explorer"){return true}var F=document.getElementsByTagName("object");for(var D=0;D<F.length;D++){var E=F[D];if(E.getAttribute("type")=="application/x-shockwave-flash"){var H=E.getAttribute("id");var C=false;for(var G=0;G<fixedList.length;G++){if(fixedList[D]==H){C=true}}if(!C){var B="";for(var A in window[H]){if(A!="SetReturnValue"&&typeof (window[H][A])=="function"){makeFuncArr.push(Array(E,A));E[A]=function(){if(NotLoadedWarning){alert(NotLoadedMsg)}return("")}}}window[H]=E;if(SWFFormFixDebug){alert("Fixed: "+H)}}}}if(!finished){setTimeout("SWFFormFixAuto2()",100)}else{for(var D=0;D<makeFuncArr.length;D++){SWFFormFix_rebuildExtFunc(makeFuncArr[D][0],makeFuncArr[D][1])}}return true};SWFFormFix_rebuildExtFunc=function(_9,_a){eval('obj[functionName] = function(){return eval(this.CallFunction("<invoke name=\\"'+_a+'\\" returntype=\\"javascript\\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));}');if(SWFFormFixDebug){alert("Rebuilt ExternalInterface() function: "+_a)}};SWFFormFixOnloadAppend=function(){var A=window.onload;if(typeof window.onload!="function"){window.onload=function(){finished=true}}else{window.onload=function(){A();finished=true}}};SWFFormFixAuto=function(){if(navigator.appName.toLowerCase()!="microsoft internet explorer"){return true}var B=document.getElementsByTagName("object");if(B.length==0){return true}for(i=0;i<B.length;i++){if(B[i].type=="application/x-shockwave-flash"){window[B[i].id]=B[i]}}var A="";return true};function noCacheIE(A){var E=navigator.appName.indexOf("Microsoft")!=-1;if(!E){return(A)}var D="?";if(A.indexOf("?")!=-1){D="&"}var B=new Date();var C=Math.random().toString().substring(2,4);D=A+D+"noCacheIE="+C+"-"+B.getTime().toString();return(D)}if(EnableFullAuto){SWFFormFixAuto2();SWFFormFixOnloadAppend()}function getAllChildren(A){return A.all?A.all:A.getElementsByTagName("*")}function checkToken(C,B,A){if(C==""){return true}else{if(C==">"){A=A.firstChild;while(A){if(A==B){return true}A=A.nextSibling}}else{if(C=="first-child"){A=A.firstChild;while(A.nodeName=="#text"){if(A.firstChild){A=A.firstChild}else{A=A.nextSibling}}if(A==B){return true}}else{if(C=="a"){if(B.nodeName=="A"){return true}}else{if(C=="+"){A=A.nextSibling;while(A){if(A==B){return true}A=A.nextSibling}}else{if(C.length>0){if(B.getAttribute(C[1])){if(C[2]==""&&B.getAttribute(C[1])==C[3]){return true}else{if((C[2]=="~"||C[2]=="|")&&B.getAttribute(C[1]).indexOf(C[3])>-1){return true}}}}}}}}}return false}getElementsBySelector=document.getElementsBySelector=function(I){if(!document.getElementsByTagName||typeof (I)!="string"){return Array()}var N=new Array();var P=I.split(",");for(var M=0;M<P.length;M++){var I=P[M].replace(/^\s+/,"").replace(/\s+$/,"");var O=I.split(" ");var E=new Array(this);var C="";for(var K=0;K<O.length;K++){var H=O[K].replace(/^\s+/,"").replace(/\s+$/,"");if(H.indexOf(">")>-1){C=">";continue}else{if(H.indexOf(":first-child")>-1){C="first-child";H=H.replace(/:first-child/g,"")}else{if(H.indexOf(":link")>-1){C="a";H=H.replace(":link","")}else{if(H.indexOf("+")>-1){C="+";continue}else{if(H.match(/^([a-zA-Z*]+)\[([a-zA-Z]+)([~\|]?)=.([^\]"]*).\]$/)){parts=H.match(/^([a-zA-Z*]+)\[([a-zA-Z]+)([~\|]?)=.([^\]"]*).\]$/);C=new Array("attribute",parts[2],parts[3],parts[4]);H=parts[1]}}}}}H=H.replace(":visited","").replace(":active","").replace(":hover","").replace(":focus","");if(H.indexOf("#")>-1){var F=H.split("#");if(F[1]==""){return Array()}if(F[0]==""){F[0]="*"}var D=new Array();for(var J=0;J<E.length;J++){if(C!="+"){var L=E[J].getElementById(F[1])}else{var L=E[J].parentNode.getElementById(F[1])}if(L&&L.nodeName&&(F[0]=="*"||L.nodeName.toLowerCase()==F[0].toLowerCase())){if(checkToken(C,L,E[J])){D[D.length]=L}}}E=D;continue}if(H.indexOf(".")>-1){var F=H.split(".");if(F[1]==""){return Array()}if(F[0]==""){F[0]="*"}var D=new Array();for(var J=0;J<E.length;J++){if(F[0]=="*"){if(C!="+"){var B=getAllChildren(E[J])}else{var B=getAllChildren(E[J].parentNode)}}else{if(C!="+"){var B=E[J].getElementsByTagName(F[0])}else{var B=E[J].parentNode.getElementsByTagName(F[0])}}for(var G=0;G<B.length;G++){if(B[G].className&&B[G].className.match(new RegExp("\\b"+F[1]+"\\b"))){if(checkToken(C,B[G],E[J])){D[D.length]=B[G]}}}}E=D;continue}var D=new Array();for(var J=0;J<E.length;J++){if(H=="*"){if(C!="+"){var B=getAllChildren(E[J])}else{if(C=="+"){var B=getAllChildren(E[J].parentNode)}}}else{if(C!="+"){var B=E[J].getElementsByTagName(H)}else{var B=E[J].parentNode.getElementsByTagName(H)}}for(var G=0;G<B.length;G++){if(checkToken(C,B[G],E[J])){D[D.length]=B[G]}}}E=D;C=""}N=E}var A=new Array();for(M=0;M<N.length;M++){for(K=0;K<N.length;K++){if(N[M]==N[K]&&M!=K){N[K]=""}}if(N[M]!=""){A[A.length]=N[M]}}return A};function swfirController(){this.swfirs=new Array();this.addswfir=function(A){var B=this.swfirs.length;this.swfirs[B]=A;return B};this.getswfirs=function(){return this.swfirs};this.getNextId=function(){return this.swfirs.length};this.resize=function(C,B,A){if(this.swfirs[C].elasticityWidth==false){this.swfirs[C].setAttribute("width",B);this.swfirs[C].style.width=B+"px"}this.swfirs[C].setAttribute("height",A);this.swfirs[C].style.height=A+"px"}}var firController=new swfirController();function swfir(){this.name="swfir";this.version="1.1.1";this.debug=false;this.params=new Array();this.background="";this.src="swfir.swf";this.wmode="transparent";this.elasticityWidth=false;this.specify=function(B,C){if(B=="debug"){if(C==true||C=="true"){this.debug=true}else{this.debug=false}return }if(B=="wmode"){this.wmode=C}if(B=="background-color"){this.background=this.cleanColor(C);return }if(B=="border-color"||B=="shadow-color"){C=this.cleanColor(C,"flash")}if(B=="shadow-blur"){this.params["shadowBlurX"]=C;this.params["shadowBlurY"]=C;acceptableFound=true}if(B=="border-radius"||B=="border-width"||B=="border-alpha"||B=="shadow-blur-x"||B=="shadow-blur-y"){C=parseFloat(C);if((C==NaN||C=="NaN")&&this.debug==true){this.error("'"+B+"' must be a number.  Please make sure in your source there are no quotes (\") around the number.")}}if(B=="rotate"&&Number(C)<0){C=360+Number(C)}if(B=="src"){this.src=C;return }if(B=="elasticity"){if(parseFloat(C)){this.elasticityWidth=C}else{var A=document.createElement("div");A.style.position="absolute";A.style.left="-10em";A.style.width="1em";A.style.height="1em";document.body.appendChild(A);this.elasticityWidth=A.offsetHeight;A.parentNode.removeChild(A)}return }var D=new Array();D["border-radius"]="borderRadius";D["border-width"]="borderWidth";D["border-color"]="borderColor";D["shadow-offset"]="shadowOffset";D["shadow-angle"]="shadowAngle";D["shadow-alpha"]="shadowAlpha";D["shadow-blur-x"]="shadowBlurX";D["shadow-blur-y"]="shadowBlurY";D["shadow-strength"]="shadowStrength";D["shadow-color"]="shadowColor";D["shadow-quality"]="shadowQuality";D["shadow-inner"]="shadowInner";D["shadow-knockout"]="shadowKnockout";D["shadow-hide"]="shadowHide";D["rotate"]="rotate";D["overflow"]="overflow";D["link"]="link";this.params[D[B]]=C};this.swap=function(I){if(typeof (I).toLowerCase()=="string"){var B=document.getElementsBySelector(I)}else{if(I.nodeName){var B=[I]}else{if(I.length!=0){var B=I}}}if(this.hasImg(B)==false){var B=document.getElementsBySelector(I+" img");if(this.hasImg(B)==false&&this.debug==true){this.error("No images were selected with the selector '"+I+"'");return }}for(var J=0;J<B.length;J++){var E="";var K="";var C="";var F="";var N="";var O="";var A=this.src;var H="";if(B[J].getAttribute("id")){E=B[J].getAttribute("id")}if(B[J].className!=""){K=B[J].className+" swfir"}else{K="swfir"}if(this.background!=""){O=this.background}if(B[J].getAttribute("style")){if(B[J].style.cssText&&B[J].style.cssText!=""){C+=B[J].style.cssText+";"}else{if(typeof B[J].getAttribute("style")=="string"){C+=B[J].getAttribute("style")}}}F=B[J].width;N=B[J].height;if(this.elasticityWidth!=false){if(C!=""){C+=" "}C+="width:"+(F/this.elasticityWidth)+"em;"}else{if(B[J].getAttribute("width",2)){if(C!=""){C+=" "}C+="width:"+B[J].getAttribute("width",2)+";"}if(B[J].getAttribute("height",2)){if(C!=""){C+=" "}C+="height:"+B[J].getAttribute("height",2)+";"}}this.params["srcWidth"]=F;this.params["srcHeight"]=N;var D="";for(var M in this.params){if(typeof this.params[M]!="function"){D+=("&"+M+"="+this.params[M])}}if((elementLink=this.withinLink(B[J]))!=false&&!this.params["link"]){D+="&link="+elementLink.href.replace(/\?/g,"%3F").replace(/&/g,"%26")}H="url="+B[J].src+D+"&swfirId="+firController.getNextId();var L=document.createElement("span");if(E){L.setAttribute("id",E)}if(K){L.className=K}B[J].parentNode.insertBefore(L,B[J]);L.appendChild(B[J].parentNode.removeChild(B[J]));window["swfir"+firController.getNextId()]=new Object();window["swfir"+firController.getNextId()].SetReturnValue=function(P){};var G=new SWFObject(this.src,"swfir"+firController.getNextId(),F,N,"6",this.bgcolor);if(C!=""){G.setAttribute("style",C)}G.addParam("flashvars",H);G.addParam("menu","false");G.addParam("wmode",this.wmode);G.write(L);firController.addswfir(L.firstChild)}};this.cleanColor=function(A,B){A=A.replace(/^0x/,"");A=A.replace(/^#/,"");if(A.length=="3"){A=A.substring(0,1)+A.substring(0,1)+A.substring(1,2)+A.substring(1,2)+A.substring(2,3)+A.substring(2,3)}if(B=="flash"){A="0x"+A}else{A="#"+A}return A};this.hasImg=function(B){for(var A=0;A<B.length;A++){if(B[A].nodeName=="IMG"){return true}}return false};this.withinLink=function(A){while(A.nodeName!="A"){if(A.parentNode){A=A.parentNode}else{return false}}return A};this.error=function(A){alert(this.name+" "+this.version+" Error\n\n"+A)}}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return }this.DETECT_KEY=J?J:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(K){this.setAttribute("swf",K)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(I){this.addParam("bgcolor",I)}var A=F?F:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(E)?E:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(C){this.setAttribute("redirectUrl",C)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C[C.length]=B+"="+A[B]}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}B='<object id="'+this.getAttribute("id")+'" type="application/x-shockwave-flash" data="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){E=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=1;var C=3;while(B){try{C++;B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);E=new deconcept.PlayerVersion([C,0,0])}catch(D){B=null}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");E=new deconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(D){if(E.major==6){return E}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}}return E};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(C==null){return D}if(D){var B=D.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");for(var C=B.length-1;C>=0;C--){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject