<%@ 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="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="221" align="left" valign="middle"><asp:Label ID="lbLogo" runat="server"></asp:Label></td>
    <td width="579" align="right" valign="bottom"><table width="536" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="34" align="right" valign="middle" class="topbgx"><table width="580" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="76" align="center" valign="middle" class="rigbg"><%if(Session["UserInf"]==null){%><a href="UserReg.aspx"><%=myLanguagesDeal.GetMyString("LoginButtonRegister")%></a><%}%></td>
            <td width="76" align="center" valign="middle" class="rigbg"><%if(Session["UserInf"]==null){%><a href="Login.aspx"><%=myLanguagesDeal.GetMyString("LoginButtonLogin")%></a><%}else{%><a href="Logout.aspx"><%=myLanguagesDeal.GetMyString("Logout")%></a><%}%></td>
            <td width="76" align="center" valign="middle" class="rigbg"><a href="UserCenter.aspx"><%=myLanguagesDeal.GetMyString("MemberCenter")%></a></td>
            <td width="76" align="center" valign="middle" class="rigbg"><a href="LeaveWordList.aspx" ><%=myLanguagesDeal.GetMyString("GuestBook")%></a></td>
            <td width="76" align="center" valign="middle" class="rigbg"><a href="HelpInf.aspx"><span ><%=myLanguagesDeal.GetMyString("HelpCenter")%></span></a></td>
            <td width="76" align="center" valign="middle" class="rigbg"><a href='SiteMap.aspx' target="_blank"><span ><%=myLanguagesDeal.GetMyString("TextSiteMap")%></span></a></td>
            <td width="76" align="center" valign="middle"><a href="Shopping.aspx" ><span><%=myLanguagesDeal.GetMyString("ShoppingCar")%></span></a></td>
            <td width="21" align="left" valign="middle"><img src="Images/TP36/enDream_r2_c39.jpg" width="16" height="15" /></td>
			<td width="40" align="left" valign="middle"><%if(mConfigInf.IsSelCharSet==1){%><a href="SelLanguages.aspx?CharKey=zh-CN"><span class="font11"><%=myLanguagesDeal.GetMyString("TextLanguageCN")%></span></a><span >|</span><a href="SelLanguages.aspx?CharKey=zh-TW"><span ><%=myLanguagesDeal.GetMyString("TextLanguageTW")%></span></a><br><a href="SelLanguages.aspx?CharKey=en-us"><span ><%=myLanguagesDeal.GetMyString("TextLanguageEN")%></span></a><%}%></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="33" align="right"><table width="530" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td 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>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2"><table width="800" border="0" cellpadding="0" cellspacing="0" class="menubg">
      <tr>
        <td width="14" align="left" valign="middle"><img src="Images/TP36/enDream_r4_c2.jpg" width="14" height="30" /></td>
        <td width="773" align="left" valign="middle"><table width="770" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" align="center" valign="middle" class="menurigbg" width="80"><a href="index.aspx" class="nav"><%=myLanguagesDeal.GetMyString("Home")%></a></td>
            <td align="left" valign="middle" class="menurigbg">
			<uc1:ColumnNavigation id="ColumnNavigation1" runat="server"></uc1:ColumnNavigation>
			</td>
            </tr>
        </table></td>
        <td width="13" align="right" valign="middle"><img src="Images/TP36/enDream_r4_c40.jpg" width="13" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2"><table width="800" border="0" cellpadding="0" cellspacing="0" class="menu2bg">
      <tr>
        <td width="7" height="28" align="left" valign="middle"><img src="Images/TP36/enDream_r5_c2.jpg" width="7" height="28" /></td>
        <td width="787" align="center" valign="middle"><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="760" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="80" align="left" valign="middle"><strong><span class="redfont"><nobr><%=myLanguagesDeal.GetMyString("SearchKeyMsg")%></nobr></span></strong></td>
            <td width="166" align="left" valign="middle"><input name="SearchKey" type="text" class="input" size="20" /></td>
            <td width="92" align="left" valign="middle"><asp:label id="lbSelect" runat="server" ></asp:label>
            </td>
            <td width="42" align="left" valign="middle"><input type="image" src="Images/TP36/enDream_r6_c35.jpg" width="34" height="20" border="0" name="submit" /></td>
            <td width="124" align="left" valign="middle"><a href="Search.aspx"><img src="Images/TP36/enDream_r6_c37.jpg" width="71" height="20" border="0" /></a></td>
            <td width="256" align="right" valign="middle">Today is - <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("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")        
        document.write("<font color='#666666'>"+year+"-"+month+"-"+daym+" - "+dayarray[day]+"</font>")
        </SCRIPT></td>
          </tr>
        </table>
		</form></td>
        <td width="6" align="right" valign="middle"><img src="Images/TP36/enDream_r5_c42.jpg" width="6" height="28" /></td>
      </tr>
    </table></td>
  </tr>
  <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>
