<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
                  <TBODY>
			<tr>
                          <td  align="center" <% if webimg10 > webimg9   then %> height='<% = webimg10+10 %>'   <%else%>  height='<% = webimg9+10 %>'  <%end if%>>
                              <div style="border: <% = bgline1 %>px solid <% = bgclr7 %>;height:<% = webimg9+5 %>;width:<% = webimg10+5 %>;" >
				  <A  HREF=product.asp?id=<%=rs("id")%> TARGET=_blank title="<%=trim(rs("name"))%>">
				  <IMG  SRC=<%if trim(rs("pic"))="" then %>
				  images/emptybook.gif
				  <% else %>
				  <% = trim(rs("pic")) %>
				  <% end if%> BORDER=0  height="<% = webimg10 %>"    onload="DrawImage(this,<% = webimg9 %>, <% = webimg10 %>)"></A>
                               </div>
                    </td>
                     </tr>
                     <TR> 
                      <TD height=50 align=left valign=top style='PADDING-LEFT: 12px;PADDING-top: 10px;'><FONT COLOR=#333333><%=left(trim(rs("name")),100)%></FONT></TD>
                    </TR>
                   
                     <TR height=22> 
                       <TD align=left style='PADDING-LEFT: 12px'>市场价：
                   <%if trim(rs("price1"))<1 then%>
                  0<%=trim(rs("price1"))%>&nbsp;元  
                  <% else %>
                  <%=trim(rs("price1"))%>&nbsp;元  
                  <%end if%>
                  </TD>
                    </TR>
                    <TR height=22> 
                    
                      <TD align=left style='PADDING-LEFT: 12px'>网店价：
            <% If rs("amount") = 0 or LngUserID=0 or Lnggrpid = 4 Then %>
                <% If rs("price2") < 1  Then %>
            <FONT COLOR=#930000>0<%=trim(rs("price2"))%></FONT>&nbsp;元
                 <% else %>
             <FONT COLOR=#930000><%=trim(rs("price2"))%></FONT>&nbsp;元
                 <%end if%>
            <% Else %>
                  <% If trim(rs("price2")*LngDiscount) < 1  Then %>
                <FONT COLOR=#C40000>0<%=Round(trim(rs("price2")*LngDiscount),2)%></FONT>&nbsp;元 
                     <% else %>
                <FONT COLOR=#C40000><%=Round(trim(rs("price2")*LngDiscount),2)%></FONT>&nbsp;元 
                      <%end if%>
           <%end if%>
                   </TD>
                     
                    </TR>
                  <% if rs("stock") > 0 then %>
                   <TR>
                      <TD align="center"  height=35 style='PADDING-LEFT: 20px'> 
                 <a href="shopcart.asp?ProdId=<% = rs("id") %>" target="_blank"><img src=skin/skin<%=skin%>/cart/mnu<% = webbg16 %>_bg.png align=absmiddle border=0></a></TD>
                    </TR>
                    <% else %>
                     <tr><td  align="center" height=20><font color="#930000">暂时缺货</font></td></tr>
		<% end if %>
                   
                  </TBODY>
                </TABLE>