<%IF '1'=='<>' THEN%>
<%ENDIF%> <%QUERY LayoutTemplate(template_id='<>') DO DISPLAY QUERY LayoutTemplateOption(settings=$LayoutTemplate.settings) SHOWONCE DO DISPLAY%>
<%IF $CAMPAIGN AND $param3_picture_id THEN%>
<%PICTURE('<>',$param3_picture_id)%>
<%ELSIF $promote AND $param5_picture_id THEN%>
<%PICTURE('<>',$param5_picture_id)%>
<%ELSIF $NEW AND $param4_picture_id THEN%>
<%PICTURE('<>',$param4_picture_id)%>
<%ENDIF%> <%IF $brand_id AND $displaybrand_6 THEN QUERY Brand(brand_id=$brand_id) DO DISPLAY IF $Brand.picture_id THEN%>
<%PICTURE('<>',$Brand.picture_id)%>
<% ENDIF NEXTROW ENDQUERY ENDIF%> <%$xTransform='<>' $xView = 'DEFAULT' QUERY MyProductPicture(product_id=$product_id, xView=$xView,xTransform=$xTransform) DO IF NOT $Numrows THEN $product_picture_id=0 IF $display_microdata_product THEN $imageattr=$imageattr+' itemprop="image"' ENDIF PICTURE('<>',0) POP $imageattr ENDIF DISPLAY $product_picture_id=$picture_id IF '<>'=='grab' OR '<>'=='mouseover' OR '<>'=='click' THEN%> $*Name <%$alt=$*Name $imageattr='data-function="<>" data-picture-id="'+$picture_id+'" data-zoom-transform="<>" class="original"' IF $display_microdata_product THEN $imageattr=$imageattr+' itemprop="image"' ENDIF PICTURE('<>') POP $imageattr%> <%ELSIF '<>'=='lightbox' THEN $alt=$*Name $imageattr='rel="facebox" class="original" data-function="<>"' IF $display_microdata_product THEN $imageattr=$imageattr+' itemprop="image"' ENDIF%> <%PICTURE('<>')%> <%POP $imageattr ELSE%> : <% PRINT FORMAT("*", FORMAT("*", $comment)) %>', <%PICTURE_DATA('<>')%>);return false;"> $*Nameitemprop="image"<%ENDIF%> data-function="<>"/> <%ENDIF%>
<%NEXTROW ENDQUERY%>
<%NEXTROW ENDQUERY%> <%NEXTROW ENDQUERY%> <%IF '1'=='<>' THEN%>
<%ENDIF%>