YUI.add("swfdetect",function(e,a){var i,r,s=0,n=e.UA,t=e.Lang,l="ShockwaveFlash";function c(e){return parseInt(e,10)}function o(e){t.isNumber(c(e[0]))&&(n.flashMajor=e[0]),t.isNumber(c(e[1]))&&(n.flashMinor=e[1]),t.isNumber(c(e[2]))&&(n.flashRev=e[2])}if(n.gecko||n.webkit||n.opera)(i=navigator.mimeTypes["application/x-shockwave-flash"])&&(i=i.enabledPlugin)&&o(i.description.replace(/\s[rd]/g,".").replace(/[A-Za-z\s]+/g,"").split("."));else if(n.ie){try{(r=new ActiveXObject(l+"."+l+".6")).AllowScriptAccess="always"}catch(f){null!==r&&(s=6)}if(0===s)try{o(new ActiveXObject(l+"."+l).GetVariable("$version").replace(/[A-Za-z\s]+/g,"").split(","))}catch(h){}}e.SWFDetect={getFlashVersion:function(){return String(n.flashMajor)+"."+String(n.flashMinor)+"."+String(n.flashRev)},isFlashVersionAtLeast:function(e,a,i){var r=c(n.flashMajor),s=c(n.flashMinor),t=c(n.flashRev);return e=c(e||0),a=c(a||0),i=c(i||0),e===r?a===s?i<=t:a<s:e<r}}},"patched-v3.18.7",{requires:["yui-base"]});