﻿/* PluginDetect v0.5.0 [ QT ] 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(){;var $=this;if($.garbage&&typeof window.CollectGarbage!="undefined"){window.CollectGarbage();};},isActiveXObject:function(_21){;var $=this,result,e,s="<object width=\"1\" height=\"1\" "+"style=\"display:none\" "+$.plugin.getCodeBaseVersion(_21)+">"+$.plugin.HTML+"</object>";if($.head.firstChild){$.head.insertBefore(document.createElement("object"),$.head.firstChild);}else{$.head.appendChild(document.createElement("object"));}$.head.firstChild.outerHTML=s;try{$.head.firstChild.classid=$.plugin.classID;}catch(e){}result=false;try{if($.head.firstChild.object){result=true;}}catch(e){}try{if(result&&$.head.firstChild.readyState<4){$.garbage=true;}}catch(e){}$.head.removeChild($.head.firstChild);return result;;},codebaseSearch:function(min){var $=this;if(typeof min!="undefined"){return $.isActiveXObject(min);};var _25=[0,0,0,0],x,y,A=$.plugin.digits,t=function(x,y){var _28=(x==0?y:_25[0])+","+(x==1?y:_25[1])+","+(x==2?y:_25[2])+","+(x==3?y:_25[3]);return $.isActiveXObject(_28);};var _29,tmp;var _2a=false;for(x=0;x<A.length;x++){_29=A[x]*2;_25[x]=0;for(y=0;y<20;y++){if(_29==1&&x>0&&_2a){break;}if(_29-_25[x]>1){tmp=Math.round((_29+_25[x])/2);if(t(x,tmp)){_25[x]=tmp;_2a=true;}else{_29=tmp;}}else{if(_29-_25[x]==1){_29--;if(!_2a&&t(x,_29)){_2a=true;}break;}else{if(!_2a&&t(x,_29)){_2a=true;}break;}}}if(!_2a){return null;}}return _25.join(",");;},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.quicktime={mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:"<param name=\"src\" value=\"A14999.mov\" /><param name=\"controller\" value=\"false\" />",getCodeBaseVersion:function(v){var r=v.replace(/[\.\_]/g,",").split(","),$=PluginDetect;if($.compareNums(v,"7,5,0,0")>=0){v=r[0]+","+r[1]+r[2]+","+r[3];}return "codebase=\"#version="+v+"\"";},digits:[16,16,16,0],clipTo3digits:function(v){if(v==null||typeof v=="undefined"){return null;}var t;t=v.split(",");return t[0]+","+t[1]+","+t[2]+",0";},getVersion:function(){var _35=null,p,$=PluginDetect;var _36=true;if(!$.isIE){if(navigator.platform&&(/linux/i).test(navigator.platform)){_36=false;}if(_36){p=$.findNavPlugin(["QuickTime","(Plug-in|Plugin)"]);if(p&&p.name&&$.hasMimeType(this.mimeType)){_35=$.getNum(p.name);}}this.installed=_35?1:-1;}else{var obj;if($.IEver>=this.minIEver&&$.getAXO(this.progID0)){_35=$.codebaseSearch();}else{obj=$.getAXO(this.progID);if(obj&&obj.QuickTimeVersion){_35=obj.QuickTimeVersion.toString(16);_35=_35.charAt(0)+"."+_35.charAt(1)+"."+_35.charAt(2);}}this.installed=_35?1:($.getAXO(this.progID0)?0:-1);}this.version=this.clipTo3digits($.formatNum(_35));}};