<%@ Control Language="c#" AutoEventWireup="True" Codebehind="WebTop.ascx.cs" Inherits="DreamerShop.TP1.WebTop" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="uc1" TagName="ShopWindow" Src="ShopWindow.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SiteMessage" Src="SiteMessage.ascx" %>
<%@ Register TagPrefix="uc1" TagName="ColumnNavigation" Src="ColumnNavigation.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<SCRIPT ID="clientEventHandlersJS" LANGUAGE="javascript">
	<!--

		function window_onload() {
			<%=strgOnloadMsg%>
		}

		function popUpWindow(URLStr, left, top, width, height)

		{
			var popUpWin=0;
			if(popUpWin)

			{

			if(!popUpWin.closed) popUpWin.close();

			}

			popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
		}
		function window_onunload() {
			
		}

	//-->
</SCRIPT>
<SCRIPT LANGUAGE="javascript" FOR="window" EVENT="onload">
		<!--
			window_onload()
		//-->
</SCRIPT>
<SCRIPT LANGUAGE="javascript" FOR="window" EVENT="onunload">
		<!--
			window_onunload()
		//-->
</SCRIPT>
<%=strgFlutterMsg%>
<%=strgSuspendMsg%>
<%=strgCoupletMsg%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><table width="1004" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="234" rowspan="2" align="center" valign="middle"><asp:Label ID="lbLogo" runat="server"></asp:Label></td>
        <td width="770" height="29" align="center" valign="middle"><table width="740" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="494" align="left" valign="middle"><marquee direction="left" scrollamount="5" onMouseOver="this.stop()" onMouseOut="this.start()"><uc1:SiteMessage id="SiteMessage1" runat="server"></uc1:SiteMessage></marquee></td>
            <td width="246" align="right" valign="middle">
			<table width="232" border="0" cellpadding="0" cellspacing="0" bgcolor="#E2E2E2">
			  <tr>
				<td width="10" align="left" valign="middle"><img src="Images/TP29/art_03.gif" width="5" height="20" /></td>
				<td width="216" align="center"><%if(Session["UserInf"]==null){%><a href="Login.aspx"><%=myLanguagesDeal.GetMyString("LoginButtonLogin")%></a><%}%> | <%if(Session["UserInf"]==null){%><a href="UserReg.aspx"><%=myLanguagesDeal.GetMyString("LoginButtonRegister")%></a><%}else{%><a href="Logout.aspx"><%=myLanguagesDeal.GetMyString("Logout")%></a><%}%> | <a href="UserCenter.aspx"><%=myLanguagesDeal.GetMyString("MemberCenter")%></a> | <a href="LeaveWord.aspx"><%=myLanguagesDeal.GetMyString("GuestBook")%></a> </td>
				<td width="10" align="right" valign="middle"><img src="Images/TP29/art_05.gif" width="6" height="20" /></td>
			  </tr>
			</table>
			</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td align="center" valign="top">
		
		<!--Form Start-->
		<form style="BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px"
					name="formsearch" action="<%=mstrFindUrl%>" method="post">
		<table width="750" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="316" align="right"><img src="Images/TP29/08wd_08.gif" width="47" height="19" /></td>
            <td width="109" align="left" valign="middle"><asp:label id="lbSelect" runat="server"></asp:label></td>
            <td width="200" align="left" valign="middle"><input name="SearchKey" type="text" class="wenbenkuang" size="16" maxlength="32"></td>
            <td width="53" align="left" valign="middle"><input type="image" src="Images/TP29/08wd_10.gif" width="45" height="19"align="absMiddle"	border="0" name="submit" /></td>
            <td width="72" align="left" valign="middle"><a href="Search.aspx"><img src="Images/TP29/08wd_12.gif" width="70" height="19" border="0" /></a></td>
          </tr>
        </table>
		</form>
		
		</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="38" align="center" valign="middle" background="Images/TP29/headtitlec.gif"><table width="1004" border="0" cellspacing="0" cellpadding="0">
      <tr >
        <td align="left" valign="middle">
		<table width="863" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	   <td width="100" align="center" valign="middle"  height="26"><a href="Index.aspx"><font color="#FFFFFF"><b><%=myLanguagesDeal.GetMyString("Home")%></b></font></a></td>
		<td align="left" valign="top"><uc1:ColumnNavigation id="ColumnNavigation1" runat="server"></uc1:ColumnNavigation></td>
		 </tr>
	</table>
		</td>
        <td width="141" align="center" valign="middle" class="date"><SCRIPT>var mydate=new Date()        
        var year=mydate.getYear()        
        if (year < 1000)
           year+=1900        
        var day=mydate.getDay()        
        var month=mydate.getMonth()+1        
        if (month<10)        
        month="0"+month        
        var daym=mydate.getDate()        
        if (daym<10)        
        daym="0"+daym        
        var dayarray=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六")        
        document.write("<font color='#DFEA6A'>"+year+"-"+month+"-"+daym+"&nbsp;&nbsp;&nbsp;"+dayarray[day]+"</font>")
        </SCRIPT></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td  align="center" valign="middle" >
		<asp:panel id="PanTopImage" runat="server" >
			<table width="888" border="0" align="center" cellpadding="0" cellspacing="0">
				<TR>
					<TD align="center">
						<asp:Label id="lbTopImage" runat="server"></asp:Label></TD>
				</TR>
			</TABLE>
		</asp:panel>
		<uc1:ShopWindow id="ShopWindow1" runat="server"></uc1:ShopWindow>
	</td>
  </tr>
</table>