$('#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-30-37-53-1', paths: {"preview_rgba-30-37-53-1_full_":"http://kvdshop.com/uploads/product_asset/image/4588/full_directions-.png","preview_rgba-30-37-53-1_slider_":"http://kvdshop.com/uploads/product_asset/image/4588/slider_directions-.png","preview_rgba-30-37-53-1_thumb_":"http://kvdshop.com/uploads/product_asset/image/4588/thumb_directions-.png","preview_rgba-30-37-53-1_thumb_related_products_":"http://kvdshop.com/uploads/product_asset/image/4588/thumb_related_products_directions-.png","preview_rgba-30-37-53-1_recently_viewed_":"http://kvdshop.com/uploads/product_asset/image/4588/recently_viewed_directions-.png","preview_rgba-253-243-228-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/3964/full_directions-.png","preview_rgba-253-243-228-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/3964/slider_directions-.png","preview_rgba-253-243-228-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/3964/thumb_directions-.png","preview_rgba-253-243-228-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/3964/thumb_related_products_directions-.png","preview_rgba-253-243-228-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/3964/recently_viewed_directions-.png","preview_rgba-255-255-255-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/3965/full_directions-.png","preview_rgba-255-255-255-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/3965/slider_directions-.png","preview_rgba-255-255-255-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/3965/thumb_directions-.png","preview_rgba-255-255-255-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/3965/thumb_related_products_directions-.png","preview_rgba-255-255-255-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/3965/recently_viewed_directions-.png","preview_rgba-187-159-114-1_full_":"http://kvdshop.com/uploads/colored_product_asset/image/3966/full_directions-.png","preview_rgba-187-159-114-1_slider_":"http://kvdshop.com/uploads/colored_product_asset/image/3966/slider_directions-.png","preview_rgba-187-159-114-1_thumb_":"http://kvdshop.com/uploads/colored_product_asset/image/3966/thumb_directions-.png","preview_rgba-187-159-114-1_thumb_related_products_":"http://kvdshop.com/uploads/colored_product_asset/image/3966/thumb_related_products_directions-.png","preview_rgba-187-159-114-1_recently_viewed_":"http://kvdshop.com/uploads/colored_product_asset/image/3966/recently_viewed_directions-.png","regular_rgba-30-37-53-1_full_0":"http://kvdshop.com/uploads/product_asset/regular_image/4589/full_directions-close-.png","regular_rgba-30-37-53-1_slider_0":"http://kvdshop.com/uploads/product_asset/regular_image/4589/slider_directions-close-.png","regular_rgba-253-243-228-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3967/full_directions-close-.png","regular_rgba-253-243-228-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3967/slider_directions-close-.png","regular_rgba-255-255-255-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3968/full_directions-close-.png","regular_rgba-255-255-255-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3968/slider_directions-close-.png","regular_rgba-187-159-114-1_full_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3969/full_directions-close-.png","regular_rgba-187-159-114-1_slider_0":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3969/slider_directions-close-.png","regular_rgba-30-37-53-1_full_1":"http://kvdshop.com/uploads/product_asset/regular_image/4590/full_directions-set-680x440.png","regular_rgba-30-37-53-1_slider_1":"http://kvdshop.com/uploads/product_asset/regular_image/4590/slider_directions-set-680x440.png","regular_rgba-253-243-228-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3970/full_directions-set-680x440.png","regular_rgba-253-243-228-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3970/slider_directions-set-680x440.png","regular_rgba-255-255-255-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3971/full_directions-set-680x440.png","regular_rgba-255-255-255-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3971/slider_directions-set-680x440.png","regular_rgba-187-159-114-1_full_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3972/full_directions-set-680x440.png","regular_rgba-187-159-114-1_slider_1":"http://kvdshop.com/uploads/colored_product_asset/regular_image/3972/slider_directions-set-680x440.png","back_rgba-253-243-228-1_thumb":null,"back_rgba-255-255-255-1_thumb":null,"back_rgba-187-159-114-1_thumb":null}, foil_paths: {}, animation_paths: {} }, [], ["rgba-30-37-53-1", "rgba-253-243-228-1", "rgba-255-255-255-1", "rgba-187-159-114-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; });