<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript"> 
    var conf = {
        isVip:false,
        isMem:false
    };
    var sinaSSOConfig = {
        entry : 'cnmail', // 本产品的标识
        loginType : 0,
        setDomain : true,
        pageCharset :'UTF-8',
        customInit : function() {
            sinaSSOController.setLoginType(3);
        },
        customLoginCallBack : function(status){
            conf.loginCallBack(status);
        }
    };
</script>
<script type="text/javascript" src="template/default/login/images/r.core.js"></script>
<script type="text/javascript" src="template/default/login/images/webface_news_vip.js"></script>

<title>PHPOA协同网络办公系统</title>
<link rel="stylesheet" href="template/default/login/images/viplogin_130319.css" />
</head>
<body>
<div id="bgHeight" class="bgHeight">
    <input type="hidden" class="productName" value="vip" />
	<!--登录页背景-->
	<div class="viploginbg"><img src="about:blank" style="width:1260px; height:auto; margin-left: 0px; margin-top:-40px; visibility: visible;" /></div>
	<!--/登录页背景-->
	<!--顶部导航-->
	<div class="topbar">
		<div class="topmain">
			<h1 class="logo"><a href="http://www.phpoa.cn/"></a></h1>
			<div class="rtop"><a href="http://www.phpoa.cn/"></a></div>
		</div>
	</div>
	<!--/顶部导航-->
	<!--登录框-->
	<div class="loginBox" id="loginBox">
        <form name="login" method="post" target="_top" action="login.php">
<input type="hidden" name="dosubmit" value="yes" />
	    <ul class="vipMailbox">
	        <li class="mailname"><label class="placeholder" for="vipname">输入用户名</label><input type="text" value="" name="username" class="username focus" id="vipname" tabindex="1"><a class="clearname" href="#" style="display: none;"></a></li>
	        <li class="mailpass" style="margin-top:5px;"><input type="password" value="" name="password" class="password" id="vippassword" tabindex="2"/><label class="placeholder" for="vippassword">输入密码</label></li>
           <li class="btn">
            <a class="loginBtn" href="javascript:document:login.submit();" tabindex="3">登录</a></li>
	    </ul>
		</form>
	</div>
	<!--/登录框-->
	<!--尾部-->
		<div class="vipfooter">
		
			<div class="footenter">
				<div class="copyRight">CopyRight © 2015&nbsp; <a href="http://www.phpoa.cn/">桂林天生智创信息技术有限公司</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Powered by <a href="http://www.phpoa.cn/">PHPOA</a> V4.0</div>
				
			</div>
		</div>
	<!--/尾部-->
</div>
<script type="text/javascript"> 
    var loginBox = document.getElementById('loginBox');
    var setMiddle = function(){
        var middleH;
        var windoww = Math.max(document.body.clientWidth, document.documentElement.clientWidth),
            windowh = Math.max(document.body.clientHeight, document.documentElement.clientHeight);
        if(windowh <= 500 && windoww <= 950){
            middleH = getMiddleH(1);
        }else if(windowh <= 500){
            middleH = getMiddleH(1);
        }else if(windoww <= 950){
            middleH = getMiddleH();
        }else{
            middleH = getMiddleH();
        }
        loginBox.style.marginTop = 
        loginBox.style.marginBottom = middleH + 'px';
    };
    //获得居中高度
    function getMiddleH(flag){
        var bgHeight = document.getElementById('bgHeight');
        var height = loginBox.clientHeight;
        if(!flag){
            return (bgHeight.clientHeight - 54 - 65 - height)/2;
        }else{
            return (500- 54 - 65 - height)/2;
        }
    }
    setMiddle();
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?e7c71ab27c2369ff3e50bcd32a8c4c79";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script type="text/javascript" src="template/default/login/images/login_130314.js"></script>
</body>
</html>

