$('#product-popup-inner-content').replaceWith("
");
$('#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: 'mask1',
default_color: '',
paths: {"preview__full_mask1":"/uploads/product_asset/image/1028/masked_images/preview__full_mask1.png","default_full":"/uploads/product_asset/image/1028/masked_images/preview__full_mask1.png","preview__slider_mask1":"/uploads/product_asset/image/1028/masked_images/preview__slider_mask1.png","default_slider":"/uploads/product_asset/image/1028/masked_images/preview__slider_mask1.png","preview__thumb_mask1":"/uploads/product_asset/image/1028/masked_images/preview__thumb_mask1.png","default_thumb":"/uploads/product_asset/image/1028/masked_images/preview__thumb_mask1.png","preview__thumb_related_products_mask1":"/uploads/product_asset/image/1028/masked_images/preview__thumb_related_products_mask1.png","default_thumb_related_products":"/uploads/product_asset/image/1028/masked_images/preview__thumb_related_products_mask1.png","preview__recently_viewed_mask1":"/uploads/product_asset/image/1028/masked_images/preview__recently_viewed_mask1.png","default_recently_viewed":"/uploads/product_asset/image/1028/masked_images/preview__recently_viewed_mask1.png","default_mini":"/uploads/product_asset/image/1028/masked_images/preview__mini_mask1.png","default_popular":"/uploads/product_asset/image/1028/masked_images/preview__popular_mask1.png","regular__full_0":"http://kvdshop.com/uploads/product_asset/regular_image/1029/full_front.png","regular__slider_0":"http://kvdshop.com/uploads/product_asset/regular_image/1029/slider_front.png","regular__full_1":"http://kvdshop.com/uploads/product_asset/regular_image/1030/full_2.png","regular__slider_1":"http://kvdshop.com/uploads/product_asset/regular_image/1030/slider_2.png","regular__full_2":"http://kvdshop.com/uploads/product_asset/regular_image/2677/full_1_02_.png","regular__slider_2":"http://kvdshop.com/uploads/product_asset/regular_image/2677/slider_1_02_.png","regular__full_3":"http://kvdshop.com/uploads/product_asset/regular_image/2678/full_set.png","regular__slider_3":"http://kvdshop.com/uploads/product_asset/regular_image/2678/slider_set.png","regular__full_4":"http://kvdshop.com/uploads/product_asset/regular_image/2679/full_liners-680x440-2.png","regular__slider_4":"http://kvdshop.com/uploads/product_asset/regular_image/2679/slider_liners-680x440-2.png"},
foil_paths: {},
animation_paths: {}
},
["mask1"],
[],
'#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;
});