<%@ page language="C#" autoeventwireup="true" inherits="Passport_Index, HoWaveVGO" debug="false" enableEventValidation="false" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="../UserControls/UserLogin.ascx" TagName="UserLogin" TagPrefix="uc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>通行证中心</title>
<style type="text/css">
HTML {
	HEIGHT: 100%; max-height: 100%;
}
body{ font-size:12px;margin:0;OVERFLOW: hidden;HEIGHT: 100%; max-height: 100%;}
a{text-decoration:none;color:blue;}
.modalPopup {
	background-color:#ffffdd;
	background-image:url(Images/dialog/sBody_bg.png);	
	border-color:Black;
    border:1px;
	width:300px;
	position:absolute; top:200px ; left:300px;
	filter:progid:DXImageTransform.Microsoft.Gradient 
(startColorStr='#F7FCFF', endColorStr='#CCECFD', gradientType='0');
   
}
.modalPouupIhert
{
    border-width:1px;
	border-style:solid;
	border-color:#1F81DF;	
	padding:1px;
}
.MenuBar_Top
{
     background-image:url(Images/dialog/MenuBar_top.png);
     background-repeat:repeat-x;
     color:white;
     cursor: move;
     
}
.Close{ cursor: hand;}
.modalBackground {
	background-color:#C0C0C0;
	filter:alpha(opacity=70);
	opacity:0.7;
}
#toolbar {
	BACKGROUND: url(Images/dialog/toolbar_bg.gif) #f3f5fc repeat-x left top; 
	OVERFLOW: hidden;
	BORDER-BOTTOM: #a3a2b3 1px solid;
	z-index:100;
	position:absolute;	 
	HEIGHT: 22px;!important;
	Height:32px;	
	padding-top:3px;
}
#toolbar A {
	 OVERFLOW: hidden; LINE-HEIGHT: 22px; COLOR: #333;padding:2px;
}
#toolbar A:hover {
	BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #fff 1px solid; BORDER-LEFT: #fff 1px solid; BORDER-BOTTOM: #808080 1px solid; TEXT-DECORATION: none; padding:2px;
}
.framestyle{width:100%;OVERFLOW: hidden; clear:both;HEIGHT: 100% }	
    </style>
<!--[if ie]>
<STYLE>
.framestyle {
	HEIGHT: 100%;width:100%;
}
</STYLE>
 <![endif]-->   
</head>
<body  style="overflow-x:hidden;">
    <form id="form1" runat="server">  
    
       <asp:ScriptManager ID="ScriptManager1" runat="server" />
       <div style="position:absolute; z-index:0; " onmousemove="showToolbar();"><img src="Images/nav1.gif" border="0" style="filter:alpha(opacity=70);" /></div>
       <!--导航条-->
       <div id="toolbar" style="display:none;" onmouseout="fixToolbar(-1);" onmousemove='this.style.display="";' >
          <div id="toolbar_login" style="float:left; margin-left:5px">          
             <asp:HyperLink ID="LoginBtn" Text="通行证登录" runat="server" NavigateUrl="#" /> &nbsp;::             
             <asp:HyperLink ID="RegBtn" Text="注册" runat="server" NavigateUrl="#"  Visible="false"/>
              <%-- <a href="javascript:void(0)" onclick="return initContent('Login.aspx');">登录</a>&nbsp;:: --%>
             <a href="javascript:void(0)" onclick="return initContent('UserReg.aspx','通行证中心');">注册</a>&nbsp;:: 
             <a href="javascript:void(0)" onclick="return initContent('forget_password.aspx','通行证中心');">找回密码</a>&nbsp;:: 
          </div>
          <div id="toolbar_welcome" style="display:none; float:left; margin-left:5px;"></div>
          <div style="float:left">
              <a href="javascript:void(0)" onclick="return initContent('../','首页');">首页</a>&nbsp;:: 
             <a href="javascript:void(0)" onclick="return initContent('MySpace.aspx','通行证中心');">个人空间</a>&nbsp;:: 
             <a href="javascript:void(0)" onclick="return initContent('TransferPoint.aspx','通行证中心');">社区银行</a>
             <%GetInterfaceMenu(); %>
          </div>
          <div style="float:right">
             <span id="time"></span>&nbsp;
             <a href="javascript:void(0)" onclick="fixToolbar(1);"><img src="Images/fix.gif" border="0"  height="23px"/></a>
             <a href="javascript:void(0)" onclick="javascript:document.getElementById('toolbar').style.display='none';fixToolbar(0);"><img src="Images/dialog/dialogCloseF.gif"  border="0" style="margin-bottom:3px;"/></a></div>          
       </div>
       <!--导航条-->
       
       <!--子页面-->  
       <div class="framstyle">   
          <iframe id="main_frame" style="Z-INDEX: 1; VISIBILITY:  inherit;width:100%;height:100%;" name="howave_usercenter_main" src='<%=m_subUrl %>' frameBorder="0" scrolling="yes"></iframe>             
       </div>
       <!--子页面-->
       <asp:Panel ID="LoginPanel" runat="server" Style="display: none" CssClass="modalPopup">
          <div class="modalPouupIhert">
             <asp:Panel ID="Panel3" runat="server" CssClass="MenuBar_Top" Height="20px">
                 <div style=" float:left">&nbsp;&nbsp;登录</div>
                 <div style=" float:right"><asp:ImageButton ID="CloseLogin" ImageUrl="Images/dialog/dialogCloseF.gif" runat="server"  CssClass="Close" ForeColor="white"/>&nbsp;&nbsp;</div>
             </asp:Panel> 
             <div style="text-align:left; padding:5px; height:80px;">
                 <uc1:UserLogin ID="UserLogin1" runat="server" />                                  
             </div> 
          </div>   
        </asp:Panel>
        <asp:Panel ID="RegPanel" runat="server" Style="display: none" CssClass="modalPopup">
          <div class="modalPouupIhert">
             <asp:Panel ID="Panel4" runat="server" CssClass="MenuBar_Top" Height="20px">
                 <div style=" float:left">&nbsp;&nbsp;用户注册</div>
                 <div style=" float:right"><asp:ImageButton ID="CloseReg" ImageUrl="Images/dialog/dialogCloseF.gif" runat="server"  CssClass="Close" ForeColor="white"/>&nbsp;&nbsp;</div>
             </asp:Panel> 
             <div style="text-align:left; padding:5px;">
                 <table >
                     <tr>
                        <td align="right">用户名</td>
                        <td><input type="text" id="RegUserName" style="width:150px;"/></td>
                     </tr>
                     <tr>
                        <td align="right">密码</td>
                        <td><input id="RegPassword" type="password" style="width:150px;"/></td>
                     </tr>
                     <tr>
                        <td align="right">确认密码</td>
                        <td><input id="ConfirmPassword" type="password" style="width:150px;"/></td>
                     </tr>
                     <tr>
                        <td align="right">Emial</td>
                        <td><input type="text" id="RegEmail" style="width:150px;"/></td>
                     </tr>
                     <tr>
                        <td align="right">验证码</td>
                        <td><input type="text" id="RegCheckCode" style="width:150px;"/><img src="CheckCode.aspx" /></td>
                     </tr>
                     <tr>
                        <td colspan="2" align="center"><input type="button" value="确定"  id="RegButton" onclick="RegUser();"/></td>
                        
                     </tr>                     
                 </table>                                  
             </div> 
          </div>   
        </asp:Panel>
        
        <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender" runat="server" 
            TargetControlID="LoginBtn"
            PopupControlID="LoginPanel" 
            BackgroundCssClass="modalBackground"                     
            CancelControlID="CloseLogin" 
             DropShadow="false"
             X="300"
             Y="250"
            PopupDragHandleControlID="Panel3" />
        <ajaxToolkit:ModalPopupExtender ID="mp2" runat="server" 
            TargetControlID="RegBtn"
            PopupControlID="RegPanel" 
            BackgroundCssClass="modalBackground"                     
            CancelControlID="CloseReg" 
             OnCancelScript="ClearReg()"
            DropShadow="true"
            PopupDragHandleControlID="Panel4" />
    </form>
</body>
</html>
<script src="Js/passport.js?" type="text/javascript"></script> 
<script type="text/javascript">
 function initContent(url,titles)
 {
   url = typeof url != 'undefined' ? url : ''; 
   parent.howave_usercenter_main.location = url; 
   if(titles!='')
   {     
      document.title=titles;      
   }  
    return false; 
 }    
CheckIndexLogin();
//激活asp.net
setTimeout("Active()",100000);
//显示时间
//setTimeout("ShowTime()",1000);
</script>
<iframe id="ActivePage" name="ActivePage" src="" width="0" height="0"></iframe> 