(function(A){A.swfobject=function(){var X="undefined",Q="object",D="Shockwave Flash",e="ShockwaveFlash.ShockwaveFlash",V="application/x-shockwave-flash",J="SWFObjectExprInst",H=window,d=document,M=navigator,I=[],L=[],U=[],K=null,S=null,E=false,Z,T,F,b,a,R,G,Y,C,P,O,B,W,c,N;Z=function(){var k=typeof d.getElementById!==X&&typeof d.getElementsByTagName!==X&&typeof d.createElement!==X,q=[0,0,0],l=null;if(typeof M.plugins!==X&&typeof M.plugins[D]===Q){l=M.plugins[D].description;if(l&&!(typeof M.mimeTypes!==X&&M.mimeTypes[V]&&!M.mimeTypes[V].enabledPlugin)){l=l.replace(/^[\S|\s]*\s+(\S+\s+\S+$)/,"$1");q[0]=parseInt(l.replace(/^([\S|\s]*)\.[\S|\s]*$/,"$1"),10);q[1]=parseInt(l.replace(/^[\S|\s]*\.([\S|\s]*)\s[\S|\s]*$/,"$1"),10);q[2]=/r/.test(l)?parseInt(l.replace(/^[\S|\s]*r([\S|\s]*)$/,"$1"),10):0}}else{if(typeof H.ActiveXObject!==X){var m=null,n=false;try{m=new ActiveXObject(e+".7")}catch(j){try{m=new ActiveXObject(e+".6");q=[6,0,21];m.AllowScriptAccess="always"}catch(i){if(q[0]===6){n=true}}if(!n){try{m=new ActiveXObject(e)}catch(h){}}}if(!n&&m){try{l=m.GetVariable("$version");if(l){l=l.split(" ")[1].split(",");q=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)]}}catch(f){}}}}var o=M.userAgent.toLowerCase(),g=M.platform.toLowerCase();return{w3cdom:k,pv:q,webkit:jQuery.browser.safari?jQuery.browser.version:false,ie:jQuery.browser.msie,win:g?/win/.test(g):/win/.test(o),mac:g?/mac/.test(g):/mac/.test(o)}}();A(function(){var h=I.length;for(var f=0;f<h;f++){var j=I[f].id;if(Z.pv[0]>0){var g=A("#"+j);if(g.length){I[f].width=g.attr("width")?g.attr("width"):"0";I[f].height=g.attr("height")?g.attr("height"):"0";if(O(I[f].swfVersion)){if(Z.webkit&&Z.webkit<312){T(g[0])}W(j,true)}else{if(I[f].expressInstall&&!E&&O("6.0.65")&&(Z.win||Z.mac)){F(I[f])}else{b(g[0])}}}}else{W(j,true)}}});T=function(k){k=A(k);var g=k.find("object");if(g.length){var j=A("<embed />"),f=g[0].attributes;if(f){for(var h=0;h<f.length;h++){j.attr((f[h].nodeName==="DATA")?"src":f[h].nodeName,f[h].nodeValue)}}g.children().each(function(){if(this.nodeType===1&&this.nodeName==="PARAM"){j.attr(A(this).attr("name"),A(this).attr("value"))}});k.replaceWith(j)}};F=function(k){E=true;var i=A("#"+k.id);if(i.length){if(k.altContentId){var m=A("#"+k.altContentId)[0];if(m){K=m;S=k.altContentId}}else{K=a(i[0])}if(!/%$/.test(k.width)&&parseInt(k.width,10)<310){k.width="310"}if(!/%$/.test(k.height)&&parseInt(k.height,10)<137){k.height="137"}d.title=d.title.slice(0,47)+" - Flash Player Installation";var n=Z.ie&&Z.win?"ActiveX":"PlugIn",f=d.title,g="MMredirectURL="+H.location+"&MMplayerType="+n+"&MMdoctitle="+f,l=k.id;if(Z.ie&&Z.win&&i[0].readyState!==4){l+="SWFObjectNew";var h=A('<div id="'+l+'" />');i.before(h);i.css("display","none");var j=function(){i.remove()};P(H,"onload",j)}R({data:k.expressInstall,id:J,width:k.width,height:k.height},{flashvars:g},l)}};b=function(h){h=A(h);if(Z.ie&&Z.win&&h[0].readyState!==4){var g=A("<div/>");h.before(g);g.replaceWith(A(a(h[0])));h.css("display","none");var f=function(){h.remove()};P(H,"onload",f)}else{h.replaceWith(A(a(h[0])))}};a=function(g){g=A(g);var f=A("<div />");if(Z.win&&Z.ie){f.html(g.html())}else{g.find("object").children().each(function(){if(!(this.nodeType===1&&this.nodeName==="PARAM")&&!(this.nodeType===8)){A(this.cloneNode(true)).appendTo(f)}})}return f[0]};R=function(AB,z,g){var f,p=A("#"+g);if(p.length){if(typeof AB.id===X){AB.id=g}if(Z.ie&&Z.win){var AA="";for(var w in AB){if(AB[w]!==Object.prototype[w]){if(w.toLowerCase()==="data"){z.movie=AB[w]}else{if(w.toLowerCase()==="styleclass"){AA+=' class="'+AB[w]+'"'}else{if(w.toLowerCase()!=="classid"){AA+=" "+w+'="'+AB[w]+'"'}}}}}var y="";for(var v in z){if(z[v]!==Object.prototype[v]){y+='<param name="'+v+'" value="'+z[v]+'" />'}}p[0].outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AA+">"+y+"</object>";L[L.length]=AB.id;f=A("#"+AB.id)[0]}else{if(Z.webkit&&Z.webkit<312){var x=A('<embed type="'+V+'" />');for(var u in AB){if(AB[u]!==Object.prototype[u]){if(u.toLowerCase()==="data"){x.attr("src",AB[u])}else{if(u.toLowerCase()==="styleclass"){x.attr("class",AB[u])}else{if(u.toLowerCase()!=="classid"){x.attr(u,AB[u])}}}}}for(var t in z){if(z[t]!==Object.prototype[t]){if(t.toLowerCase()!=="movie"){x.attr(t,z[t])}}}p.replaceWith(x);f=x[0]}else{var h=A('<object type="'+V+'" />');for(var s in AB){if(AB[s]!==Object.prototype[s]){if(s.toLowerCase()==="styleclass"){h.attr("class",AB[s])}else{if(s.toLowerCase()!=="classid"){h.attr(s,AB[s])}}}}for(var q in z){if(z[q]!==Object.prototype[q]&&q.toLowerCase()!=="movie"){G(h[0],q,z[q])}}p.replaceWith(h);f=h[0]}}}return f};G=function(h,f,g){A(h).append(A('<param name="'+f+'" value="'+g+'" />'))};Y=function(g){var f=A("#"+g);if(f&&(f[0].nodeName==="OBJECT"||f[0].nodeName==="EMBED")){if(Z.ie&&Z.win){if(f[0].readyState===4){C(g)}else{H.attachEvent("onload",function(){C(g)})}}else{f.remove()}}};C=function(h){var g=A("#"+h);if(g.length){for(var f in g[0]){if(typeof g[0][f]==="function"){g[0][f]=null}}g.remove()}};P=function(h,f,g){h.attachEvent(f,g);U[U.length]=[h,f,g]};O=function(h){var g=Z.pv,f=h.split(".");f[0]=parseInt(f[0],10);f[1]=parseInt(f[1],10)||0;f[2]=parseInt(f[2],10)||0;return(g[0]>f[0]||(g[0]===f[0]&&g[1]>f[1])||(g[0]===f[0]&&g[1]===f[1]&&g[2]>=f[2]))?true:false};B=function(k,g){if(Z.ie&&Z.mac){return }var j=A("head"),i=A('<style media="screen" type="text/css" />');if(!(Z.ie&&Z.win)&&typeof d.createTextNode!==X){A(d.createTextNode(k+" {"+g+"}")).appendTo(i)}i.appendTo(j);if(Z.ie&&Z.win&&typeof d.styleSheets!==X&&d.styleSheets.length>0){var f=d.styleSheets[d.styleSheets.length-1];if(typeof f.addRule===Q){f.addRule(k,g)}}};W=function(i,f){var g=f?"visible":"hidden",h=A("#"+i);if(h.length){A(function(){h.css("visibility",g)})}else{B("#"+i,"visibility: "+g)}};c=function(g){var h=/[\\\"<>\.;]/;var f=h.exec(g)!==null;return f?encodeURIComponent(g):g};N=function(){if(Z.ie&&Z.win){window.attachEvent("onunload",function(){var o=U.length;for(var n=0;n<o;n++){U[n][0].detachEvent(U[n][1],U[n][2])}var h=L.length;for(var m=0;m<h;m++){Y(L[m])}for(var g in Z){Z[g]=null}Z=null;for(var f in jQuery.swfobject){jQuery.swfobject[f]=null}jQuery.swfobject=null})}}();return{registerObject:function(i,f,h){if(!Z.w3cdom||!i||!f){return }var g={};g.id=i;g.swfVersion=f;g.expressInstall=h?h:false;I[I.length]=g;W(i,false)},getObjectById:function(i){var f=null;if(Z.w3cdom){var g=A("#"+i);if(g.length){var h=g.find(Q)[0];if(!h||(h&&typeof g.SetVariable!==X)){f=g[0]}else{if(typeof h.SetVariable!==X){f=h}}}}return f},createCSS:function(g,f){if(Z.w3cdom){B(g,f)}},createSWF:function(h,g,f){if(Z.w3cdom){return R(h,g,f)}else{return undefined}},embedSWF:function(o,v,s,u,f,n,g,q,t){if(!Z.w3cdom||!o||!v||!s||!u||!f){return }s+="";u+="";if(O(f)){W(v,false);var r={};if(t&&typeof t===Q){for(var m in t){if(t[m]!==Object.prototype[m]){r[m]=t[m]}}}r.data=o;r.width=s;r.height=u;var p={};if(q&&typeof q===Q){for(var l in q){if(q[l]!==Object.prototype[l]){p[l]=q[l]}}}if(g&&typeof g===Q){for(var h in g){if(g[h]!==Object.prototype[h]){if(typeof p.flashvars!==X){p.flashvars+="&"+h+"="+g[h]}else{p.flashvars=h+"="+g[h]}}}}A(function(){R(r,p,v);if(r.id===v){W(v,true)}})}else{if(n&&!E&&O("6.0.65")&&(Z.win||Z.mac)){E=true;W(v,false);A(function(){var i={};i.id=i.altContentId=v;i.width=s;i.height=u;i.expressInstall=n;F(i)})}}},expressInstallCallback:function(){if(E&&K){var f=A("#"+J);if(f.length){f.replaceWith(A(K));if(S){W(S,true);if(Z.ie&&Z.win){A(K).css("display","block")}}K=null;S=null;E=false}}},getFlashPlayerVersion:function(){return{major:Z.pv[0],minor:Z.pv[1],release:Z.pv[2]}},getQueryParamValue:function(j){var h=d.location.search||d.location.hash;if(j===null){return c(h)}if(h){var g=h.substring(1).split("&");for(var f=0;f<g.length;f++){if(g[f].substring(0,g[f].indexOf("="))===j){return c(g[f].substring((g[f].indexOf("=")+1)))}}}return""},hasFlashPlayerVersion:O,removeSWF:function(f){if(Z.w3cdom){Y(f)}}}}()})(jQuery);