<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<%<Hi:HeadContainer ID="HeadContainer1" runat="server" />%>
<%<Hi:PageTitle runat="server" />%>
<%<Hi:MetaTags runat="server" />%>
<link href="/style/main.css" rel="stylesheet" type="text/css" />
<link href="/style/m18.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/style/pagevalidator.css" type="text/css" media="screen" />
<script src="/utility/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/utility/jquery.cookie.js" type="text/javascript"></script>
<script src="/utility/validate/pagevalidator.js" type="text/javascript"></script>
<script src="/utility/globals.js" type="text/javascript"></script>
<script src="/script/web_qq.js" type="text/javascript"></script>
</head>

<body>
<form runat="server" id="form1">

<!--在线客服-->
<div id="qq_right" style="top:30px;left:-146px;position:absolute;z-index:100;">
<div class="a">
  <div class="b"></div>
  <div class="c">
  <%<Hi:OnlineServer runat="server" />%>
	<div class="closekf" onclick="closekf();">关闭在线客服</div>
  </div>
  <div class="d"></div>
</div>
<div class="e" id="e" onmouseover="showKefu(this);"></div>
</div>
<!--新top-->
	
	<!--{{顶部栏 开始}}-->
	
	<div class="head">

<div class="top1">
<div class="top1_c">
     <span class="login_zhuangtai">
<%<Hi:Common_CurrentUser runat="server" ID="lblCurrentUser"/>%> 
<%<Hi:Common_MyAccountLink ID="linkMyAccount" runat="server" />%>
<b>
<%<Hi:Common_LoginLink ID="Common_Link_Login1" runat="server" />%>
<%<Hi:Common_Link_OpenId runat="server" ImageUrl="images/alipay_small.png" /> %>
</b> 
</span>
<span><a href="url:productunslaes">下架区</a></span>
<span>|</span>
<span><a href="url:distributorLogin">分销商登录</a></span>
<span>|</span>
<span><a href="url:LeaveComments">店铺交流区</a> </span>
<span>|</span>
<span><a href="url:AllHelps">帮助中心</a> </span>
<span>|</span>
<span><%<Hi:Common_OnlineGiftLink runat="server" text="积分商城"/> %> </span>
</div>
</div>
<div class="lo_search">
<div class="logo">
<a href="url:home"><%<Hi:Common_Logo runat="server" />%></a>
</div>
<div class="search_hot">
<div class="search">
			<span style="display:none;"><%<Hi:Search_Class ID="Search_Class" runat="server" />%></span>
 
<input type="text" Id="txt_Search_Keywords" class="input1" />
<input type="button" value="搜索" onclick="searchs()" class="sub" />
</div>

  <script type="text/javascript">
      function searchs() {
          var item = $("#drop_Search_Class").val();
          var key = $("#txt_Search_Keywords").val();
          if (key == undefined)
              key = "";

          var url = applicationPath + "/listProduct.aspx?keywords=" + key + "&categoryId=" + item;
          window.location.href = encodeURI(url);
      }

      $(document).ready(function() {
          $('#txt_Search_Keywords').keydown(function(e) {
			  if (e.keyCode == 13) {
                  searchs();
				  return false;
              }
          })
		  $("a").not("#ty_menu_title ul a").bind("click",function(){
		  		$.cookie("class",-2,{expires: 7, path: "/"});
		  });
		  $("#ty_menu_title ul a").each(function(i,k){
					$(this).bind("click",function(){
						var liobj=null;
						if($(this).attr("class")==""){
							liobj=$(this).parents("li:eq(1)");
						}else{
							liobj=$(this).parents("li");
						}
						var suoyin=$("#ty_menu_title ul li").index(liobj);
						$.cookie("class",suoyin,{expires: 7, path: "/"});
					});
		  });

		  if($.cookie("class")!=null&&$.cookie("class")!="undefined"&&document.forms[0].action.indexOf("default.aspx")<0&&$.cookie("class")!=-2){
		  		$("#ty_menu_title ul li:eq("+$.cookie("class")+") a:eq(0)").attr("class","ty_menu_select");
		  }else if($.cookie("class")==-2){
		  		$.cookie("class",null,{expires: 7, path: "/"});
		  }
		  else{
		  		$("#ty_menu_title ul li:eq(0) a:eq(0)").attr("class","ty_menu_select");
		  }
      });
	  
  </script>
<div class="hot">
<%<Hi:HotKeywords ID="HotKeywords1" runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-HotKeywords.ascx" />%></div>
</div>

</div>
<div class="nav">

<div  class="nav_c"  id="ty_menu_title">
<ul id="nav_top" >
<li><b><a class="drop" href="url:home"><span>首页</span></a></b></li>
<Hi:Common_PrimaryClass runat="server" MaxCNum="7" />
</ul>
</div>
</div>
<div class="link_cart">
<ul class="nav_link">
<li> <a href="url:user_MyAccountSummary">我的帐户</a></li>
<li> <a href="url:user_UserOrders">订单查询</a></li>
<li> <a href="url:AllArticles">商城资讯</a></li>
<li  class="qiang_icon" > <% <Hi:Common_CountDownLink runat="server" text="限时抢购"/> %></li>
<li> <% <Hi:Common_GroupBuyLink runat="server" text="团购"/> %></li>
<li> <a href="url:brand">品牌专卖</a></li>
<li><a href="url:Promotes">优惠活动中心</a></li>
</ul>

<ul class="cart_info">
<li  class="cart_infol"></li>
<li  class="cart_infom"><%<Hi:Common_ShoppingCart_Info runat="server" />%></li>
<li  class="cart_go"><Hi:SiteUrl UrlName="shoppingCart" Target="_blank" runat="server"> <img src="/images/m18/cart_go.jpg" /> </Hi:SiteUrl></li>
<li  class="cart_infor"></li>
</ul>

</div>

<div class="top_banner"><Hi:Common_ShowAds runat="server" AdsName="AD1" /></div>
</div>

<div class="main">	<!-- InstanceBeginEditable name="编辑区" -->
	<style type="text/css">
          .fpright{float:right;}
          .fpleft{float:left;}
          .fpclear{clear body;}
          .ischeck{display:block}
          .a{display:none;}
          
          
</style>
<script language="javascript" type="text/javascript">
                
    function testImages() {
        var img = document.getElementById("login_imgUrl");
        if (img == null) {
            alert("该商品未上传图片。请上传商品图片，再调整或者放在blog里展示");
            return;
        }
        var lblheight = document.getElementById("login_lblHeight");
        var lblwidth = document.getElementById("login_lblWidth");
        var lblfloat = document.getElementById("login_lblFloat");
        var lblPStye = document.getElementById("login_lblIscenter");
        var check = document.getElementById("login_chcPhoto");
        var msg = document.getElementById("massage");
        //alert (radiSize[0].value);
        var radiSize = document.getElementsByName("radiobuttonSize");
        var radiSizeText = null;
        for (var i = 0; i < radiSize.length; i++) {
            if (radiSize[i].checked) {
                var radiSizeText = radiSize[i].value;
            }
        }
        //alert(radiSizeText);
        var radiFloat = document.getElementsByName("radiobuttonFloat");
        var radiFloatText = null;
        for (var i = 0; i < radiFloat.length; i++) {
            if (radiFloat[i].checked) {
                radiFloatText = radiFloat[i].value;
            }
        }
        if (radiSizeText == "small") {
            //alert("小图");
            img.style.height = 100 + "px";
            img.style.width = 100 + "px";
            lblheight.innerHTML = "100px";
            lblwidth.innerHTML = "100px";

        }
        else {
            //alert("大图");
            img.style.height = 500 + "px";
            img.style.width = 500 + "px";
            lblheight.innerHTML = "500px";
            lblwidth.innerHTML = "500px";
        }
        if (radiFloatText == "left" && !check.checked) {
            //alert("居左");
            img.className = "fpleft";
            lblfloat.innerHTML = "float:left";
            lblPStye.innerHTML = "";
        }
        else if (radiFloatText == "right" && !check.checked) {
            //alert("居右");
            img.className = "fpright";
            lblfloat.innerHTML = "float:right";
            lblPStye.innerHTML = "";
        }
        else if (radiFloatText == "left" && check.checked) {
            //alert("独占一行居左");
            img.className = "fpclear";
            msg.align = "left";
            lblfloat.innerHTML = "margin:auto;";
            lblPStye.innerHTML = "align='left'";
        }
        else if (radiFloatText == "right" && check.checked) {
            //alert("独占一行居右");
            img.className = "fpclear"
            msg.align = "right";
            lblfloat.innerHTML = "margin:auto";
            lblPStye.innerHTML = "align='right'";
        }
        else {
            img.className = "fpclear";
            msg.align = "center";
            lblPStye.innerHTML = "align='center'";
            
        }
    } 
</script>
<div class="re_blogit_tab">
    <table width="910" border="0" cellspacing="0" cellpadding="0" >
         <tr>
        <td align="left" class="re_blogit_pro_t" >
            <span>把&nbsp;&nbsp;</span>
            <span>“【<%<asp:HyperLink ID="hlinkProductTitle" runat="server"/>%>】”&nbsp;&nbsp;</span>
            <span>放在你的blog里</span>        </td>
        </tr>
    </table>
	<table width="910" border="0" cellpadding="0" cellspacing="0" >
         <tr>
            <td height="92" colspan="2" align="left" class="re_blogit_pro_pict">
			    <div  id="massage"><%<Hi:HiImage ID="imgUrl" runat="server" CssClass="fpleft" />%></div>
			    <div>我们为您提供了多种样式的代码。您只需在下面的代码生成器中任选“图片大小”及“图片对齐方式”并点击“确定”按钮，在浅黄色背景区域就会自动生成一段代码。将生成的代码片断添加在您的blog中即让您blog的浏览者知道这件产品及其链接。</div>
			    
			</td>
        </tr>
          <tr>
            <td height="10" colspan="2" align="left" valign="top" ><div style="border-top:1px #D9D9D9 dotted;"></div></td>
          </tr>
          <tr>
            <td width="663" height="60" align="left" valign="top" style=" padding-top:10px;">
            <table width="653" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="18">编辑你的博客文章的时候，插入这段代码可以显示上面商品图片</td>
              </tr>
              <tr>
                <td>
				<div class="re_blogit_pro_area1">
&lt;p <%<asp:Label id="lblIscenter" runat="server"></asp:Label>%>
	                &gt;&lt;a href='<%<asp:Label ID="lblUrl" runat="server"></asp:Label>%>'&gt;
	                &lt;img border='0' src='<%<asp:Label ID="lblImgUrl" runat="server"></asp:Label>%>'
	                  higth= '<%<asp:Label id="lblHeight" Text="100px" runat="server"></asp:Label>%>'
	                  width='<%<asp:Label runat="server" Text="100px" id="lblWidth"></asp:Label>%>'
	                  style='<%<asp:Label runat="server" Text="float:left" id="lblFloat"></asp:Label>%>' /&gt;&lt;/a&gt;&lt;/p&gt;
				</div>
 
					
					
                </td>
              </tr>
              <tr>
                <td height="18" > </td>
              </tr>
              <tr>
                <td height="18" ><%<asp:Label ID="lblProductNameLinkText" runat="server"></asp:Label>%></td>
              </tr>
              <tr>
                <td>
				<div class="re_blogit_pro_area1">&lt;a href='<%<asp:Label ID="lblUrl2" runat="server"></asp:Label>%>'&gt;<%<asp:HyperLink ID="hlinkProductContent" runat="server" ></asp:HyperLink>%>&lt;/a&gt;</p></div>
                </td>
              </tr>
            </table>
			</td>
            <td width="211" align="left" valign="top" >
              <table width="211" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="20" align="center">代码生成器</td>
              </tr>
              <tr>
                <td align="left" valign="top">
				<div class="re_blogit_pro_area2">
				<table width="190" border="0" cellspacing="0" cellpadding="0" >
                  <tr>
                    <td width="61" height="51">图象大小</td>
                    <td width="129"><input type="radio" name="radiobuttonSize" value="small"  checked="checked"/>小(100*100) <br />
                      <input type="radio" name="radiobuttonSize" value="big" />大(500*500) </td>
                  </tr>
                  <tr>
                    <td height="25">对齐方式</td>
                    <td><input type="radio" name="radiobuttonFloat" value="left" checked="checked" />左
                        <input type="radio" name="radiobuttonFloat" value="center" />中
                        <input type="radio" name="radiobuttonFloat" value="right" />右</td>
                  </tr>
                  <tr>
                    <td height="25">&nbsp;</td>
                    <td><input type="checkbox" id="chcPhoto" runat="server" />独占一行</td>
                  </tr>
                  <tr>
                    <td height="50" colspan="2" align="center" valign="middle">
                        <input id="btnOK" type="button" value="调整" class="blogit_subbg" onclick="testImages();"/></td>
                  </tr>
                  <tr>
                    <td colspan="2">&nbsp;</td>
                  </tr>
                </table>
				</div>
				</td>
              </tr>
            </table>
            </td>
        </tr>
      </table>            
</div>

<script type="text/javascript" language="javascript">
    var img = document.getElementById("login_imgUrl");
    var lblheight = document.getElementById("login_lblHeight");
    var lblwidth = document.getElementById("login_lblWidth");
    if (img != null) {
        img.style.height = 100 + "px";
        img.style.width = 100 + "px";
        lblheight.innerHTML = "100px";
        lblwidth.innerHTML = "100px";
    }
</script>

	<!-- InstanceEndEditable --></div>

<div class="footer">
<div class="footer_ad"><Hi:Common_ShowAds runat="server" AdsName="AD19" /></div>
<div class="foot_help">
<ul>
	<%<Hi:Common_Help runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-Common_Help.ascx"  />%>
</ul>
</div>
<div class="foot_friendlink">
<table width="980" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="foot_friendlinkt" valign="top">友情链接:</td>
    <td valign="top"><div class="foot_friendlinkc"><%<Hi:Common_FriendLinks runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-Common_FriendLinks.ascx" />%></div></td>
  </tr>
</table>	
</div>
<div  class="footer_info">
<div><%<Hi:PageFooter runat="server" />%></div>
</div>

</div>

</form>
</body>
<!-- InstanceEnd --></html>
