/* PluginDetect v0.4.0 ( DevalVR ) 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 x,n=num.replace(/[\.\_]/g,",").split(",").concat(["0","0","0","0"]);for(x=0;x<4;x++){n[x]=parseInt(n[x],10)}return n[0]+","+n[1]+","+n[2]+","+n[3]},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}}};if($.ActiveXEnabled&&$.IEver>=$.minIEver){$.head=typeof document.getElementsByTagName!="undefined"?document.getElementsByTagName("head")[0]:null;var T=document.createElement("script");T["type"]="text/vbscript";var Y=["<!"+"--","function PluginDetect1(c)","on error resume next","PluginDetect1=false","dim head, r","set head=PluginDetect.head","set r=head.firstChild","if TypeName(r)=\"HTMLObjectElement\" then","r.classid=c","if not TypeName(r.object) = \"Nothing\" then","PluginDetect1=true","if r.readyState<4 then","head.removeChild(r)","end if","else head.removeChild(r)","end if","end if","r=\"Nothing\"","head=\"Nothing\"","end function","--"+">"];T["text"]=Y.join("\n");if($.head.firstChild){$.head.insertBefore(T,$.head.firstChild)}else{$.head.appendChild(T)}$.vbscript=false;var e;$.head.insertBefore(document.createElement("object"),$.head.firstChild);try{if(PluginDetect1("")===false){$.vbscript=true}}catch(e){}}},init:function(_17){if(typeof _17!="string"){return -3}_17=_17.toLowerCase().replace(/\s/g,"");var $=this,IE,p;if(typeof $[_17]=="undefined"){return -3}p=$[_17];$.plugin=p;if(typeof p.installed=="undefined"){p.minversion={};p.installed=null;p.version=null;p.getVersionDone=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(typeof _1a=="undefined"||_1a==null){_1a="0"}if(typeof _1a=="number"){_1a=_1a.toString()}if(!$.num(_1a)){return -3}_1a=$.formatNum(_1a);var p=$.plugin,m=p.minversion;if(typeof m["a"+_1a]=="undefined"){if(p.getVersionDone==null&&typeof p.isMinVersion!="undefined"&&$.IEver>=p.minIEver){var tmp,x;for(x in m){tmp=$.compareNums(_1a,x.substring(1,x.length));if(m[x]==1&&tmp<=0){return 1}if(m[x]==-1&&tmp>=0){return -1}}m["a"+_1a]=p.isMinVersion(_1a)?1:-1;if(p.version!=null||p.installed==-1||p.installed==1){p.getVersionDone=1}}else{if(p.getVersionDone==null){p.getVersion(_1a)}if(p.version!=null||p.installed!=null){p.getVersionDone=1;m["a"+_1a]=(p.installed==-1?-1:(p.version==null?0:($.compareNums(p.version,_1a)>=0?1:-1)))}else{m["a"+_1a]=-1}}}$.cleanup();return m["a"+_1a];return -3},getVersion:function(_1e){var $=PluginDetect,i=$.init(_1e);if(i<0){return null}var p=$.plugin;if(p.getVersionDone==null){p.getVersion();p.getVersionDone=1}$.cleanup();return p.version;return null},cleanup:function(){var $=this;if($.garbage&&typeof window.CollectGarbage!="undefined"){window.CollectGarbage()}},isActiveXObject:function(_22){var $=this,result,s="<object width=\"1\" height=\"1\" "+"style=\"display:none\" "+$.plugin.getCodeBaseVersion(_22)+">"+$.plugin.HTML+"</object>";$.head.insertBefore(document.createElement("object"),$.head.firstChild);$.head.firstChild.outerHTML=s;result=$.vbscript?PluginDetect1($.plugin.classID):$.detect($.plugin.classID);return result},detect:function(_24){var $=this,result;$.head.firstChild["classid"]=_24;result=$.head.firstChild["object"]?true:false;if(!result||$.head.firstChild["readyState"]<4){$.head.removeChild($.head.firstChild);$.garbage=true}return result},search:function(min){var _27=[0,0,0,0],$=this,x,y,A=$.plugin.digits,t=function(x,y){var _2a=(x==0?y:_27[0])+","+(x==1?y:_27[1])+","+(x==2?y:_27[2])+","+(x==3?y:_27[3]);return $.isActiveXObject(_2a)};$.isActiveXObject("999,99,99,99");if(typeof min!="undefined"){return $.isActiveXObject(min)}var _2b,tmp;var _2c=false;for(x=0;x<A.length;x++){_2b=A[x]*2;_27[x]=0;for(y=0;y<20;y++){if(_2b==1&&x>0&&_2c){break}if(_2b-_27[x]>1){tmp=Math.round((_2b+_27[x])/2);if(t(x,tmp)){_27[x]=tmp;_2c=true}else{_2b=tmp}}else{if(_2b-_27[x]==1){_2b--;if(!_2c&&t(x,_2b)){_2c=true}break}else{if(!_2c&&t(x,_2b)){_2c=true}break}}}if(!_2c){return null}}return _27.join(",")},dummy1:0}}PluginDetect.initScript();PluginDetect.devalvr={mimeType:"application/x-devalvrx",progID:"DevalVRXCtrl.DevalVRXCtrl.1",classID:"clsid:5D2CF9D0-113A-476B-986F-288B54571614",minIEver:5.5,HTML:"<param name=\"src\" value=\"A14999.mov\" />",getCodeBaseVersion:function(v){return "codebase=\"#version="+v+"\""},digits:[2,16,16,16],getVersion:function(){var _51=null,p,$=PluginDetect,o;if(!$.isIE){p=$.findNavPlugin("DevalVR");if(p&&p.name&&$.hasMimeType(this.mimeType)){_51=p.description.split(" ")[3]}this.installed=_51?1:-1}else{o=$.getAXO(this.progID);if($.IEver>=this.minIEver){_51=$.search()}this.installed=_51?1:(o?0:-1)}this.version=$.formatNum(_51)},isMinVersion:function(min){var $=PluginDetect;if($.search(min)){this.installed=0;return true};return false}};
