<%<Hi:Common_Header runat="server"  />%>
 <div class="main" id="main1"> 
      <script src="/utility/cloud-zoom.1.0.2.js" type="text/javascript"></script>
        <link href="/utility/cloud-zoom.css" rel="stylesheet" type="text/css" media="screen" />
    
   <div id="divshow" class="dialog">
        <div class="dialog_title">
            <div class="dialog_title_l"><span>成功添加到购物车</span></div>
            <div class="dialog_title_r"> </div>
        </div>
        <div class="dialog_cartitem"><p>目前选购商品共<span id="spcounttype">0</span>件　合计：<span>￥<span id="sptotal">0.00</span></span>元</p>
        <div class="btnbar"><a class="btn-viewcart" href="#" target="_self"></a><a class="btn-continue"></a></div> </div>
    </div>

    <div id="divbefore" class="dialog">
      <div class="dialog_title">
            <div class="dialog_title_l"> <span>添加到购物车</span></div>
        </div>
        <div class="dialog_cartitem">正在添加到购物车……</div>
    </div>
  <div id="divAlready" class="dialog">
        <div class="dialog_title">
            <div class="dialog_title_l">
                <span>你已经收藏过该商品</span></div>
            <div class="Favorite_title_r">
            </div>
        </div>
        <div class="dialog_cartitem">
            请点此<a href="/user/favorites.aspx">查看我的收藏>></a></div>
    </div>
    <div id="divFavorite" class="dialogFavorite">
        <div class="Favorite_title">
            <div class="Favorite_title_l">
                <span>成功加入收藏</span></div>
            <div class="Favorite_title_r">
            </div>
        </div>
            <div id="reset" class="tips">
                <h2>
                    收藏成功！</h2>
                <p>
                    <em>您已收藏了<span id="favoriteCount">1</span>个商品， <a target="_blank" href="url:user_Favorites">
                        <font color="blue">查看我的收藏&gt;&gt;</font></a> </em>
                </p>
            </div>
            <div id="attention-tags">
                <div class="mt">
                    <h4>
                        加标签<em>（最多可选3个）</em></h4>
                </div>
                <div class="mc" id="tagDiv">
                    <ul class="att-tag-list" id="tag_num">
                    </ul>
                    <ul class="att-tag-list att-tag-list-save" id="tag_num2">
                        <li class="att-tag-new">
                            <input id="txttags" maxlength="10" type="text" onkeydown="javascript:if(event.keyCode==13) AppendTags();"
                                onkeyup="return checkLength(this)" placeholder="自定义" onfocus="if (this.value==this.defaultValue){this.value=''};this.style.color='#333333'"
                                onblur="if (this.value==''){this.value=this.defaultValue;};this.style.color='#9C9A9C'"
                                value="自定义" class="text" style="height: 25; color: rgb(156, 154, 156);"/><span onclick="javascript:return AppendTags();">添加</span></li>
                    </ul>
                    <div id="tishi" class="att-tag-btn">
                        <a onclick="return SaveTags();" href="javascript:void(0);" class="att-btn-ok">确定</a><a
                            class="att-btn-cancal" href="javascript:void(0);" onclick="CloseFavorite();">取消</a>
                        <span class="hl_red fl hide">最多可选不超过三个标签</span> 
                        <span class="hl_red fl hide">请至少选择1个标签</span>
                        <span class="hl_green fl hide">设置成功</span> 
                        <span class="hl_red fl hide">请输入自定义标签名称！</span>
                        <span class="hl_red fl hide">标签由数字、字母、汉字组成</span> 
                        <span class="hl_red fl hide">存在该标签的收藏商品，无法删除</span>
                          <span class="hl_red fl hide">请选择要删除的收藏标签</span>
                    </div>
                </div>
            </div>
    </div>
    <div class="login_tan" id="loginForBuy" style="display:none;">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr >
          <td colspan="4">
             <table class="loginForBuytit"  border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td width="400"> 
                      <h2>您尚未登录，请登录</h2>           
                  </td>
                  <td width="39"><p><img id="imgCloseLogin" src="/images/sub/close2.jpg" width="25" height="24" /></p></td>
               </tr>
             </table>
           </td> 
        </tr>
        <tr><td colspan="4">&nbsp;</td></tr>
        <tr>
          <td width="25" valign="middle" w>&nbsp;</td>
          <td valign="middle" width="65" class="fB">用户名：</td>
          <td  width="250" valign="middle"><label>
            <input type="text" name="textfield" id="textfieldusername"  class="login_tan_input1"/>
          </label></td>
          <td valign="middle" width="104">&nbsp;</td>
        </tr>
        <tr>
          <td height="45" valign="middle">&nbsp;</td>
          <td valign="middle" class="fB">密　码：</td>
          <td  valign="middle"><input type="password" name="textfield2" id="textfieldpassword" class="login_tan_input2" /></td>
          <td valign="middle"><a href="url:ForgotPassword">忘记密码了?</a></td>
        </tr>
        <tr>
           <td colspan="4">
              <table>
                 <tr>
                      <td width="85" valign="middle" >&nbsp;</td>
                      <td width="140"><label>
                        <input type="button" name="button" id="btnLoginAndBuy" value=" " class="login_tan_input3" />
                      </label></td>
                      <td width="79"  align="center"><a href="url:register">我要注册</a></td>
                      <td width="135"><input id="btnAmoBuy" type="button" value="匿名购买" /></td>
                 </tr>
              </table>
           </td>
        </tr>
      </table>
    </div>

    
    <a name="top_name" id="top1"></a>
   <div class="nav_info"><%<Hi:Common_Location runat="server" />%></div>
   <div class="product_intro">
       <div class="product_preview">
       	<%<Hi:Common_ProductImages ID="images" Is410Image="true"  Is60Image="true"  runat="server" />%>
        <div style=" margin-top:15px;"><Hi:Common_ProductImageAlbum ID="hlinkmoreImage"  ImageUrl="/images/more_img_icon.jpg"  runat="server" /></div>
       </div>
       <div class="product_parameter">
            <table cellpadding="0" cellspacing="0" border="0" width="570">
                <tr class="product_para_name">
                   <td id="bfdProductTitle"><%<asp:Literal id="litProductName" runat="server" />%></td>
                </tr>
                <tr class="product_para2">
                    <td>
                       <div><%<Hi:RankPriceName PriceName="售&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价" runat="server" />%>：<b>￥<span><%<asp:Label ID="lblBuyPrice" runat="server" />%></span></b></div>
                        <div style="width:360px"><%<Hi:UserProductReferLabel ID="lbUserProductRefer" runat="server" />%></div>
                       <div>市场价：<del>￥<%<Hi:FormatedMoneyLabel ID="lblMarkerPrice" runat="server" />%></del></div>
                       <div>品牌：<span id="bfdBrand"><%<asp:Literal ID="litBrand" runat="server" />%></span></div>
                       <div>商品编号：<span id="bfdProductCode"><%<asp:Literal runat="server" id="lblProductCode" />%></span></div>
                       <div>商品货号：<span><%<Hi:SkuLabel runat="server" id="lblSku" />%></span></div>
                       <div>浏览次数：<span><%<asp:Literal ID="litBrosedNum" runat="server" />%> 次</span></div>
                       <div>重量：<span><%<asp:Label ID="litWeight" runat="server" />%></span></div>
                       <div>已经出售：<span><%<asp:Literal ID="litSaleCounts" runat="server" />%></span></div>
                        
                    </td>  
                </tr>
                 <tr class="product_para_promote"><td><%<Hi:ProductPromote runat="server" IsAnonymous="true" /> %></td></tr>
                <tr class="product_para_select">
                    <td>
                     <%<Hi:SKUSelector runat="server" CssClass="Product_WareFun_bg"/>%>
                     <div class="product_para_num"> 
                           
                                 <div>购买数量：</div>
                                 
                                  <div name="spSub" class="shopcart-add shopcart1">
                                <span>-</span>
                            </div> <div><%<Hi:BuyAmountBox id="txtBuyAmount" CssClass="Product_input" runat="server"></Hi:BuyAmountBox>%></div>
                            <div name="spAdd" class="shopcart-minus shopcart1">
                                <span>+</span>
                            </div>
                            <em>商品总价：<span>￥<span><%<Hi:TotalLabel ID="lblTotalPrice" runat="server" /> %></span></span>(库存：<%<Hi:StockLabel ID="lblStock" runat="server" />%><%<asp:Literal ID="litUnit" runat="server" />%>)</em>
                           
                         </div>  
                    </td>
                </tr>
                <tr class="product_btns_append">
                   <td>
                     <table cellpadding="0" cellspacing="0" border="0" width="570">
                        <tr>
                           <td colspan="3">
                             <ul class="Product_tg_ul" >
                                <li class="product_btns_shop">
                                   <%<Hi:AddCartButton runat="server" id="btnaddgouwu" ><img src="/images/sub/add_buttom_btn.jpg" /></Hi:AddCartButton>%>
                                </li>
							    <li class="product_btns_buy" >
                                   <%<Hi:BuyButton runat="server" id="btnBuy" ><img src="/images/sub/mai_buttom_btn.jpg" /></Hi:BuyButton>%>
                                </li>
						        <li class="product_btns_coll"> 
                            
                                  <a id="addFavorite" href="javascript:void(0)" onclick="AddToFavorite()">
                                            收藏此商品</a>
                                </li>
					        </ul>
                           </td>
                        </tr>
                     </table>
                   </td>
                </tr>
               <tr class="product_recommend">
                    <td>
                        <table cellpadding="0" cellspacing="0" border="0" width="570">
                            <tr>

                                <td width="100%" class="product_share">
                                    <h2 style="float: left;">
                                        分享：</h2>
                                    <div class="jiathis_style">
                                        <a class="jiathis_button_qzone"></a><a class="jiathis_button_tsina"></a><a class="jiathis_button_tqq">
                                        </a><a class="jiathis_button_renren"></a><a class="jiathis_button_kaixin001"></a>
                                        <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis"
                                            target="_blank"></a><a class="jiathis_counter_style"></a>
                                    </div>
                                    <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1350294149446525"
                                        charset="utf-8"></script>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="product_Brief">
                   <td>
                     <b>简单介绍：</b> 
                     <p>
                        <asp:Literal runat="server" ID="litShortDescription"/> 
                     </p> 
                   </td>
                </tr>
            </table>
       </div>
   </div>

   <div style="height:40px; overflow:hidden; clear:both;"></div>

   <div class="product_detail">
      <ul class="product_nav_wrap">
         <li class="curr"><a>商品详情</a></li>
         <li><a>商品评价</a></li>
         <li><a>成交记录</a></li>
         <li><a>商品咨询</a></li>
      </ul>

        <div class="product_mc"> 
        <div style="overflow:hidden;height:auto">
        <ul>
            <%<Hi:ThemedTemplatedRepeater ID="rptExpandAttributes" runat="server"  TemplateFile="/ascx/tags/Common_ViewProduct/Skin-ExpandAttributes.ascx" />%>
         </ul> 
         </div>  
         <div style="height:auto;overflow:hidden;"><%<asp:Literal ID="litDescription" runat="server" />%></div>
        </div>

        <div class="product_mc" style="display:none">
            <ul>
	            <%<Hi:Common_ProductReview runat="server"  TemplateFile="/ascx/tags/Common_ViewProduct/Skin-Common_ProductReview.ascx" MaxNum="5" />%>  
	        </ul>
	        <div class="details_plzx">
	            <span class="colorF"><%<asp:HyperLink ID="hpkProductReviews" runat="server" CssClass="Product_b" />%></span>
                <%<Hi:Common_ViewProduct_Review runat="server" CssClass="Product_a"/>%>
	        </div>
        </div>

        <div class="product_mc" style="display:none">
            <%<Hi:Common_ProductSales runat="server"/>%>
            <div class="details_plzx">
               <span class="colorF"><%<asp:HyperLink ID="hpkProductSales" runat="server" CssClass="Product_b" />%></span>   
            </div> 
        </div>

        <div class="product_mc" style="display:none">
            <!--商品咨询-->
			<%<Hi:Common_ProductConsultations runat="server" TemplateFile="/ascx/tags/Common_ViewProduct/Skin-Common_ProductConsultations.ascx" MaxNum="5" />%>  
			<div  class="details_plzx">
			    <span class="colorF"><%<asp:HyperLink ID="hpkProductConsultations" runat="server" CssClass="Product_b" />%></span>
                <%<Hi:Common_ViewProduct_Consultation runat="server" CssClass="Product_a"/>%> 
			</div>
        </div>
   </div>
   <script type="text/javascript">
       var number = $("#buyAmount");
       $('div[name="spAdd"]').bind("click", function () {
           var stock = parseInt($("#productDetails_Stock").text());
           var num = parseInt(number.val()) + 1;
           if (num <= stock) {
               number.val(num);
               ChangeBuyAmount();
           }
       });
       $('div[name="spSub"]').bind("click", function () {
           var num = parseInt(number.val()) - 1;
           if (num > 0) {
               number.val(num);
               ChangeBuyAmount();
           }
       });
       $(".product_nav_wrap li").click(function () {
           var li_index = $(".product_nav_wrap li").index(this);
           $(".product_mc").hide().eq(li_index).show();
           $(this).addClass("curr").siblings().removeClass("curr");
       });
   </script>
   <script src="/utility/product.helper.js" type="text/javascript"></script>
    <%<Hi:BFDScriptLabel runat="server" />%>
   <div class="clearboth"></div>
    <!-- 相关商品-->
   <div class="product_related">
     <h2><b>相关商品</b></h2>
     <ul>
		<!--相关商品-->
		<%<Hi:Common_GoodsList_Correlative TemplateFile="/ascx/tags/Common_GoodsList/Skin-Common_GoodsList_Correlative.ascx" MaxNum="5" runat="server"/>%>
	</ul>
   </div>
</div>

<%<Hi:Common_Footer runat="server"/>%>
