(function(I){var G=document,J="object",H=window,F="";I.flashPlayerVersion=(function(){var E,O,B,C,P=false,A="ShockwaveFlash.ShockwaveFlash";if(!(E=navigator.plugins["Shockwave Flash"])){try{O=new ActiveXObject(A+".7")}catch(B){try{O=new ActiveXObject(A+".6");E=[6,0,21];O.AllowScriptAccess="always"}catch(C){if(E&&E[0]===6){P=true}}if(!P){try{O=new ActiveXObject(A)}catch(D){E="X 0,0,0"}}}if(!P&&O){try{E=O.GetVariable("$version")}catch(N){}}}else{E=E.description}E=E.match(/^[A-Za-z\s]*?(\d+)(\.|,)(\d+)(\s+r|,)(\d+)/);return[E[1]*1,E[3]*1,E[5]*1]}());I.flashExpressInstaller="expressInstall.swf";I.hasFlashPlayer=(I.flashPlayerVersion[0]!==0);I.hasFlashPlayerVersion=function(A){var B=I.flashPlayerVersion;A=(/string|number/.test(typeof A))?A.toString().split("."):A;A=[A.major||A[0]||B[0],A.minor||A[1]||B[1],A.release||A[2]||B[2]];return(I.hasFlashPlayer&&(A[0]>B[0]||(A[0]===B[0]&&(A[1]>B[1]||(A[1]===B[1]&&A[2]>=B[2])))))};I.flash=function(A){if(!I.hasFlashPlayer){return false}var W=A.swf||F,C=A.params||{},U=G.createElement("body"),X,B,R,V,D,E,S,T;A.height=A.height||180;A.width=A.width||320;if(A.hasVersion&&!I.hasFlashPlayerVersion(A.hasVersion)){I.extend(A,{id:"SWFObjectExprInst",height:Math.max(A.height,137),width:Math.max(A.width,214)});W=A.expressInstaller||I.flashExpressInstaller;C={flashvars:{MMredirectURL:location.href,MMplayerType:(I.browser.msie&&I.browser.win)?"ActiveX":"PlugIn",MMdoctitle:G.title.slice(0,47)+" - Flash Player Installation"}}}if(typeof C===J){if(A.flashvars){C.flashvars=A.flashvars}if(A.wmode){C.wmode=A.wmode}}for(D in (E=["expressInstall","flashvars","hasVersion","params","swf","wmode"])){delete A[E[D]]}X=[];for(D in A){if(typeof A[D]===J){B=[];for(E in A[D]){B.push(E.replace(/([A-Z])/,"-$1").toLowerCase()+":"+A[D][E]+";")}A[D]=B.join(F)}X.push(D+'="'+A[D]+'"')}A=X.join(" ");if(typeof C===J){X=[];for(D in C){if(typeof C[D]===J){B=[];for(E in C[D]){if(typeof C[D][E]===J){R=[];for(S in C[D][E]){if(typeof C[D][E][S]===J){V=[];for(T in C[D][E][S]){V.push([T.replace(/([A-Z])/,"-$1").toLowerCase(),":",C[D][E][S][T],";"].join(F))}C[D][E][S]=V.join(F)}R.push([S,"{",C[D][E][S],"}"].join(F))}C[D][E]=R.join(F)}B.push([E,"=",H.escape(C[D][E])].join(F))}C[D]=B.join("&amp;")}X.push(['<PARAM NAME="',D,'" VALUE="',C[D],'">'].join(F))}C=X.join(F)}if(!(/style=/.test(A))){A+=' style="vertical-align:text-top;"'}if(!(/style=(.*?)vertical-align/.test(A))){A=A.replace(/style="/,'style="vertical-align:text-top;')}if(I.browser.msie){A+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';C='<PARAM NAME="movie" VALUE="'+W+'">'+C}else{A+=' type="application/x-shockwave-flash" data="'+W+'"'}U.innerHTML=["<OBJECT ",A,">",C,"</OBJECT>"].join(F);return I(U.firstChild)};I.fn.flash=function(B){if(!I.hasFlashPlayer){return this}var C=0,A;while((A=this.eq(C++))[0]){A.html(I.flash(I.extend({},B)));if(G.getElementById("SWFObjectExprInst")){C=this.length}}return this}}(jQuery));