<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="ShopWindow.ascx.cs" Inherits="DreamerShop.TP1.ShopWindow" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<DIV id="TPShow" style="OVERFLOW: hidden; WIDTH: 980px" >
<table  align="center" cellpadding="0" cellspacing="0">
<tr><td id="TPShow1">
<nobr>	
<asp:DataList id="dlcnShowWindow" runat="server" EnableViewState="False" Width="980"  CellPadding="0" CellSpacing="0"  RepeatColumns="50">
	<ItemStyle VerticalAlign="Top" HorizontalAlign="center"></ItemStyle>
	<ItemTemplate>
		<table border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
              <td width="118" height="120" align="center" valign="top"><table width="102" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="102" align="center" ><table cellpadding="0" cellspacing="0" style="border: 1px solid #CDCDCD" ><tr><td><%# DataBinder.Eval(Container.DataItem, "SmallPicInf") %></td></tr></table></td>
                  </tr>
                </table>
                  <table width="118" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="24" align="center" valign="middle"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' target="_blank" title='<%# DataBinder.Eval(Container.DataItem, "ProductName") %>' ><span class="name"><%# DataBinder.Eval(Container.DataItem, "ProductName1") %></span></a></td>
                    </tr>
                  </table>
                </td>
             
            </tr>
          </table>
	</ItemTemplate>
</asp:DataList>
</nobr>
</td>
<td vAlign="top" align="center" id="TPShow2"></td>
</tr>
</table></DIV>
<asp:Label id="lbPageName" runat="server"></asp:Label>
	<SCRIPT>
	  var speed=5
	  TPShow2.innerHTML=TPShow1.innerHTML
	  TPShow.scrollLeft=TPShow.scrollWidth
	  function Marquee(){
	  if(TPShow2.offsetWidth-TPShow.scrollLeft<=0)
	  TPShow.scrollLeft-=TPShow2.offsetWidth
	  else{
	  TPShow.scrollLeft++
	  }
	  }
	 var MyMar=setInterval(Marquee,speed)
	  TPShow.onmouseover=function() {clearInterval(MyMar)}
	  TPShow.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
	 </SCRIPT>