<%@ 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" %>
<%@ Register TagPrefix="uc1" TagName="ShoppingCart" Src="ShoppingCart.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SelLanguagesMode" Src="SelLanguagesMode.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="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="294" align="left" valign="middle"><asp:Label ID="lbLogo" runat="server"></asp:Label></td>
    <td width="666" align="right" valign="middle"><table width="640" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="330" height="26">&nbsp;</td>
        <td width="310" align="center" valign="middle">
			<table width="300" border="0" cellpadding="0" cellspacing="0">
			  <tr>
				<td><%=myLanguagesDeal.GetMyString("WelcomeMsg")%> <%if(Session["UserInf"]==null){%><a href="UserReg.aspx" class="h"><%=myLanguagesDeal.GetMyString("LoginButtonRegister")%></a><%}%> &nbsp;<%if(Session["UserInf"]==null){%><a href="Login.aspx"  class="h"><%=myLanguagesDeal.GetMyString("LoginButtonLogin")%></a><%}else{%><a href="Logout.aspx"  class="h"><%=myLanguagesDeal.GetMyString("Logout")%></a><%}%> </td>
				<td><uc1:SelLanguagesMode id="SelLanguagesMode1" runat="server"></uc1:SelLanguagesMode></td>
			  </tr>
			</table>
		</td>
      </tr>
      <tr>
        <td height="34" align="center" valign="middle"><div id="topmenu"><a href="UserCenter.aspx"><%=myLanguagesDeal.GetMyString("MemberCenter")%></a> | <a href="LeaveWordList.aspx"><%=myLanguagesDeal.GetMyString("GuestBook")%></span></a> | <a href="Shopping.aspx" ><span><%=myLanguagesDeal.GetMyString("ShoppingCar")%></span></a> | <a href='SiteMap.aspx' target="_blank"><%=myLanguagesDeal.GetMyString("TextSiteMap")%></a></div></td>
        <td align="left" valign="middle"><uc1:ShoppingCart id="ShoppingCart1" runat="server"></uc1:ShoppingCart></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2"><table width="960" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="5" align="left" valign="middle"><img src="Images/TP41/hshop_r4_c1.jpg" width="5" height="29" /></td>
        <td width="950" align="left" valign="middle" class="menubg"><table width="900" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100" height="29" align="center" valign="middle"><a href="index.aspx" class="menu"><%=myLanguagesDeal.GetMyString("Home")%></a></td>
            <td align="left" valign="middle" class="menuleftbg"><uc1:ColumnNavigation id="ColumnNavigation1" runat="server"></uc1:ColumnNavigation></td>
            </tr>
        </table></td>
        <td width="5" align="right" valign="middle"><img src="Images/TP41/hshop_r4_c36.jpg" width="5" height="29" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="28" colspan="2" align="center" valign="middle" class="fmenu">
	<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="920" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="64" align="left"><strong><%=myLanguagesDeal.GetMyString("SearchKeyMsg")%></strong></td>
        <td width="179" align="left" valign="middle"><input name="SearchKey" type="text" class="wenbenkuang" size="20" /></td>
        <td width="140" align="left" valign="middle"><asp:label id="lbSelect" runat="server" ></asp:label>
        </select>
        </td>
        <td width="41" align="left" valign="middle"><input type="image" src="Images/TP41/hshop_r7_c28.jpg"  border="0" name="submit" /></td>
        <td width="126" align="left" valign="middle"><a href="Search.aspx" class="h"><%=myLanguagesDeal.GetMyString("SearchAdvanceMsg")%></a></td>
        <td width="370" align="center" valign="middle"><marquee direction="left" scrollamount="5" onMouseOver="this.stop()" onMouseOut="this.start()"><uc1:SiteMessage id="SiteMessage1" runat="server"></uc1:SiteMessage></marquee></td>
      </tr>
    </table>
</form>
	</td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top" colspan="2"><asp:panel id="PanTopImage" runat="server" ><asp:Label id="lbTopImage" runat="server"></asp:Label></asp:panel></td>
  </tr>
  <tr>
    <td align="center" valign="top" colspan="2"><uc1:ShopWindow id="ShopWindow1" runat="server"></uc1:ShopWindow></td>
  </tr>
</table>
