<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<!-- Copyright (C) 2000 Tivoli Systems, Inc. -->
<!-- Copyright (C) 1999 IBM Corporation -->
<!-- Copyright (C) 1998 Dascom, Inc. -->
<!-- All Rights Reserved. -->
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
<TITLE>宁波舟山港门户</TITLE>
<style type="text/css">
/*orange words link*/
.orange:link {
 font-size:12px;
 font-family:"宋体";
 color:#FF9900;
 text-decoration:none;
}
.orange:visited {
 font-size:12px;
 font-family:"宋体";
 color:#FF9900;
 text-decoration:none;
}
.orange:hover {
 font-size:12px;
 font-family:"宋体";
 color:#FF9900;
 text-decoration:none;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	line-height:20px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
table {
    font-size:12px;
	
}
</style>

<script language="javascript">
var from = null;
var cookie_string =""+document.cookie;
var cookie_array = cookie_string . split ("; ");
for (var i = 0; i < cookie_array . length; ++ i) {
    var single_cookie = cookie_array [i] . split ("=");
    var name = single_cookie [0];
    if(name == "from" && single_cookie [1] != "") {
      from = single_cookie [1];
      document.cookie = "from=;expires="+(new Date(0)).toGMTString()+";path=/;domain=.nbport.com.cn";
    }
}
if(window.parent && (window.parent.frames['loginIframe'] || window.parent.document.forms['loginForm'])) {
    // 子公司
} else {
    if(from == "group"){
        location = "http://www.nbport.com.cn/tam/tamapp/groupLogin.jsp";
    //}else if(from == "company"){
    }else {
        location = "http://www.nbport.com.cn/tam/tamapp/login.jsp";
    }
}

</script>

<SCRIPT LANGUAGE=JavaScript>
var warningString = "<B>警告：</B>要维持登录会话，请确保您的浏览器配置为接受 Cookie。";
document.cookie = 'acceptsCookies=yes';
if(document.cookie == ''){
document.write(warningString);
}
else{
document.cookie = 'acceptsCookies=yes; expires=Fri, 13-Apr-1970 00:00:00 GMT';
}
</SCRIPT>
<script language="javascript">

var exception_list = "";
function delete_cookie (name, path)
{
var expiration_date = new Date ();
expiration_date . setYear (expiration_date . getYear () - 1);
expiration_date = expiration_date . toGMTString ();
var cookie_string = name + "=; expires=" + expiration_date;
if (path != null)
cookie_string += "; path=" + path;
document . cookie = cookie_string;
}
function name_in_list (n, lst)
{
var arr = lst . split ("; ");
for (var j = 0; j < arr . length; j ++) {
if (arr[j] == n)
return true;
}
return false;
}
function delete_all_cookies (path, exceptions)
{
	var cookie_string =""+document.cookie;
	var cookie_array = cookie_string . split ("; ");
	for (var i = 0; i < cookie_array . length; ++ i) {
		var single_cookie = cookie_array [i] . split ("=");
		var name = single_cookie [0];
		if (name_in_list(name, exceptions) == false)
			delete_cookie (name, path);
		}
}

function loginSubmit(){
delete_all_cookies("/",exception_list);
document.getElementById("loginForm").submit;
}
function logininit(){
var errormessage = document.getElementById("errorMsgInput");
if(errormessage.value != ""){
document.getElementById("errorMessage").innerHTML="请输入正确的用户名、密码！";
}
window.document.getElementById('username').focus();
}
</script>

</HEAD>

<body onload="logininit();">
<input type="hidden" id="errorMsgInput" name="errorMsgInput" value=""/>
<input type="hidden" name="_webseal_edi_state" id="_webseal_edi_state" value="_webseal_edi_state_success">
<!--- END Cookie check block --->
<FORM name="loginForm" id="loginForm" METHOD=POST ACTION="/pkmslogin.form" onsubmit="return loginSubmit();">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="1" colspan="2" bgcolor="#CDDAED"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
  </tr>
  <tr>
    <td width="20">&nbsp;</td>
    <td height="78"><img src="http://www.nbport.com.cn/icons/login/logo-new2.jpg" width="200" height="27" /></td>
  </tr>
   <tr>
    <td height="1" colspan="2" bgcolor="#CDDAED"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="1" background="/icons/login/line_01.gif"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  
  <tr>
    <td width="20" bgcolor="#CDDAED">&nbsp;</td>
    <td width="1" background="/icons/login/line_02.gif"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
    <td width="777" height="76" bgcolor="#004098"><img src="http://www.nbport.com.cn/icons/login/login.jpg" width="86" height="35" hspace="24" /></td>
    <td width="1" background="/icons/login/line_02.gif"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" rowspan="2" bgcolor="#CDDAED">&nbsp;</td>
    <td width="1" background="/icons/login/line_02.gif"></td>
    <td height="12" bgcolor="#EFEFEF">&nbsp;</td>
    <td background="/icons/login/line_02.gif"></td>
  </tr>
  <tr >
    <td width="1" background="/icons/login/line_02.gif"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
    <td width="777" height="200">
	<table width="320" border="0" cellspacing="0" cellpadding="0">
	<tr>
        <td width="300"><span id="errorMessage" style="color:#FF0000;width:200px"></span></td>
	</tr>
	</table>
	<table width="320" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="20">&nbsp;</td>
        <td>用户名：</td>
        <td><input type="text" name="username" id="username" tabindex="1" style="width:160px;height:20px" /></td>
        <td><input type="image" onclick="return loginSubmit();" src="http://www.nbport.com.cn/icons/icon_01.jpg" width="45" height="25" border="0"/></td>
      </tr>
      <tr>
        <td height="12" colspan="4"></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
        <td>密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
        <td><input type="password" name="password" tabindex="2" style="width:160px;height:20px"  maxlength="50"/></td>
        <td><a href="/apps/contant/findpwd.jsp" class="orange">忘记密码</a></td>
      </tr>
	  <INPUT TYPE="HIDDEN" NAME="login-form-type" VALUE="pwd">
    </table></td>
    <td width="1" background="/icons/login/line_02.gif"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="1" background="/icons/login/line_01.gif"><img src="/icons/index/kg.gif" width="1" height="1" /></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" height="30" bgcolor="#EFEFEF">&nbsp;</td>
    <td width="1" background="/icons/login/line_02.gif" bgcolor="#EFEFEF"></td>
    <td width="777" align="left" bgcolor="#EFEFEF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;宁波舟山港股份 主办 版权所有</td>
    <td width="1" background="/icons/login/line_02.gif" bgcolor="#EFEFEF"></td>
  </tr>
</table>
</FORM>
</body>
</HTML>
