(function(H,I,K){var F="object",D=true;function L(O,N){var M=(O[0]||0)-(N[0]||0);return M>0||(!M&&O.length>0&&L(O.slice(1),N.slice(1)))}function E(O){if(typeof O!=F){return O}var M=[],P="";for(var N in O){if(typeof O[N]==F){P=E(O[N])}else{P=[N,(D)?encodeURIComponent(O[N]):O[N]].join("=")}M.push(P)}return M.join("&")}function G(O){var M=[];for(var N in O){if(O[N]){M.push([N,'="',O[N],'"'].join(""))}}return M.join(" ")}function C(O){var M=[];for(var N in O){M.push(['<param name="',N,'" value="',E(O[N]),'" />'].join(""))}return M.join("")}try{var B=K.description||(function(){return(new K("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}())}catch(J){B="Unavailable"}var A=B.match(/\d+/g)||[0];H[I]={available:A[0]>0,activeX:K&&!K.name,version:{original:B,array:A,string:A.join("."),major:parseInt(A[0],10)||0,minor:parseInt(A[1],10)||0,release:parseInt(A[2],10)||0},hasVersion:function(M){var N=(/string|number/.test(typeof M))?M.toString().split("."):(/object/.test(typeof M))?[M.major,M.minor]:M||[0,0];return L(A,N)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(O){var M=this;if(!O.swf||M.expressInstallIsActive||(!M.available&&!O.hasVersionFail)){return false}if(!M.hasVersion(O.hasVersion||1)){M.expressInstallIsActive=true;if(typeof O.hasVersionFail=="function"){if(!O.hasVersionFail.apply(O)){return false}}O={swf:O.expressInstall||M.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:(M.activeX)?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:O.swf,type:"application/x-shockwave-flash",id:O.id||"flash_"+Math.floor(Math.random()*999999999),width:O.width||320,height:O.height||180,style:O.style||""};if(M.activeX){attrs.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"}D=typeof O.useEncode!=="undefined"?O.useEncode:M.encodeParams;O.movie=O.swf;O.wmode=O.wmode||"opaque";delete O.fallback;delete O.hasVersion;delete O.hasVersionFail;delete O.height;delete O.id;delete O.swf;delete O.useEncode;delete O.width;var N=document.createElement("div");N.innerHTML=["<object ",G(attrs),">",C(O),"</object>"].join("");return N.firstChild}};H.fn[I]=function(M){var N=this.find(F).andSelf().filter(F);if(/string|object/.test(typeof M)){this.each(function(){var P=H(this),O;M=(typeof M==F)?M:{swf:M};M.fallback=this;O=H[I].create(M);if(O){P.children().remove();P.html(O)}})}if(typeof M=="function"){N.each(function(){var O=this,P="jsInteractionTimeoutMs";O[P]=O[P]||0;if(O[P]<660){if(O.clientWidth||O.clientHeight){M.call(O)}else{setTimeout(function(){H(O)[I](M)},O[P]+66)}}})}return N}}(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject));

