<%@ Control Language="C#" %>
<%@ Import Namespace="Hishop.SystemServices" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Tags" Assembly="Hishop.Web.Tags" %>
<!--浏览过的商品列表-->
<script type="text/javascript">
    $(document).ready(function() {
        $('#clearBrowsedProduct').click(function() {
            $.ajax({
                url: "ShoppingHandler.aspx",
                type: "post",
                dataType: "json",
                timeout: 10000,
                data: { action: "ClearBrowsed" },
                async: false,
                success: function(data) {
                if (data.Status == "Succes") {
                        document.getElementById("listBrowsed").style.display = "none";
                    }
                }
            });
        });

    });
</script>
<div id="listBrowsed">
<asp:DataList runat="server" ID="listBrowsedProduct" >
    <headertemplate>
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
    </headertemplate>
    <itemtemplate>            
			  <table width="162" border="0" cellpadding="0" cellspacing="0" class="mar_top10">
                            <tr>
                              <td align="left" valign="middle">
				<Hishop:Common_Link_Product ID="Common_Link_Product1" target="_blank" runat="server">
				<Hishop:Common_ProductThumbnail ID="Common_ProductThumbnail1" runat="server" Width="50" DataField="ThumbnailsUrl" CustomToolTip="ProductName"/></Hishop:Common_Link_Product>
				</td>
				<td height="23" align="left" style="padding-left:6px;"><span><Hishop:Private_ProName ID="Private_ProName1" runat="server" /></span></td>
                            </tr>
                          </table>
                          <div class="dotline_h" style="margin:10px 0"></div>
    </itemtemplate>
    <footertemplate>
            </tr>
        </table>
    </footertemplate>
</asp:DataList>
</div>
<!--结束-->
<div class="clear_font" style="margin-top:10px;"><a id="clearBrowsedProduct" href="javascript:void(0)" class="cGray" >清除我的浏览记录</a></div>