-cookies["popup_"+popup.session_id] = cookies["popup_"+popup.session_id].to_i + 1



.popup_overlay{:onclick => ""}
  .popup#product_cart.vertical_center
    .close{:onclick => "$(this).closest('.popup_overlay').remove();"}
      =ic :"times-circle"
    
    =image_tag("/logo_w.png", :class => "logo") if popup.logo
    
    -if popup.title?
      %h2=popup.title
      %hr
    -if popup.description
      =simple_format popup.description
      
    .popup_block
      .render_block
        =render :partial => "public/blocks/block", :locals => {:block => popup.blocks.find_by_lang_site_id(popup.lang_site_id)}
    
    

