$('#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
\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
"); $('#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-218-247-240-1', paths: {"preview_rgba-218-247-240-1_full_":"http://kvdshop.com/uploads/product_asset/image/644/full_041-15m.png","preview_rgba-218-247-240-1_slider_":"http://kvdshop.com/uploads/product_asset/image/644/slider_041-15m.png","preview_rgba-218-247-240-1_thumb_":"http://kvdshop.com/uploads/product_asset/image/644/thumb_041-15m.png","preview_rgba-218-247-240-1_thumb_related_products_":"http://kvdshop.com/uploads/product_asset/image/644/thumb_related_products_041-15m.png","preview_rgba-218-247-240-1_recently_viewed_":"http://kvdshop.com/uploads/product_asset/image/644/recently_viewed_041-15m.png","preview_rgba-244-196-196-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/259/full_041-04mal.png","preview_rgba-244-196-196-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/259/slider_041-04mal.png","preview_rgba-244-196-196-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/259/thumb_041-04mal.png","preview_rgba-244-196-196-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/259/thumb_related_products_041-04mal.png","preview_rgba-244-196-196-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/259/recently_viewed_041-04mal.png","preview_rgba-0-0-1-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/260/full_041-2-09mal.png","preview_rgba-0-0-1-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/260/slider_041-2-09mal.png","preview_rgba-0-0-1-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/260/thumb_041-2-09mal.png","preview_rgba-0-0-1-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/260/thumb_related_products_041-2-09mal.png","preview_rgba-0-0-1-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/260/recently_viewed_041-2-09mal.png","regular_rgba-218-247-240-1_full_0":"http://kvdshop.com/uploads/product_asset/regular_image/2647/full_number-front-680x440.png","regular_rgba-218-247-240-1_slider_0":"http://kvdshop.com/uploads/product_asset/regular_image/2647/slider_number-front-680x440.png","regular_rgba-244-196-196-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1914/full_number-front-680x440.png","regular_rgba-244-196-196-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1914/slider_number-front-680x440.png","regular_rgba-0-0-1-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1915/full_number-front-680x440.png","regular_rgba-0-0-1-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1915/slider_number-front-680x440.png","regular_rgba-218-247-240-1_full_1":"http://kvdshop.com/uploads/product_asset/regular_image/2648/full_number-close-up-680%D1%85440.png","regular_rgba-218-247-240-1_slider_1":"http://kvdshop.com/uploads/product_asset/regular_image/2648/slider_number-close-up-680%D1%85440.png","regular_rgba-244-196-196-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1916/full_number-close-up-680%D1%85440.png","regular_rgba-244-196-196-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1916/slider_number-close-up-680%D1%85440.png","regular_rgba-0-0-1-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1917/full_number-close-up-680%D1%85440.png","regular_rgba-0-0-1-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/1917/slider_number-close-up-680%D1%85440.png","back_rgba-244-196-196-1_thumb":null,"back_rgba-0-0-1-1_thumb":null}, foil_paths: {}, animation_paths: {} }, [], ["rgba-218-247-240-1", "rgba-244-196-196-1", "rgba-0-0-1-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; });