$('#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
"); $('#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-220-213-203-1', paths: {"preview_rgba-220-213-203-1_full_":"http://kvdshop.com/uploads/product_asset/image/3943/full_invitation-420x294.png","preview_rgba-220-213-203-1_slider_":"http://kvdshop.com/uploads/product_asset/image/3943/slider_invitation-420x294.png","preview_rgba-220-213-203-1_thumb_":"http://kvdshop.com/uploads/product_asset/image/3943/thumb_invitation-420x294.png","preview_rgba-220-213-203-1_thumb_related_products_":"http://kvdshop.com/uploads/product_asset/image/3943/thumb_related_products_invitation-420x294.png","preview_rgba-220-213-203-1_recently_viewed_":"http://kvdshop.com/uploads/product_asset/image/3943/recently_viewed_invitation-420x294.png","regular_rgba-220-213-203-1_full_0":"http://kvdshop.com/uploads/product_asset/regular_image/3944/full_backer-options-680x440-_711215.png","regular_rgba-220-213-203-1_slider_0":"http://kvdshop.com/uploads/product_asset/regular_image/3944/slider_backer-options-680x440-_711215.png","regular_rgba-220-213-203-1_full_1":"http://kvdshop.com/uploads/product_asset/regular_image/3945/full_close-up-680x440.png","regular_rgba-220-213-203-1_slider_1":"http://kvdshop.com/uploads/product_asset/regular_image/3945/slider_close-up-680x440.png"}, foil_paths: {}, animation_paths: {} }, [], ["rgba-220-213-203-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; });