/* PluginDetect v0.5.0 [ DevalVR ] by Eric Gerds www.pinlady.net/PluginDetect */
 if(!PluginDetect){var PluginDetect={getNum:function(A,_2){if(!this.num(A)){return null}var m;if(typeof _2=="undefined"){m=/[\d][\d\.\_,-]*/.exec(A)}else{m=(new RegExp(_2)).exec(A)}return m?m[0].replace(/[\.\_-]/g,","):null},hasMimeType:function(_4){if(PluginDetect.isIE){return null}var s,t,z,M=_4.constructor==String?[_4]:_4;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,_7){var _8=N.constructor==String?N:N.join(".*"),numS=_7===false?"":"\\d";var i,re=new RegExp(_8+".*"+numS+"|"+numS+".*"+_8,"i");var _a=navigator.plugins;for(i=0;i<_a.length;i++){if(re.test(_a[i].description)||re.test(_a[i].name)){return _a[i]}}return null},getAXO:function(_b){var _c,e;try{_c=new ActiveXObject(_b);return _c}catch(e){}return null},num:function(A){return (typeof A!="string"?false:(/\d/).test(A))},compareNums:function(_e,_f){if(!this.num(_e)||!this.num(_f)){return 0}if(this.plugin&&this.plugin.compareNums){return this.plugin.compareNums(_e,_f)}var m1=_e.split(","),m2=_f.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(/\s/g,"").replace(/[\.\_]/g,",").split(",").concat(["0","0","0","0"]);for(x=0;x<4;x++){if(/^(0+)(.+)$/.test(n[x])){n[x]=RegExp.$2}}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 _14,x;_14=["ShockwaveFlash.ShockwaveFlash","Msxml2.XMLHTTP","Microsoft.XMLDOM","Msxml2.DOMDocument","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];for(x=0;x<_14.length;x++){if($.getAXO(_14[x])){$.ActiveXEnabled=true;break}}}if($.isIE){$.head=typeof document.getElementsByTagName!="undefined"?document.getElementsByTagName("head")[0]:null}},init:function(_15){if(typeof _15!="string"){return -3}_15=_15.toLowerCase().replace(/\s/g,"");var $=this,IE,p;if(typeof $[_15]=="undefined"){return -3}p=$[_15];$.plugin=p;if(typeof p.installed=="undefined"){p.installed=null;p.version=null;p.getVersionDone=null}$.garbage=false;if($.isIE&&!$.ActiveXEnabled){return -2}return 1},isMinVersion:function(_17,_18,_19){var $=PluginDetect,i=$.init(_17);if(i<0){return i}if(typeof _18=="undefined"||_18==null){_18="0"}if(typeof _18=="number"){_18=_18.toString()}if(!$.num(_18)){return -3}_18=$.formatNum(_18);if(typeof _19=="undefined"){_19=null}var _1b=-1,p=$.plugin;if(p.getVersionDone!=1){p.getVersion(_18,_19);if(p.getVersionDone==null||p.version!=null){p.getVersionDone=1}}if(p.version!=null||p.installed!=null){if(p.installed<=0.5){_1b=p.installed}else{_1b=(p.version==null?0:($.compareNums(p.version,_18)>=0?1:-1))}}$.cleanup();return _1b;return -3},getVersion:function(_1c,_1d){var $=PluginDetect,i=$.init(_1c);if(i<0){return null}var p=$.plugin;if(typeof _1d=="undefined"){_1d=null}if(p.getVersionDone!=1){p.getVersion(null,_1d);if(p.getVersionDone==null||p.version!=null){p.getVersionDone=1}}$.cleanup();return p.version;return null},cleanup:function(){},isActiveXObject:function(_21){},codebaseSearch:function(min){var $=this;if(typeof min!="undefined"){return $.isActiveXObject(min)}},dummy1:0}}PluginDetect.initScript();PluginDetect.onJavaDetectionDone=function(f,jar){var $=this,j=$.java,z;if(j.getVersionDone!=1){z=$.isMinVersion("Java","0",jar);if(z==-3){z=$.getVersion("Java",jar)}}if(j.installed!=null&&j.installed!=-0.5&&j.installed!=0.5){if(typeof f=="function"){f()}return}};PluginDetect.onWindowLoaded=function(f){};PluginDetect.devalvr={mimeType:"application/x-devalvrx",progID:"DevalVRXCtrl.DevalVRXCtrl.1",classID:"clsid:5D2CF9D0-113A-476B-986F-288B54571614",getVersion:function(){var _6f=null,p,$=PluginDetect,e;if(!$.isIE){p=$.findNavPlugin("DevalVR");if(p&&p.name&&$.hasMimeType(this.mimeType)){_6f=p.description.split(" ")[3]}this.installed=_6f?1:-1}else{var _70,o,obj;o=$.getAXO(this.progID);if(o){_70=$.instantiate("object","classid=\""+this.classID+"\"","<param name=\"src\" value=\"\" />");if(_70[0]&&_70[1]&&_70[1].parentNode){obj=_70[0].firstChild;try{if(obj.pluginversion){_6f="00000000"+obj.pluginversion.toString(16);_6f=_6f.substr(_6f.length-8,8);_6f=parseInt(_6f.substr(0,2),16)+","+parseInt(_6f.substr(2,2),16)+","+parseInt(_6f.substr(4,2),16)+","+parseInt(_6f.substr(6,2),16)}}catch(e){}_70[1].parentNode.removeChild(_70[1])}}this.installed=_6f?1:(o?0:-1)}this.version=$.formatNum(_6f)}};PluginDetect.instantiate=function(_76,_77,_78,div){var s=function(_7b){var c=_7b.style;c.border="0px";c.width="1px";c.height="1px";c.padding="0px";c.margin="0px";c.visibility="hidden"};var e,d=document,tag1="<"+_76+" width=\"1\" height=\"1\" "+_77+">"+_78+"</"+_76+">",body=(d.getElementsByTagName("body")[0]||d.body);if(typeof div=="undefined"){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;s(div);return [div,body]}catch(e){}}s(div);return [div,div]}}if(div&&div.parentNode){try{div.innerHTML=tag1}catch(e){}}s(div);return [div,div]};
