(function(i,j,l){var g="object",d=true;function m(o,n){var e=(o[0]||0)-(n[0]||0);return e>0||(!e&&o.length>0&&m(o.slice(1),n.slice(1)))}function f(o){if(typeof o!=g){return o}var e=[],p="";for(var n in o){if(typeof o[n]==g){p=f(o[n])}else{p=[n,(d)?encodeURI(o[n]):o[n]].join("=")}e.push(p)}return e.join("&")}function h(o){var e=[];for(var n in o){if(o[n]){e.push([n,'="',o[n],'"'].join(""))}}return e.join(" ")}function c(o){var e=[];for(var n in o){e.push([''].join(""))}return e.join("")}try{var b=l.description||(function(){return(new l("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}())}catch(k){b="Unavailable"}var a=b.match(/\d+/g)||[0];i[j]={available:a[0]>0,activeX:l&&!l.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(e){var n=(/string|number/.test(typeof e))?e.toString().split("."):(/object/.test(typeof e))?[e.major,e.minor]:e||[0,0];return m(a,n)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(o){var e=this;if(!o.swf||e.expressInstallIsActive||(!e.available&&!o.hasVersionFail)){return false}if(!e.hasVersion(o.hasVersion||1)){e.expressInstallIsActive=true;if(typeof o.hasVersionFail=="function"){if(!o.hasVersionFail.apply(o)){return false}}o={swf:o.expressInstall||e.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:(e.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||""};d=typeof o.useEncode!=="undefined"?o.useEncode:e.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=[""].join("");return n.firstChild}};i.fn[j]=function(e){var n=this.find(g).andSelf().filter(g);if(/string|object/.test(typeof e)){this.each(function(){var p=i(this),o;e=(typeof e==g)?e:{swf:e};e.fallback=this;o=i[j].create(e);if(o){p.children().remove();p.html(o)}})}if(typeof e=="function"){n.each(function(){var o=this,p="jsInteractionTimeoutMs";o[p]=o[p]||0;if(o[p]<660){if(o.clientWidth||o.clientHeight){e.call(o)}else{setTimeout(function(){i(o)[j](e)},o[p]+66)}}})}return n}}(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject));