(function(w,u,t){function r(f,g){var e=(f[0]||0)-(g[0]||0);return e>0||!e&&f.length>0&&r(f.slice(1),g.slice(1))}function q(f){if(typeof f!=v){return f}var h=[],e="";for(var g in f){e=typeof f[g]==v?q(f[g]):[g,d?encodeURI(f[g]):f[g]].join("=");h.push(e)}return h.join("&")}function c(f){var g=[];for(var e in f){f[e]&&g.push([e,'="',f[e],'"'].join(""))}return g.join(" ")}function b(f){var g=[];for(var e in f){g.push([''].join(""))}return g.join("")}var v="object",d=!0;try{var s=t.description||function(){return(new t("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}()}catch(a){s="Unavailable"}var x=s.match(/\d+/g)||[0];w[u]={available:x[0]>0,activeX:t&&!t.name,version:{original:s,array:x,string:x.join("."),major:parseInt(x[0],10)||0,minor:parseInt(x[1],10)||0,release:parseInt(x[2],10)||0},hasVersion:function(e){e=/string|number/.test(typeof e)?e.toString().split("."):/object/.test(typeof e)?[e.major,e.minor]:e||[0,0];return r(x,e)},encodeParams:!0,expressInstall:"expressInstall.swf",expressInstallIsActive:!1,create:function(e){if(!e.swf||this.expressInstallIsActive||!this.available&&!e.hasVersionFail){return!1}if(!this.hasVersion(e.hasVersion||1)){this.expressInstallIsActive=!0;if(typeof e.hasVersionFail=="function"){if(!e.hasVersionFail.apply(e)){return!1}}e={swf:e.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:e.swf,type:"application/x-shockwave-flash",id:e.id||"flash_"+Math.floor(Math.random()*999999999),width:e.width||320,height:e.height||180,style:e.style||""};d=typeof e.useEncode!=="undefined"?e.useEncode:this.encodeParams;e.movie=e.swf;e.wmode=e.wmode||"opaque";delete e.fallback;delete e.hasVersion;delete e.hasVersionFail;delete e.height;delete e.id;delete e.swf;delete e.useEncode;delete e.width;var f=document.createElement("div");f.innerHTML=["",b(e),""].join("");return f.firstChild}};w.fn[u]=function(e){var f=this.find(v).andSelf().filter(v);/string|object/.test(typeof e)&&this.each(function(){var g=w(this),h;e=typeof e==v?e:{swf:e};e.fallback=this;if(h=w[u].create(e)){g.children().remove();g.html(h)}});typeof e=="function"&&f.each(function(){var g=this;g.jsInteractionTimeoutMs=g.jsInteractionTimeoutMs||0;if(g.jsInteractionTimeoutMs<660){g.clientWidth||g.clientHeight?e.call(g):setTimeout(function(){w(g)[u](e)},g.jsInteractionTimeoutMs+66)}});return f}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject)