/* PluginDetect v0.3.0 ( Flash Silverlight ) by Eric Gerds www.pinlady.net/PluginDetect */ if(!PluginDetect){var PluginDetect={minIEver:5.5,getNum:function(A){if(!A){return null}var m=/[\d][\d\.\_,-]*/.exec(A);return m?m[0].replace(/[\.\_-]/g,","):null},hasMimeType:function(_3){var s,t,z,M=_3.constructor==String?[_3]:_3;for(z=0;z<M.length;z++){s=navigator.mimeTypes[M[z]];if(s&&s.enabledPlugin){t=s.enabledPlugin;if(t.name||t.description){return s}}}return null},findNavPlugin:function(N,_6){var _7=N.constructor==String?N:N.join(".*"),numS=_6===false?"":"\\d";var i,re=new RegExp(_7+".*"+numS+"|"+numS+".*"+_7,"i");var _9=navigator.plugins;for(i=0;i<_9.length;i++){if(re.test(_9[i].description)||re.test(_9[i].name)){return _9[i]}}return null},getAXO:function(_a){var _b,e;try{_b=new ActiveXObject(_a);return _b}catch(e){}return null},num:function(A){return (typeof A!="string"?false:(/\d/).test(A))},compareNums:function(_d,_e){if(!this.num(_d)||!this.num(_e)){return 0}var m1=_d.split(","),m2=_e.split(","),x,p=parseInt;for(x=0;x<Math.min(m1.length,m2.length);x++){if(p(m1[x],10)>p(m2[x],10)){return 1}if(p(m1[x],10)<p(m2[x],10)){return -1}}return 0},formatNum:function(num){if(!this.num(num)){return null}var n=num.replace(/[\.\_]/g,","),i;n=n.split(",").concat(["0","0","0","0"]);return n.slice(0,4).join(",")},initScript:function(){var $=this,IE;$.isIE=(/*@cc_on!@*/false);$.IEver=-1;$.ActiveXEnabled=false;if($.isIE){IE=(/msie\s*\d\.{0,1}\d*/i).exec(navigator.userAgent);if(IE){$.IEver=parseFloat((/\d.{0,1}\d*/i).exec(IE[0]),10)}var _13,x;_13=["ShockwaveFlash.ShockwaveFlash","Msxml2.XMLHTTP","Microsoft.XMLDOM","Msxml2.DOMDocument","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];for(x=0;x<_13.length;x++){if($.getAXO(_13[x])){$.ActiveXEnabled=true;break}}}},init:function(_17){var $=this,IE,p;_17=_17.toLowerCase().replace(/\s/g,"");p=$.plugin=$[_17];if(!p){return -3}if(typeof p.minversion=="undefined"){p.minversion={}}if(typeof p.version=="undefined"){p.version=null}if(typeof p.installed=="undefined"){p.installed=null}$.garbage=false;if($.isIE&&!$.ActiveXEnabled){return -2}return 1},isMinVersion:function(_19,_1a){var $=PluginDetect,i=$.init(_19);if(i<0){return i}if(!$.num(_1a)){return -3}var p=$.plugin,m=p.minversion;_1a=$.formatNum(_1a);if(typeof m["a"+_1a]=="undefined"){if(p.installed==null&&typeof p.getCodeBaseVersion!="undefined"&&$.IEver>=p.minIEver){}else{if(p.installed==null){p.getVersion()}if(p.installed==-1){m["a"+_1a]=-1}else{if(p.version==null){m["a"+_1a]=0}else{m["a"+_1a]=($.compareNums(p.version,_1a)>=0?1:-1)}}}}$.cleanup();return m["a"+_1a];return -3},getVersion:function(_1e){return null},cleanup:function(){},isActiveXObject:function(_22){},detect:function(_24){},search:function(){},dummy1:0}}PluginDetect.initScript();PluginDetect.flash={mimeType:["application/x-shockwave-flash","application/futuresplash"],progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var _3e=function(A){if(!A){return null}var m=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(A);return m?m[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null};var p,$=PluginDetect,e,i,version=null,AXO=null,majV=null;if(!$.isIE){p=$.findNavPlugin("Flash");if(p&&p.description&&$.hasMimeType(this.mimeType)){version=_3e(p.description)}}else{for(i=15;i>2;i--){AXO=$.getAXO(this.progID+"."+i);if(AXO){majV=i.toString();break}}if(majV=="6"){try{AXO.AllowScriptAccess="always"}catch(e){return "6,0,21,0"}}try{version=_3e(AXO.GetVariable("$version"))}catch(e){}if(!version&&majV){version=majV}}this.installed=version?1:-1;this.version=$.formatNum(version)}};PluginDetect.instantiate=function(_43,_44,_45,_46){var e,d=document,tag1="<"+_43+" width=\"1\" height=\"1\" type=\""+_44+"\" "+_45+">"+_46+"</"+_43+">",body=(d.getElementsByTagName("body")[0]||d.body),div=d.createElement("div");if(body){body.appendChild(div)}else{try{d.write("<div>o</div><div>"+tag1+"</div>");body=(d.getElementsByTagName("body")[0]||d.body);body.removeChild(body.firstChild);div=body.firstChild}catch(e){try{body=d.createElement("body");d.getElementsByTagName("html")[0].appendChild(body);body.appendChild(div);div.innerHTML=tag1;return [div,body]}catch(e){}}return [div,div]}if(div&&div.parentNode){try{div.innerHTML=tag1}catch(e){}}return [div,div]};PluginDetect.silverlight={mimeType:"application/x-silverlight",progID:"AgControl.AgControl",digits:[9,20,9,12,31],getVersion:function(){var _4b=[1,0,1,1,1],$=PluginDetect,d=document,q;var _4c=null,div,obj=null,plugin;var _4d=[null,null];if(!$.isIE){q=(/rv\:(1\.[0-6]|0).*Gecko/).test(navigator.userAgent);plugin=$.findNavPlugin("Silverlight Plug-in",false);if(!q&&plugin&&$.hasMimeType(this.mimeType)){_4d=$.instantiate("object",this.mimeType,"data=\"data:\"","");if(_4d[0]){obj=_4d[0].firstChild}if(!obj||typeof obj.IsVersionSupported=="undefined"){_4c=$.formatNum(plugin.description);if(_4c){_4b=_4c.split(",");if(parseInt(_4b[2])>=30226&&parseInt(_4b[0])<2){_4b[0]="2"}_4c=_4b.join(",")}}}}else{obj=$.getAXO(this.progID)}var _4e=false,x,y,s,DD=function(a){return (a<10?"0":"")+a.toString()},t=function(x,y){var _52=(x==0?y:_4b[0])+"."+(x==1?y:_4b[1])+"."+(x==2?y:_4b[2])+DD(x==3?y:_4b[3])+DD(x==4?y:_4b[4])+".0",e;try{return obj.IsVersionSupported(_52)}catch(e){return false}};if(obj&&typeof obj.IsVersionSupported!="undefined"){for(x=0;x<this.digits.length;x++){s=_4b[x];for(y=s+(x==0?0:1);y<=this.digits[x];y++){if(t(x,y)){_4e=true;_4b[x]=y}else{break}}if(!_4e){break}}if(_4e){_4c=_4b[0]+","+_4b[1]+","+_4b[2]+DD(_4b[3])+DD(_4b[4])+",0"}}if(_4d[1]&&_4d[1].parentNode){_4d[1].parentNode.removeChild(_4d[1])}this.installed=_4e?1:-1;this.version=$.formatNum(_4c)}};
