$('#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
\n \n
\n
Сопутствующие товары:
\n Посадочная карта
\n Меню
\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-223-211-221-1', paths: {"preview_rgba-223-211-221-1_full_":"http://kvdshop.com/uploads/product_asset/image/2941/full_number-420.png","preview_rgba-223-211-221-1_slider_":"http://kvdshop.com/uploads/product_asset/image/2941/slider_number-420.png","preview_rgba-223-211-221-1_thumb_":"http://kvdshop.com/uploads/product_asset/image/2941/thumb_number-420.png","preview_rgba-223-211-221-1_thumb_related_products_":"http://kvdshop.com/uploads/product_asset/image/2941/thumb_related_products_number-420.png","preview_rgba-223-211-221-1_recently_viewed_":"http://kvdshop.com/uploads/product_asset/image/2941/recently_viewed_number-420.png","preview_rgba-174-168-195-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/2094/full_number-420.png","preview_rgba-174-168-195-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/2094/slider_number-420.png","preview_rgba-174-168-195-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/2094/thumb_number-420.png","preview_rgba-174-168-195-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/2094/thumb_related_products_number-420.png","preview_rgba-174-168-195-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/2094/recently_viewed_number-420.png","preview_rgba-255-255-255-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/2095/full_number-420.png","preview_rgba-255-255-255-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/2095/slider_number-420.png","preview_rgba-255-255-255-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/2095/thumb_number-420.png","preview_rgba-255-255-255-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/2095/thumb_related_products_number-420.png","preview_rgba-255-255-255-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/2095/recently_viewed_number-420.png","preview_rgba-33-43-69-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/2096/full_number-420.png","preview_rgba-33-43-69-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/2096/slider_number-420.png","preview_rgba-33-43-69-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/2096/thumb_number-420.png","preview_rgba-33-43-69-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/2096/thumb_related_products_number-420.png","preview_rgba-33-43-69-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/2096/recently_viewed_number-420.png","preview_rgba-0-0-1-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/2097/full_number-420.png","preview_rgba-0-0-1-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/2097/slider_number-420.png","preview_rgba-0-0-1-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/2097/thumb_number-420.png","preview_rgba-0-0-1-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/2097/thumb_related_products_number-420.png","preview_rgba-0-0-1-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/2097/recently_viewed_number-420.png","regular_rgba-223-211-221-1_full_0":"http://kvdshop.com/uploads/product_asset/regular_image/2942/full_number-front-680x440.png","regular_rgba-223-211-221-1_slider_0":"http://kvdshop.com/uploads/product_asset/regular_image/2942/slider_number-front-680x440.png","regular_rgba-174-168-195-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2098/full_number-front-680x440.png","regular_rgba-174-168-195-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2098/slider_number-front-680x440.png","regular_rgba-255-255-255-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2099/full_number-front-680x440.png","regular_rgba-255-255-255-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2099/slider_number-front-680x440.png","regular_rgba-33-43-69-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2100/full_number-front-680x440.png","regular_rgba-33-43-69-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2100/slider_number-front-680x440.png","regular_rgba-0-0-1-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2101/full_number-front-680x440.png","regular_rgba-0-0-1-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2101/slider_number-front-680x440.png","regular_rgba-223-211-221-1_full_1":"http://kvdshop.com/uploads/product_asset/regular_image/2943/full_number-close-up-680%D1%85440.png","regular_rgba-223-211-221-1_slider_1":"http://kvdshop.com/uploads/product_asset/regular_image/2943/slider_number-close-up-680%D1%85440.png","regular_rgba-174-168-195-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2102/full_number-close-up-680%D1%85440.png","regular_rgba-174-168-195-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2102/slider_number-close-up-680%D1%85440.png","regular_rgba-255-255-255-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2103/full_number-close-up-680%D1%85440.png","regular_rgba-255-255-255-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2103/slider_number-close-up-680%D1%85440.png","regular_rgba-33-43-69-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2104/full_number-close-up-680%D1%85440.png","regular_rgba-33-43-69-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/2104/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/2105/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/2105/slider_number-close-up-680%D1%85440.png","back_rgba-174-168-195-1_thumb":null,"back_rgba-255-255-255-1_thumb":null,"back_rgba-33-43-69-1_thumb":null,"back_rgba-0-0-1-1_thumb":null}, foil_paths: {}, animation_paths: {} }, [], ["rgba-223-211-221-1", "rgba-174-168-195-1", "rgba-255-255-255-1", "rgba-33-43-69-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; });