!function(a,b,c){var d="user1001",e=function(a){return b.getElementById(a)},f=function(){var a=!1,f=navigator,g=f.userAgent.toLowerCase(),h=null,i="npQMExtensionsIE.Basic",j="npQMExtensionsXPCOM",k="application/qqpcmgr-extensions-mozilla",l="http://dldir2.qq.com/invc/xfspeed/softmgr/sdl/SoftMgrDownload_P{soft_id}_S{spl_id}.exe",m=function(){var a,b={};return(a=g.match(/msie ([\d.]+)/))?b.ie=a[1]:(a=g.match(/firefox\/([\d.]+)/))?b.firefox=a[1]:(a=g.match(/chrome\/([\d.]+)/))?b.chrome=a[1]:(a=g.match(/opera.([\d.]+)/))?b.opera=a[1]:(a=g.match(/version\/([\d.]+).*safari/))?b.safari=a[1]:0,b}(),n=function(){var a,c;return f.mimeTypes[k]?(a=e(j))?a:(c=b.createElement("div"),c.innerHTML='<embed type="'+k+'" id="'+j+'" width=0 height=0 hidden=true></embed>',b.body.appendChild(c),a=e(j),a&&a.GetPluginVersion&&a.GetPluginVersion()<1e7?null:a):null},o=function(){return new ActiveXObject(i)},p=function(){if(0==navigator.platform.indexOf("Win")){var a=null;try{a=m.ie?o():n()}catch(b){}return a}},q=function(){try{return m.ie?h.QMIsInstalled():h.QMIsInstall()}catch(a){}return!1},s=function(a,b){return a=a===c?0:a,b=b===c?"":b,h.QMStartUp(a,b),!0},t=function(){try{return h.IsSoftMgrInstall()}catch(a){}return!1},u=function(a,b){a=a===c?5:a,b=b===c?"":b;try{return h.StartUpSoftMgr(a,b),!0}catch(d){alert(d)}return!1},v=function(b){if(!a)return!1;var c="/page=taskmgr /softdetailid="+b+" /action=download /parent="+d;return t()?u(5,c):q()?s(5,c):void 0},w=function(a,b){return l.replace("{soft_id}",a).replace("{spl_id}",b)},x=null,y=function(){return x?x:(h||(h=p()),a=!!h,x={},x.support=a,x.downloadSoft=v,x.downloaderUrl=w,x)};return y()},g=null,h={version:"1.0",$:e,addEvent:function(a,b,c){a.attachEvent?(a["e"+b+c]=c,a[b+c]=function(){a["e"+b+c](event)},a.attachEvent("on"+b,a[b+c])):a.addEventListener(b,c,!1)},MGRINFO:{VERSION:"QMGetVersion",SUPPLYID:"QMGetSupplyID",SOFTVERSION:"GetSoftMgrVersion",SOFTSUPPLYID:"GetSoftMgrSupplyID"},getMgrObject:function(){return g||(g=f()),g}};a.QQ_SoftMgr=h}(window,document);