$('#product-popup-inner-content').replaceWith("
\n
\n
\n \n \n Номер стола\n \n \n
\n

\n Олива\n

\n\n
\n
\n \"Олива\n
\n
\n\n
\n\n
\n
\n \n \"Thumb\n \n
\n
\n\n
\n
\n
\n
\n\n
\n \n
Палитра
\n \n \n \n
\n\n
\n \n
\n
Сопутствующие товары:
\n Меню
\n Свадебное приглашение
\n Свадебное приглашение №2
\n Посадочная карта
\n
\n\n\n
\n\n
\n
"); $('#product-popup-inner-content input').iCheck({ checkboxClass: 'icheckbox_minimal', radioClass: 'iradio_minimal', increaseArea: '20%' }); function selectBoxOptionFormat(state) { var originalOption = state.element; return "" + $(originalOption).data('foo') + "" + state.text + ""; } $(".relatedItemSelect").select2({ minimumResultsForSearch: -1, formatSelection: selectBoxOptionFormat, formatResult: selectBoxOptionFormat, dropdownCssClass: "itemSelectList" }); var prodPreviewShow = new window.ProductShow( { default_mask: '', default_color: 'rgba-176-161-83-1', paths: {"preview_rgba-176-161-83-1_full_":"http://kvdshop.com/uploads/product_asset/image/1039/full_stol.png","preview_rgba-176-161-83-1_slider_":"http://kvdshop.com/uploads/product_asset/image/1039/slider_stol.png","preview_rgba-176-161-83-1_thumb_":"http://kvdshop.com/uploads/product_asset/image/1039/thumb_stol.png","preview_rgba-176-161-83-1_thumb_related_products_":"http://kvdshop.com/uploads/product_asset/image/1039/thumb_related_products_stol.png","preview_rgba-176-161-83-1_recently_viewed_":"http://kvdshop.com/uploads/product_asset/image/1039/recently_viewed_stol.png"}, foil_paths: {}, animation_paths: {} }, [], ["rgba-176-161-83-1"], '#smallPicturePopup', '#bigPicturePopup img.main-product-image', 'full', false, '', '.product-popup-big' ); prodPreviewShow.init(); $("#smallPicturePopup a:first").addClass('active'); $('#smallPicturePopup a').on('click', function() { smallPicClick(this, '#smallPicturePopup a', '#bigPicturePopup img'); return false; });