$('#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
"); $('#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-86-112-60-1', paths: {"preview_rgba-86-112-60-1_full_":"http://kvdshop.com/uploads/product_asset/image/4297/full_invitation-420x294.png","preview_rgba-86-112-60-1_slider_":"http://kvdshop.com/uploads/product_asset/image/4297/slider_invitation-420x294.png","preview_rgba-86-112-60-1_thumb_":"http://kvdshop.com/uploads/product_asset/image/4297/thumb_invitation-420x294.png","preview_rgba-86-112-60-1_thumb_related_products_":"http://kvdshop.com/uploads/product_asset/image/4297/thumb_related_products_invitation-420x294.png","preview_rgba-86-112-60-1_recently_viewed_":"http://kvdshop.com/uploads/product_asset/image/4297/recently_viewed_invitation-420x294.png","preview_rgba-70-139-143-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/3609/full_invitation-420x294.png","preview_rgba-70-139-143-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/3609/slider_invitation-420x294.png","preview_rgba-70-139-143-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/3609/thumb_invitation-420x294.png","preview_rgba-70-139-143-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/3609/thumb_related_products_invitation-420x294.png","preview_rgba-70-139-143-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/3609/recently_viewed_invitation-420x294.png","preview_rgba-135-66-106-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/3610/full_invitation-420x294.png","preview_rgba-135-66-106-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/3610/slider_invitation-420x294.png","preview_rgba-135-66-106-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/3610/thumb_invitation-420x294.png","preview_rgba-135-66-106-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/3610/thumb_related_products_invitation-420x294.png","preview_rgba-135-66-106-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/3610/recently_viewed_invitation-420x294.png","regular_rgba-86-112-60-1_full_0":"http://kvdshop.com/uploads/product_asset/regular_image/4298/full_backer-options-680x440-_152a0c.png","regular_rgba-86-112-60-1_slider_0":"http://kvdshop.com/uploads/product_asset/regular_image/4298/slider_backer-options-680x440-_152a0c.png","regular_rgba-70-139-143-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3611/full_backer-options-680x440-_002e30.png","regular_rgba-70-139-143-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3611/slider_backer-options-680x440-_002e30.png","regular_rgba-135-66-106-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3612/full_backer-options-680x440-_360223.png","regular_rgba-135-66-106-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3612/slider_backer-options-680x440-_360223.png","regular_rgba-86-112-60-1_full_1":"http://kvdshop.com/uploads/product_asset/regular_image/4299/full_close-up-680x440.png","regular_rgba-86-112-60-1_slider_1":"http://kvdshop.com/uploads/product_asset/regular_image/4299/slider_close-up-680x440.png","regular_rgba-70-139-143-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3613/full_close-up-680x440.png","regular_rgba-70-139-143-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3613/slider_close-up-680x440.png","regular_rgba-135-66-106-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3614/full_close-up-680x440.png","regular_rgba-135-66-106-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3614/slider_close-up-680x440.png","back_rgba-70-139-143-1_thumb":null,"back_rgba-135-66-106-1_thumb":null}, foil_paths: {}, animation_paths: {} }, [], ["rgba-86-112-60-1", "rgba-70-139-143-1", "rgba-135-66-106-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; });