<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="JobFair.ascx.cs" Inherits="MyITJob.ascx.JobFair" %>
<script language='javascript' src='../js/scj.js'></script>

<script language="JavaScript">
		function close_div(divname){
  			document.getElementById(divname).style.display = "none";
		}
		window.onload = function(){
		    setTimeout("close_div('default_AD')",500000);
		}
		function open_div(openname){
			var id, j, e;
			for(var i=1;i<3;i++){
				id = "thlogin" + i;
				e = document.getElementById("thlogin"+i);
				if(id != openname.id){
					e.style.display = 'none';
				}else{
					e.style.display = 'block';
				}
			}
		}
</script>

<div id="default_AD">
    <div style="width: 992px; margin: 0 auto;">
        <h1>
            <div style="float: left; font-size: 14px; font-family: Verdana; color: #FFFFFF;">
                <%=Top_GG%>
            </div>
        </h1>
        <div style="float: right;">
            <a href="javascript:" onclick="close_div('default_AD');"><font color="#FFFFFF">关闭</font></a></div>
    </div>
</div>
<div style="width: 992px; margin: 0px auto; clear: both;">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="330">
                <%if (top_img == null || top_img == "") {%>
                <div class="Logo">
                </div>
                <%} else { %>
                <a href='<%=Application["PageUrl"]%>'>
                    <img src="../images/CityLogo/<%=top_img %>" title="回到主站" border="0" /></a><%} %>
            </td>
            <td width="566">
                <asp:Repeater ID="banner_ad" runat="server">
                    <ItemTemplate>
                        <a href="<%#Eval("go_Url") %>">
                            <img title="<%#Eval("alt") %>" src='../AD/FastAD/<%#Eval("img_url") %>' border="0"
                                width="468" height="60" /></a>
                    </ItemTemplate>
                </asp:Repeater>
            </td>
            <td width="96" valign="top">
                <div class="floatN">
                    <img src="../images/topLogin.gif" border="0" usemap="#Map" />
                </div>
                <div style="margin: 3px;" onmousemove="fromDiv(1);">
                    <a href="#">
                        <img src="/images/daohangbg.gif" alt="分站导航" width="79" height="21" border="0" /></a></div>
                <div id="formDiv" class="from" onmousemove="fromDiv(1);" onmouseout="fromDiv(0);"
                    style="display: none; border: 1px solid #D4D4D4; background: #F2F2F2;">
                    <asp:Repeater ID="From_RP" runat="server">
                        <ItemTemplate>
                            <div class="From_PR_Class">
                                <a href="http://<%#Eval("Host_EnName") %>.<%=_host %>/">
                                    <%#Eval("Host_CnName")%>
                                </a>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </td>
        </tr>
    </table>
    <table border="0" cellspacing="0" cellpadding="0" width="100%" align="center" class="toolbar_div">
        <tr>
            <td>
                <div class="HeadL">
                </div>
            </td>
            <td>
          <table border="0" cellspacing="0" cellpadding="0">                
                    <tr>
                        <td width="110" align="center" style="padding-top: 3px;"
                            onmouseover="this.className='tdbgeover'" onmouseout="this.className='tdbgout'">
                            <a href="/Default.aspx"><strong>回到首页</strong></a></td>
                        <td width="1" align="center">
                            <div class="HeadC">
                            </div>
                        </td>
                        <td width="110" align="center" style="padding-top: 3px;"
                            onmouseover="this.className='tdbgeover'" onmouseout="this.className='tdbgout'">
                          <a href="Default.aspx"><strong>招聘会列表</strong></a></td>
                        <td width="1" align="center">
                            <div class="HeadC">
                            </div>
                        </td>
                        <td width="110" align="center" style="padding-top: 3px;"
                            onmouseover="this.className='tdbgeover'" onmouseout="this.className='tdbgout'">
                          <a href="Default.aspx?Action=Add"><strong>会展报名</strong></a></td>
                        <td width="1" align="center">
                            <div class="HeadC">
                            </div>
                        </td>
                        <td width="110" align="center" style="padding-top: 3px;"
                            onmouseover="this.className='tdbgeover'" onmouseout="this.className='tdbgout'">
                          <a href="/newsall.aspx"><strong>新闻资讯</strong></a></td>
                        <td width="1" align="center">
                            <div class="HeadC">
                            </div>
                        </td>
                    </tr>
                </table>
          </td>            
            <td width="2">
                <div class="HeadR">
                </div>
            </td>
        </tr>
    </table>
</div>
<div id="thlogin1" style="display: none;">
    <%if (_cookies == null) {%>
    <div>
        <div style="padding-bottom: 20px;">
            <div style="float: left; width: 260px;">
                个人账户登录</div>
            <div>
                <a href="#" onclick="close_div('thlogin1');">[关闭窗口]</a></div>
        </div>
        <div>
            <div class="userDiv">
                登陆账户：<input name="P_Name" type="text" style="width: 130px;" /></div>
            <div class="userDiv2">
                <a href="../Person/reg1.aspx">注册个人用户</a></div>
        </div>
        <div style="clear: both;">
        </div>
        <div>
            <div class="userDiv">
                登陆密码：<input name="P_Pwd" type="password" style="width: 130px;" /></div>
            <div class="userDiv2">
                <a href="../getpwd.aspx">找回密码信息</a></div>
        </div>
        <div style="clear: both;">
        </div>
        <div>
            <asp:Button ID="P_Button" runat="server" Text="个人登录" OnClick="P_Button_Click" />
            <input name="" type="reset" /></div>
    </div>
    <%} %>
    <div style="margin:20px;">
        <%if (_cookies != null) {%>
        您已经登陆了。<a href="#" onclick="close_div('thlogin1');">[关闭窗口]</a>
        <%} %>
    </div>
</div>
<div id="thlogin2" style="display: none;">
    <%if (_cookies == null) {%>
    <div>
        <div style="padding-bottom: 20px;">
            <div style="float: left; width: 260px;">
                企业账户登录</div>
            <div>
                <a href="#" onclick="close_div('thlogin2');">[关闭窗口]</a></div>
        </div>
        <div>
            <div class="userDiv">
                登陆账户：<input name="C_Name" type="text" style="width: 130px;" /></div>
            <div class="userDiv2">
                <a href="../Company/reg1.aspx">注册企业用户</a></div>
        </div>
        <div style="clear: both;">
        </div>
        <div>
            <div class="userDiv">
                登陆密码：<input name="C_Pwd" type="password" style="width: 130px;" /></div>
            <div class="userDiv2">
                <a href="../getpwd.aspx">找回密码信息</a></div>
        </div>
        <div style="clear: both;">
        </div>
        <div>
            <asp:Button ID="C_Button" runat="server" Text="企业登录" OnClick="C_Button_Click" />
            <input name="" type="reset" /></div>
    </div>
    <%} %>
    <div style="margin:20px;">
        <%if (_cookies != null) {%>
        您已经登陆了。<a href="#" onclick="close_div('thlogin2');">[关闭窗口]</a>
        <%} %>
    </div>
</div>
<map name="Map" id="Map">
    <area shape="rect" coords="3,2,82,22" href="#1" id="Area1" onclick="open_div(this);" />
    <area shape="rect" coords="2,22,83,42" href="#2" id="Area2" onclick="open_div(this);" />
</map>