function __$(a){var a=document.getElementById(a)?document.getElementById(a):"";return a}function MailChange(b,d){var a=new Array();var e=new Array();var c=new Array();id=b;a[0]=" ";e[0]="";c[0]="";a[1]="https://reg.163.com/logins.jsp?type=1&product=mail163&url=http://entry.mail.163.com/coremail/fcg/ntesdoor2?lightweight%3D1%26verifycookie%3D1%26language%3D-1%26style%3D-1";e[1]="username";c[1]="password";a[2]="https://reg.163.com/logins.jsp?type=1&product=mail126&url=http://entry.mail.126.com/cgi/ntesdoor?lightweight%3D1%26verifycookie%3D1%26language%3D0%26style%3D-1";e[2]="username";c[2]="password";a[3]="https://reg.163.com/logins.jsp?type=1&product=mailyeah&url=http://entry.mail.yeah.net/cgi/ntesdoor?lightweight%3D1%26verifycookie%3D1%26style%3D-1";e[3]="username";c[3]="password";a[4]="http://vip.163.com/logon.m";e[4]="username";c[4]="password";a[5]="http://mail.sina.com.cn/cgi-bin/login.cgi";e[5]="u";c[5]="psw";a[6]="http://vip.sina.com.cn/cgi-bin/login.cgi";e[6]="user";c[6]="pass";a[7]="http://passport.sohu.com/login.jsp";e[7]="UserName";c[7]="Password";a[8]="https://edit.bjs.yahoo.com/config/login";e[8]="login";c[8]="passwd";a[9]="https://edit.bjs.yahoo.com/config/login";e[9]="login";c[9]="passwd";a[10]="https://www.google.com/accounts/ServiceLoginAuth";e[10]="Email";c[10]="Passwd";a[11]="http://bjweb.mail.tom.com/cgi/163/login_pro.cgi";e[11]="user";c[11]="pass";a[12]="https://login.passport.com/ppsecure/post.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=2052&_lang=CN&bk=1136886915";e[12]="login";c[12]="passwd";a[13]="https://login.passport.com/ppsecure/post.srf?id=2&svc=mail&cbid=24325&msppjph=1&tw=0&fs=1&fsa=1&fsat=1296000&lc=2052&_lang=CN&bk=1136886915";e[13]="login";c[13]="passwd";a[14]="http://bjweb.mail.tom.com/cgi/163/login_pro.cgi";e[14]="user";c[14]="pass";a[15]="http://passport.21cn.com/maillogin.jsp";e[15]="UserName";c[15]="passwd";a[16]="http://mail.2008.sina.com.cn/cgi-bin/login.php";e[16]="u";c[16]="psw";a[17]="http://passport.baidu.com/?login";e[17]="username";c[17]="password";a[18]="http://passport.sohu.com/login.jsp";e[18]="loginid";c[18]="passwd";a[19]="http://login.xiaonei.com/Login.do";e[19]="email";c[19]="password";a[20]="http://passport.51.com/login.5p";e[20]="passport_51_user";c[20]="passport_51_password";a[21]="http://passport.sohu.com/login.jsp";e[21]="UserName";c[21]="Password";a[22]="http://passport.sohu.com/login.jsp";e[22]="username";c[22]="passwd";__$("Musername"+d).name=e[id];__$("Mpwd"+d).name=c[id];__$("mail_login"+d).action=a[id];}function MailVerify(a){if(__$("maillist"+a).value==0){alert("\u8bf7\u9009\u62e9\u4f60\u8981\u767b\u9646\u7684\u90ae\u7bb1");return false}if(__$("Musername"+a).value==""||__$("Mpwd"+a).value==""){alert("\u7528\u6237\u540d\u6216\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a");return false}if(__$("maillist"+a).value==1){__$("Musername"+a).value=__$("Musername"+a).value+"@163.com"}if(__$("maillist"+a).value==2){__$("Musername"+a).value=__$("Musername"+a).value+"@126.com"}if(__$("maillist"+a).value==3){__$("Musername"+a).value=__$("Musername"+a).value+"@yeah.net"}if(__$("maillist"+a).value==12){__$("Musername"+a).value=__$("Musername"+a).value+"@hotmail.com"}if(__$("maillist"+a).value==9){__$("Musername"+a).value=__$("Musername"+a).value+"@yahoo.cn"}if(document.getElementById("maillist"+a).value==22){userName=document.getElementById("Musername"+a).value;strusername=document.getElementById("Musername"+a).value+"@sogou.com";document.getElementById("loginid").value=strusername;document.getElementById("eru").value="http://mail.sogou.com/2gmail/login.jsp?username="+userName}if(document.getElementById("maillist"+a).value==21){frm=document.getElementById("mail_login"+a);frm.elements.appid.value="1000";frm.elements.ru.value="http://login.mail.sohu.com/servlet/LoginServlet";frm.elements.eru.value="http://login.mail.sohu.com/login.jsp";frm.elements.ct.value="1173080990";frm.elements.sg.value="5082635c77272088ae7241ccdf7cf062";frm.elements.id.value=document.getElementById("Musername"+a).value;frm.elements.username.value=document.getElementById("Musername"+a).value;frm.elements.password.value=document.getElementById("Mpwd"+a).value;frm.elements.m.value=document.getElementById("Musername"+a).value;frm.elements.mpass.value=document.getElementById("Mpwd"+a).value;frm.elements.loginid.value=document.getElementById("Musername"+a).value+"@sohu.com";frm.elements.passwd.value=document.getElementById("Mpwd"+a).value;frm.elements.fl.value="1";frm.elements.vr.value="1|1";frm.action="http://passport.sohu.com/login.jsp"}setTimeout("ResetPwd("+a+")",1000);return true}function ResetPwd(a){__$("Mpwd").value="";__$("Musername").value="";if(a!=""){__$("Mpwd"+a).value=""}};
