<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="title" content="">
<title>免费电子邮箱</title>
<link rel="shortcut icon" href="favicon.ico" />
<link href="skin/css/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
var gCurrentDomain = "163";
var gLoginInfo = {};
function fSwitchTab(sDomain) {
var ids = ["163", "126", "yeah"];
var selIndex = 0;
var oDiskUrl = {
"163" : "163mial_wywp.html",
"126" : "126mail_wywp.html",
"yeah" : "yeahmail_wywp.html"
};
var oPopUrl = {
"163" : "163mail_yxbj.html",
"126" : "4F4UNUH000752CTN.html",
"yeah" : "3EMUDFR4007529L5.html"
};
var oHelpUrl = {
"163" : "163mail_index.html",
"126" : "126mail.html",
"yeah" : "dimondmain.html"
};
var oWhySSLUrl ={
"163" : "4QG2LL4R00752UPN.html",
"126" : "4QG0DVBL00752CTH.html",
"yeah" : "4UAT6LTQ00752DP8.html"
};
for(var i=0;i<ids.length;i++){
$("li" + ids[i]).className = "liTab";
$("selStyle" + ids[i]).style.display = "none";
if(ids[i] == sDomain){
selIndex = i;
}
}
$("li" + sDomain).className = "liTab on";
$("divACon").className = "fmi_ACon TabOn_" + sDomain;
$("selDomain").selectedIndex = selIndex;
$("selStyle" + sDomain).style.display = "";
$("lnkHelp").href = oHelpUrl[sDomain];
$("lnkWhySSL").href = oWhySSLUrl[sDomain];
$("lnkDisk").href = oDiskUrl[sDomain];
$("lnkPop").href = oPopUrl[sDomain];
gCurrentDomain = sDomain;
fSetCookie("alllogindomain", gCurrentDomain, true);
fSwitchUserInfo();
$("divError").innerHTML = "";
if( $("txtUser").value=="") {
$("txtUser").focus();
} else {
$("txtPassword").focus();
}
}
function $(sId) {
return document.getElementById(sId);
}
function fCheck() {
$("txtUser").value = fTrim($("txtUser").value);
if( $("txtUser").value =="") {
$("divError").innerHTML = "请输入你的用户名";
$("txtUser").focus();
return false;
}
if( $("txtPassword").value.length =="") {
$("divError").innerHTML = "请输入你的密码";
$("txtPassword").focus();
return false;
}
$("txtUserName").value = $("txtUser").value + "@" + {"163" : "163.com", "126" : "126.com", "yeah" : "yeah.net"}[gCurrentDomain];
fLogin();
fSaveLoginInfo();
return true;
}
function fTrim(str){
return str.replace(/(^\s*)|(\s*$)/g, "");
}
function fLogin() {
var oUrl = {
"126" : "http://entry.mail.126/",
"163" : "http://entry.mail.163/",
"yeah" : "http://entry.mail.yeah/"
};
if(!$("chkSSL").checked){
var oUrl = {
"126" : "https://entry.mail.126/",
"163" : "https://entry.mail.163/",
"yeah" : "https://entry.mail.yeah/"
};
}
$("frmLogin").action = oUrl[gCurrentDomain] + $("selStyle" + gCurrentDomain).value;
}
function fSaveLoginInfo() {
gLoginInfo[gCurrentDomain] = {username : $("txtUser").value, style : $("selStyle" + gCurrentDomain).value};
var aCookie = [];
for(var d in gLoginInfo){
aCookie.push(d + ";"+ gLoginInfo[d].username +";" + gLoginInfo[d].style);
}
if($("rmbUser").checked){
fSetCookie("alllogininfo", aCookie.join("|"), true);
fSetCookie("alllogindomain", gCurrentDomain, true);
}else{
fSetCookie("alllogininfo", "", true);
fSetCookie("alllogindomain", "", true);
}
}
function fGetLoginInfo(){
var sCookie = fGetCookie("alllogininfo");
if(sCookie){
var aCookie = sCookie.split("|");
for(var i=0;i<aCookie.length;i++){
var aDomainInfo = aCookie[i].split(";");
if(aDomainInfo.length == 3){
gLoginInfo[aDomainInfo[0]] = {username : aDomainInfo[1], style : aDomainInfo[2]};
}
}
}
var initDomain = fGetCookie("alllogindomain");
if(initDomain){
gCurrentDomain = initDomain;
}
// 判断url的参数是否从邮箱退出
var sFrom = location.hash + "";
sFrom = sFrom.replace("#", "");
if(sFrom == "163" || sFrom == "126" || sFrom == "yeah"){
gCurrentDomain = sFrom;
}
}
function fGetCookie(sName) {
var search = sName + "="
if(document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if(offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if(end == -1) end = document.cookie.length
return unescape(document.cookie.substring(offset, end))
}
else return ""
}
}
function fSetCookie(sName, sValue, isForever) {
document.cookie = sName + "=" + escape(sValue) + ";domain=email.163.com" + (isForever?";expires="+ (new Date(2099,12,31)).toGMTString():"");
}
window.onload = function(){
fGetLoginInfo();
fSwitchTab(gCurrentDomain);
fSwitchUserInfo();
};
function fSwitchUserInfo() {
$("txtPassword").value = "";
if(gLoginInfo[gCurrentDomain]){
$("txtUser").value = gLoginInfo[gCurrentDomain].username;
$("selStyle" + gCurrentDomain).value = gLoginInfo[gCurrentDomain].style;
}
}
//-->
</script>
</head>
<!-- 163 free mail index html -->
<body class="fmi_bdWp">
<div class="fmi_mWp">
<div class="fmi_mWpIn">
<!-- 头部 Begin -->
<div class="fmi_HeadWp">
<h1 class="Logo"><a href="" target="_blank"><img src="skin/images/logo_w.gif" alt="网易" /></a></h1>
<h2 class="ImgJ2 Slogan"><span>中国第一大电子邮件服务商</span></h2>
<div class="Extra"><a href="javascript:;" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www');" title="">设为首页</a> <a href="" target="_blank" title="">加入收藏</a> <a href="" target="_blank" id="lnkHelp" title="">帮助</a></div>
</div>
<!-- 头部 End -->
<!-- 主体 Begin -->
<div class="fmi_MidWp">
<div class="I_Style I_Style_1">
<!-- 总框 Begin -->
<div class="fmi_LgBx">
<!-- 标签栏 Begin -->
<div class="ImgJ1 fmi_LgBxTab">
<ul class="ulTab">
<li class="liTab On" id="li163"><a href="javascript:void(0)" title="163网易免费邮" hidefocus="true" style="outline:0" onClick="fSwitchTab('163')" class="ImgJ1 ATab_163"><b>163网易免费邮</b></a></li><!-- 选中的标签,加On -->
<li class="liTab" id="li126"><a href="javascript:void(0)" title="126网易免费邮" hidefocus="true" style="outline:0" onClick="fSwitchTab('126')" class="ImgJ1 ATab_126"><b>126网易免费邮</b></a></li>
<li class="liTab" id="liyeah"><a href="javascript:void(0)" title="Yeah.net网易免费邮" hidefocus="true" style="outline:0" onClick="fSwitchTab('yeah')" class="ImgJ1 ATab_Yeah"><b>Yeah.net网易免费邮</b></a></li>
</ul>
</div>
<!-- 标签栏 End -->
<!-- 切换的内容 Begin -->
<div class="fmi_ACon TabOn_163" id="divACon"><!-- 此处切换邮箱的style,TabOn_163、TabOn_126、TabOn_Yeah -->
<form method="post" name="frmLogin" id="frmLogin" onSubmit="return fCheck()" target="_top">
<input type="hidden" name="username" id="txtUserName" value="" />
<!-- 登录框 Begin -->
<fieldset class="fmi_LgBxWp">
<legend style="height:0px; overflow:hidden; color:#FFF; font-size:0px; line-height:0px; display:none">登录网易免费邮箱</legend>
<div class="fmi_LgBxCon">
<h3 class="ImgJ2 LgBx_Name"></h3>
<table border="0" cellspacing="0" cellpadding="0" class="LgBxLst_tb">
<tr>
<th nowrap>用户名</th>
<td width="200"><input type="text" name="user" id="txtUser" class="Ipt" style="width:190px;" onFocus="this.className='Ipt IptOnF'" onBlur="this.className='Ipt'" maxlength="50" tabindex="1"></td>
<td width="20" class="Sgn_At">@</td>
<td width="">
<select name="" class="Sel Sel1" id="selDomain" onChange="fSwitchTab(this.value)" onkeyup="if((event.keyCode||event.charCode) == 38 || (event.keyCode||event.charCode) == 40)fSwitchTab(this.value)" tabindex="3">
<option value="163" selected="true"
- 1
- 2
- 3
- 4
- 5
- 6
前往页