|
这是神马?
(函数(A,AC){变种IJ = {},UV = {};功能循环流化床(XE,BMK,欧盟){(XE){返回;}的功能showTips(_aoEvent){A.show(AS(“capTip”),TRUE);}:功能hideTips(){A.show(AS(“capTip”),FALSE);}BO = -1;A.addEvents(XE,KEYDOWN:功能(_aoEvent){VAR HT = _aoEvent.keyCode | | _aoEvent.charCode(HT == 20){(BO == 0){showTips(_aoEvent);BO = 1;}否则,如果(BO == 1){hideTips();BO = 0;}}}按键:功能(_aoEvent){VAR HT = _aoEvent.keyCode | | _aoEvent.charCode,= _aoEvent.shiftKey;((HT> = 65 && HT <= 90 &&!)| |(HT> = 97 && HT <= 122 &&我们)){BO = 1showTips(_aoEvent);}否则,如果((HT> = 97 && HT <= 122 &&!)| |(HT> = 65 && HT <= 90 &&我们)){BO = 0;hideTips();}其他{hideTips();}}模糊:(){hideTips();}});};功能CNF(BGH){VAR GL = typeof运算BGH ==“字符串”[BGH]:BGH;EM(){如果(gl.length){(VAR I = 0;我<gl.length,我+ +){CKB(GL []);}}}功能CKB(AL){VAR LD =“label_”GG = AS(LD + AL),BJ =(AL);(GG | | BJ)回报;A.addEvent(的的BJ,“KEYUP”,UO);A.addEvent(BJ“的KeyDown的”,UO);A.addEvent(BJ,“输入”,UO);A.addEvent(BJ“,单击”UO);bJ.onfocus =函数(){如果(==“P”){ALC();} UO();你们(真)};bJ.onblur =函数(){UO();你们()};功能叶(AYZ){AYZ gg.style.color =?“#CCC”:“”;};UO(){,gg.innerHTML = bJ.value?“:gg.getAttribute(”default_txt“);gg.style.color = bJ.value?“”:“#CCC”;};功能BHQ(O,L){如果(o.value){l.innerHTML =“”;}其他{l.innerHTML = l.getAttribute(“default_txt”);}};BHQ(北京,GG);的setTimeout(函数(O,L)回传函数(){BHQ(O,L);}}(BJ的gg),100);的setInterval(函数(O,L){回传函数(){BHQ(O,L);}(北京,GG),800);};的eM();};功能CJU(QB,BGK,XX,BGZ,顾){VAR AE =;EM(){ae.TI = CIM(BGK);ae.cpO = BGK;ae.aMm = QB;ae.Gw = XX;ae.cAi = BGZ;(VAR I = 0;我<xX.length,我+ +){(XX [] == qb.value,){qb.style.fontSize =的BGZ [我];打破;}}A.addEvent(QB“,单击”UO);};功能BGS(CCV){VAR AUX = 0;VAR BW = ae.Gw;(VAR我= bw.length;> 0; I - ){如果(体重〔i-1]。的indexOf(CCV)== 0){AUX = I-1}}返回辅助;};功能UO(EJ){“VAR NQ = ae.cpO.value,院方= ae.aMm.value,GE = EJ事件,BJZ = GE.keyCode == 38 | | GE.keyCode == 40;(GE.type ==“点击”| | BJZ){变种KH = [],BW = ae.Gw,AUX = BGS(院方);(VAR I = 0;我<bw.length,我+ +){kh.push([<div类=“auto_item,AUX ==我吗?”选择auto_select“:”“,”“,“别名=”',NQ“域=”,XX [I],“标题=”\ u4F7F \ u7528',NQ,XX [我],'\ u767B \ u5F55“,“字体大小=”',ae.cAi [I],“”,'>',<span class="ico_selected"> </ span>的,XX [I],“</ DIV>。加入(“”));}{ae.TI.innerHTML = kh.join(“”);}VAR BW = ae.TI.childNodes;(VAR I = 0,L = bw.length,我升,我+ +){(功能(_aoDom,二){A.addEvent(_aoDom,“鼠标按下”功能(){的Kh();(ALC);});A.addEvent(_aoDom,“鼠标悬停”功能(){AGN(二);});})(体重[I],I);}(GE.type ==“的KeyDown”){(GE.keyCode == 38){如果(typeof的ae.KW ==“未定义”){ae.KW = bw.length-1;}其他{ae.KW - 如果(ae.KW <0){ae.KW = bw.length-1;}}的Kh();A.preventDefault(GE);返回false;}否则,如果(GE.keyCode == 40){如果(typeof的ae.KW ==“未定义”){ae.KW = 1;}其他{ae.KW + +;如果(ae.KW> bw.length 1){ae.KW = 0}}的Kh();A.preventDefault(GE);返回false;}否则,如果(GE.keyCode == 13){A.preventDefault(GE);}否则,如果(GE.keyCode == 9){}}其他{ae.show();}}};功能AGN(PQ){VAR BW = ae.TI.childNodes;(VAR I = 0,L = bw.length,我升,我+ +){(PQ == I){A.addClass(体重[我],“auto_select”);ae.KW = I;}其他{A.rmClass(体重[我],“auto_select”);}}};KH(){VAR带宽= ae.TI.childNodes,BII =体重[ae.KW]_sDomain = ae.aMm.value,AUX = BGS(_sDomain)的,院方=“|”+ _sDomain,CTV = [“|”ae.Gw.join(“|”),“|”]。加入(“”);如果(想着){(_sDomain &&(ctv.indexOf(院方)> -1)){ae.aMm.value bii.getAttribute(“域名”);ae.aMm.style.fontSize = bii.getAttribute(“fontsize的”)​​;}ae.hide();顾&&的setTimeout(函数(){顾();});}};功能CIM(CYO){祖= document.createElement方法(“DIV”);zu.className =“自动完成”;zu.id =“auto_container”的;zu.setAttribute(“的tabindex”,“-1”);zu.setAttribute(“hidefocus”,“真正的”);zu.onblur =(){ae.hide();};A.show(祖,虚假);cyo.parentNode.appendChild(祖);返回祖;};ae.show =(){A.show(ae.TI,TRUE);A.setFocus(ae.TI);A.addClass(ae.TI中,“login_domains_show”);};ae.hide =(){A.show(ae.TI,FALSE);A.rmClass(ae.TI中,“login_domains_show”);};的eM();};功能CJN(IT){VAR AY = AS(“dialog_wrap)AIQ = AS('面具');如果(IT){A.hasClass(AY,“dropmenu”)的的&& A.rmClass(是的,以下“dropmenu”);A.hasClass(AY,“弹出”)的的&& A.addClass(是的,“弹出”);A.addClass(AIQ,“面具开”);A.show(唉,真);AEM();}其他{A.show(AY,FALSE);A.rmClass(AIQ,“掩模打开”);}};函数的DLL(IT,UY){VAR AY = AS(“dialog_wrap)AVY = AS(“login_menu),AIQ = AS('面具');A.rmClass(AIQ,“掩模打开”);!A.hasClass(UY,“滴”)的的&& A.addClass(UY,“滴”);如果(IT){A.hasClass(唉,“弹出”)的的&& A.rmClass(是的,“弹出”);A.hasClass(AY,“dropmenu”)的的&& A.addClass(是的,以下“dropmenu”);A.show(唉,真);}其他{A.show(AVY,TRUE);}如果(!document.onmousedown){document.onmousedown =功能(_aoEvent){_aoEvent _aoEvent | |活动;VAR AIP = _aoEvent.target | | _aoEvent.srcElement;(A.contains(UY,AIP)){返回;}如果(A.contains(AY,AIP)的的&& A.hasClass(好哦,以下“dropmenu”)){A.show(AY,FALSE);A.rmClass(AY,“dropmenu”);A.hasClass(UY,“滴”)的的&& A.rmClass(UY,“滴”);}否则,如果(AVY的&& avY.style.display!=“”&&!A.contains(AVY,AIP)){A.show(AVY,FALSE);A.hasClass(UY,“滴”)的的&& A.rmClass(UY,“滴”);}};}AEM();};功能CLG(CVM,CYN){VAR AE =;ae.ctO = 0;ae.QK A.getElementsByClassName(幻灯片CTRL',AS(CVM),'A');ae.bGG A.getElementsByClassName(幻灯片内容,AS(CYN),'DIV');功能CKP(二){ae.ctO =二;ij.sSubType =二;(VAR I = 0;我<ae.QK.length,我+ +){(A.hasClass(ae.QK [I],“电流”)){A.rmClass(ae.QK [I],“电流”);A.rmClass(ae.bGG [I],“电流”);}}(A.hasClass(ae.QK [二],“当前”)){A.addClass(ae.QK [二],“当前”);A.addClass(ae.bGG [二],“电流”);}};EM(){(VAR I = 0;我<ae.QK.length,我+ +){(函数(二){ae.QK [二]。的onclick =(){CKP(二);}})(i)条;}};的eM();};功能AGW(CYJ,CYK){VAR FX = document.createElement方法(“img”的),我们= uV.sServerName +“/ cgi-bin/getinvestigate?STAT = newlogin的log1 =#日志1#&LOG2 =#LOG2#&R =##随机”;fx.src = uS.replace(“#日志1#”,CYJ)。取代(“#LOG2#”,CYK)代替(#随机编号“,Math.random());A.show(FX,假);document.body.appendChild(FX);FX = NULL;}功能霍乱(烯,HM){VAR FX = document.createElement方法(“img”的),fx.src =我们;A.show(FX,假);document.body.appendChild(FX);FX = NULL;}功能IB(XO,AZH)的{ij.aVK = {“PT”:10,“QM”:20,“OP”:30,“分米”:40,“d2的”:50} [uV.sLoginType;ij.zs = XO | | 0;如果(XO == 1){ij.bfv = 1;}如果(XO == 4 && uV.bUsingPT,){AZH == ij.bDi && ij.ayV + +;AZH的&&(ij.bdJ = AZH);AGW([ij.aVK + ij.zs,ij.zz,ij.amD。加入(“,”)[ij.bfv,ij.bdJ,ij.ayV,ij.bhy。加入(“,” ));}否则(XO == 5 && uV.bUsingPT,){AGW([ij.aVK + ij.zs,ij.zz,ij.amD。加入(“,”),ij.bfv“,ij.ayV,ij.bhy]。加入(”,“) );}};功能CYX(GU){如果(uV.bUsingPT){的setTimeout(函数(){顾&&谷();},500);的setInterval(函数(){顾&&谷();},3 * 60 * 1000);}};功能亩(DOK){VAR CSC = AS(UIN),CCP = AS(“域”),OE = AS(“U”),BZL =('U1'),AKG =“”,NQ,_sDomain;(CCP){NQ = csc.value;_sDomain = ccp.value;Oe.value = NQ(NQ + _sDomain):“”;}其他(uV.bUsingPT){VAR BGC = Oe.value;的nQ = bGc.split(“@”)[0];_sDomain = bGc.split(“@”)[1];_sDomain = _sDomain(“@的”+ _sDomain):“”;AKG = ij.sSubType;}如果(uV.bUsingPT){ij.zz = NQ;ij.cDm _sDomain _sDomain:(/ \ D + /测试(NQ)吗?“qq.com”:的“);(_sDomain ==“@ vip.qq.com”){ij.amD =“VIP”;}否则,如果(_sDomain ==“@ foxmail.com”){ij.amD =“狐狸”;}否则,如果(_sDomain ==“@ qq.com”){ij.amD =“”;}其他{ij.amD = _sDomain | |“__noInput__”;}bzL.value =(A.urlReplacer(A.extend{“SS”(AS(“remerber_password)的&&A.Ş(remerber_password”)。选中)“1”:“}DOK?“validcnt”:ij.ayV,“clientaddr”:Oe.value}:{},(功能(AW){开关(AW){“OP”:回报({“子”:AKG });“DM”:回报({“errtemplate”:“dm_loginpage”,“aliastype”:“其他”,“dmtype”:“域”,“delegate_url”:encodeURIComponent方法(AS(的“delegate_url”)。值),“S”:(“”)。值,“值,loginEntry”:(“loginEntry”)。“目标”:(“目标”)。值,“名称”:encodeURIComponent方法(AS(“名称”)。值),“BCID”:AS(BCID“)。值,“令牌”:AS值(“标记”)。});默认情况下:返回;}})(uV.sLoginType)),bzL.value);}返回true;};功能ATC(AW){砧(2);如果(uV.bUsingPT){亩(TRUE);(AW ==“地址”){AGF();返回false;}VAR BAC = AS(“P”);如果(baC.value.length> ij.bHr){ij.bhy = 1;baC.value = baC.value.substr(0,ij.bHr);}尝试{如果(!ptui_checkValidate()){ATD(假);AEM();}}赶上(E){窗口['bIsAutoLogin'] = 1;}如果(!ij.zz){A.setFocus(“UIN”);}砧(3);返回false;}其他{(AS(“PP”)){VAR AMN = window.org_pass值= AS(“PP”)。EI = document.loginform;(AMN){AGF(“\ u8BF7 \ u8F93 \ u5165 \ u72EC \ u7ACB \ u5BC6 \ u7801”);A.setFocus(“PP”);砧(3);返回false;}如果(uV.bNeedEncrypt){如果(aMn.length> 170){eI.p.value = AMN;}其他{VARPublicTs = eI.ts.value,RSA =新RSAKey();RSA.setPublic(公钥,“10001”);VAR = RSA.encrypt(eI.pp.value +'\ n'+ PublicTs +'\ n');(RES){eI.p.value hex2b64(RES);}}}其他{eI.p.value = AMN;}}(AS(“verifyinput”)。style.display =“”&&!AS(“附加码”)。值){AGF(“\ u8BF7 \ u8F93 \ u5165 \ u9A8C \ u8BC1 \ u7801”);A.setFocus(“附加码”);砧(3);返回false;}(AS(“PP”)){eI.pp.value = eI.p.value;}砧(4);}返回true;};功能ATD(WQ){VAR IC = AS(“btlogin);如果(WQ){ic.value =“\ u767B \ u5F55 \ u4E2D”;ic.parentNode.className =“login_btn_wrapper_disabled的”;ic.setAttribute(“加载”,1)}其他{ic.removeAttribute(“加载”);ic.value =“\ u767B \ u5F55”;ic.parentNode.className =的“login_btn_wrapper”;}};CBL(){如果(uV.bUsingPT){imgLoadReport();}砧(1);};BMI(){如果(uV.bUsingPT){尝试{ptui_changeImg();}赶上(E){AGF(的“errorPT”,“IMG”+ e.message);}}其他{AS(“vfcode),SRC = uV.sServerName +”/ cgi-bin/getverifyimage?援助= 23000101&F = HTML&CK = 1&R =“+ Math.random()的;A.setFocus(“附加码”);}};功能CZC(GH){如果(GH == ij.cYs){砧(5);}其他{砧(4,生长激素);}CTX(GH);};功能AGF(_asMsg,HM){VAR EDH = _asMsg;ATD(假);如果(!_asMsg){作为(“msgContainer”)墠缃.. value =“”;返回;}VAR BCW ={errorCheck:“\ u7F51 \ u7EDC \ u5F02 \ u5E38 \ uFF0C \ u8BF7 \ u5237 \ u65B0 \ u540E \ u91CD中\ u8BD5 \。。”}NX = AS(“msgContainer”);BCW [_asMsg] &&(_asMsg = BCW [_asMsg]);如果(CSI()){_asMsg BCW“errorSecondPwdNeedQQErr”}Nx.innerHTML = _asMsg.replace(/ [\ \ \ \ \ uFF0C \。。\ uFF01]元/克,“”);nx.style.display =“”;如果(uV.bUsingPT){VAR DBC = 511,BTI = {errorPT:551,errorCheck:552,errorSecondPwdNeedQQErr:553} [EDH] |的| -1;如果(window.pt && pt.lang){VAR N = -1;(VAR我在pt.lang){N + +;(_asMsg.indexOf(pt.lang [I])== 0){BTI = DBC + N;打破;}}}BTI> -1&&的CTX(苏云金杆菌,HM);}};(CSI){如果(ij.brA == uV.sLoginType&& ij.ayV> = ij.cKr&& ij.bdJ == ij.bDi的&& ij.zs == 4){ij.cvI = 1;返回true;}返回false;};(ALC){如果(uV.bUsingPT){亩();尝试{window.check &&检查();}赶上(E){}}};AEM(){VAR XC = ij.brA == uV.sLoginType?“UIN”:“U”,CSG = [XC,“PP”,“P”,“附加码”];(VAR I = 0,L = csg.length,我升,我+ +){VAR AV = CSG [I];(AS AS(AV)值(AV)&&!){A.setFocus(AV);打破;}AV = NULL;}};ARL(){AGF();的setTimeout(函数(){(ALC);AEM();});};功能BKZ(顾,CCZ){VAR AYK = CCZ | | [[uV.oResCfg && uV.oResCfg.sPtUrl | |“”,“GBK”];如果(aYk.length && AYK [0] [0]){VAR AJ = aYk.shift()EB = document.createElement方法(“脚本”);eB.type =“文本/ javascript”;eB.charset = AJ [1];eB.src = AJ [0];CIK();A.waitFor(函数(){返回窗口“PT”];}功能(EGM){(EGM){typeof运算(在window.onload)==“功能”&& ij.efK&&在window.onload();CIK(真正的);GU(临时股东大会);}其他{如果(aYk.length){CYN();BKZ(顾,AYK);}其他{CYN(TRUE);CIK(真正的);}}});document.body.appendChild(EB);};功能CYN(EOJ){VAR CNH = {“PT”:7,“DM”:9} [uV.sLoginType] | | 11;EOJ &&(CNH + +);(新的Image())。SRC = A.urlReplacer({“jsfailtime”:CNH,“R”:Math.random()的},uV.oResCfg.sReportUrl);};};富士重工(){如果(窗口['bIsAutoLogin']){(ALC);A.waitFor(函数(){返回pt.isLoadVC | | AS(“附加码”)。值;}功能(MQ){mQ的&& ATC();});}否则,如果(窗口['bIsAnythigInput']){(ALC);}};功能CIK(DEZ){VAR AFT = [“U”,“P”,“附加码”];(VAR I = 0;我<afT.length,我+ +){(函数(){(DEZ){如果((AFT [I])。tfocus){AS(AFT [I])。tfocus = AS(AFT [I])。重点;(AFT [I])。重点=函数(){};}}其他{(我== 0){(AFT [I])。重点=(){尝试{this.tfocus();}赶上(E){}}}其他{(AFT [I])。重点= AS(AFT [I])。tfocus;}}})();};}IJ =窗口[“QMLogin”的= A.extend({changeImg:BMI,checkInput:ATC,judgeVC:ALC开关模式:ARL,onLoadVC:CBL},{初始化函数(AP){UV = AP;A.extend(窗口,{pt_init_end:(){富士重工();}回调函数(){尝试{document.selection&& document.selection.empty()}赶上(E){}如果“bIsAutoLogin”] | |窗口(窗口“bIsAnythigInput”){pt.switchPage();}}ptlogin2_onResize:(){ap.onResize的&& ap.onResize.apply(这一点,参数);}ptlogin2_onMibaoCancel:(){location.replace(位置)}ptui_bos:(){czc.apply(空参数)}pt_show_err:(){agf.apply(空参数)}});(ap.bNeedEncrypt的&&!ap.bUsingPT && ap.oResCfg.sEncryptUrl){EB = document.createElement方法(“脚本”);eB.type =“文本/ javascript”;eB.charset =“GBK”;eB.src = ap.oResCfg.sEncryptUrl;document.body.appendChild(EB);EB = NULL;}}准备:(){如果(uV.bUsingPT){A.addEvent(document.loginform“的KeyDown”功能(EJ){窗口“bIsAnythigInput”] =真;});如果(AS(“UIN”)的){AEM();BKZ(功能(BA){(AS(“U”)。值&&!(“UIN”)。值){(“UIN”)。值= AS(“U”)。value.split(“@”)[0];AEM();}});}其他{VAR CBK =(A.getCookie(“ptui_loginuin”)| |“”),CRP =(A.getCookie(“qqmail_alias”)| |“”);(CRP&CBK){A.setCookie(“ptui_loginuin,CRP);}BKZ(功能(BA){CRZ VAR = AS(“U”)。的getAttribute(“默认”);(CRZ){(“U”)。值= CRZ;}AEM();});}}其他{AEM();}VAR AE =,合资公司= {“基本”:(){CYX(函数(){(ALC);});AS(“btlogin)的onclick =(){VAR IC =;(ic.getAttribute(“加载”)){clearTimeout(uV.gnTimerSet | | 0);uV.gnTimerSet的setTimeout(函数(){ATD(假);},5000);返回false;}其他{ATD(真正的);}};}“帽子”:函数(){新的循环流化床(AS(“PP”)| |(“P”));}“标签”:(){新的CNF(“UIN”,“U”,“P”,“PP”,“附加码”]);}“幻灯片”:函数(){新的客户联络小组(“slide_ctrls”,“slide_contents');}“域”:(){VAR AMA = AS(“UIN”),AVR单片机= AS(“域名”);如果(海士){新CJU(AMA,AVR,ij.cLW,ij.cYI),的;A.addEvent(AMA,“模糊”,函数(){A.rmClass(ama.parentNode,“有效的”);});A.addEvent(AMA,“焦点”,函数(){A.addClass(ama.parentNode,“有效的”);});如果(! - [1] &&!window.XMLHttpRequest){A.addEvent(AVR,“mouseout的”,(),{A.rmClass(avR.parentNode,“有效的”);});A.addEvent(AVR,“鼠标悬停”功能(){A.addClass(avR.parentNode,“有效的”);});}}}“弹出”功能(){AS(“dialog_close”)的onclick =(){CJN(假);};(“登录”)。的onclick =(EJ){DLL(uV.bIsLogin,这一点);};A.each(A.getElementsByClassName(“按钮,蓝色的”),功能(_aoDom){(函数(){_aoDom的&& _aoDom.getAttribute(“数据uigroup”)==“对话框的”&& uV.sLoginType == ae.dgc&&(_aoDom.onclick功能(EJ){EJ = EJ | |活动;如果(!uV.bIsLogin){CJN(TRUE);A.preventDefault(EJ);返回false;}});})();});}}ALW = {“PT”:“基本”,“帽子”,“标签”,“域”],“OP”:“基本”,“帽子”,“标签”,“弹出”,“幻灯片”],“QM”:“基本”,“帽子”,“标签”],“分米”:[“基本”],“d2的”:[“基本”]};A.each(uV.oUseCom左联[uV.sLoginType],函数(CAF){合资公司[CAF]。应用(AE);});}},{中九龙干线:2,BHR:16,CLW:[“@ vip.qq.com”,“@ qq.com”,“@ foxmail.com”],CYI:[“14px的”,“部18px”,“13px”],CYS:“0”,BDI:“3”,eqX:“QM”胸罩:“PT”DGC:“OP”EHG:“DM”,的EHY:“d2的”,AVK:0,ZS:0,
|
|