(function(e,b){var c=function(g){var f,h=[];for(f in g){h.push(f+'="'+g[f]+'"')}return h.join("")},d=function(h){var f,j,i=[],g;for(f in h){if(typeof h[f]=="object"){g=[];for(j in h[f]){g.push([j,"=",encodeURIComponent(h[f][j])].join(""))}h[f]=g.join("&amp;")}i.push(['<param name="',f,'" value="',h[f],'" />'].join(""))}return i.join("")},a=false;e[b]=(function(){var f="0,0,0",g=navigator.plugins["Shockwave Flash"]||ActiveXObject;f=g.description||(function(){try{return(new g("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(h){}}());f=f.match(/^[A-Za-z\s]*?(\d+)[\.|,](\d+)(?:\s+r|,)(\d+)/);return{available:f[1]>0,activeX:!g.name,version:{major:f[1]*1,minor:f[2]*1,release:f[3]*1},hasVersion:function(i){var l=this.version,j="major",k="minor",h="release";i=(/string|number/.test(typeof i))?i.toString().split("."):i||[0,0,0];i=[i[j]||i[0]||l[j],i[k]||i[1]||l[k],i[h]||i[2]||l[h]];return(i[0]<l[j])||(i[0]==l[j]&&i[1]<l[k])||(i[0]==l[j]&&i[1]==l[k]&&i[2]<=l[h])},expressInstall:"expressInstall.swf",create:function(h){if(!e[b].available||a||!typeof h=="object"||!h.swf){return false}if(h.hasVersion&&!e[b].hasVersion(h.hasVersion)){h={swf:h.expressInstall||e[b].expressInstall,attrs:{id:"SWFObjectExprInst",height:Math.max(h.height||137),width:Math.max(h.width||214)},params:{flashvars:{MMredirectURL:location.href,MMplayerType:(e[b].activeX)?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}};a=true}else{h=e.extend(true,{attrs:{height:h.height||180,width:h.width||320},params:{wmode:h.wmode||"opaque",flashvars:h.flashvars}},h)}return"<object "+(c(h.attrs))+(e[b].activeX?' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="'+h.swf+'" />':' type="application/x-shockwave-flash" data="'+h.swf+'">')+(d(h.params))+"</object>"}}}());e.fn[b]=function(f){if(typeof f=="object"){this.each(function(){var g=document.createElement(b);g.innerHTML=e[b].create(f);if(g.childNodes[0]){this.appendChild(g.childNodes[0])}})}else{if(typeof f=="function"){this.find("object").andSelf().filter("object").each(function(){var h=this,g="jsInteractionTimeoutMs";h[g]=h[g]||0;if(h[g]<660){if(h.clientWidth||h.clientHeight){f.call(this)}else{setTimeout(function(){e(h)[b](f)},h[g]+66)}}})}}return this}}(jQuery,"flash"));
