');
jQuery('#huge_it_catalog_popup_list_14').insertBefore('#huge-popup-overlay_14');
var height = jQuery(window).height();
var width=jQuery(window).width();
if(width<=767){
jQuery('body').scrollTop(0);
}
jQuery('#huge_it_catalog_pupup_element_'+strid).addClass('active').css({height:height*0.7});
jQuery('#huge_it_catalog_popup_list_14').addClass('active');
jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_14 li:first-child').addClass('active');
var strsrc=jQuery('#huge_it_catalog_pupup_element_'+strid+' ul.thumbs-list_14 li:first-child a img').attr('src');
jQuery('#huge_it_catalog_pupup_element_'+strid+' .image-block_14 img').attr('src',strsrc);
//alert(strsrc);
if(jQuery('.pupup-element.active .description').height() + jQuery('.right-block h3').height() + 350 > jQuery('.pupup-element.active .right-block').height()){
if(jQuery('.pupup-element.active img').height() > jQuery('.pupup-element.active .image-block_14').height()){
jQuery('.pupup-element.active .right-block').css('overflow-y', '');
jQuery('.pupup-element.active .popup-wrapper_14').css('overflow-y', 'auto');
}else{
jQuery('.pupup-element.active .right-block').css('overflow-y', 'auto');
}
}else {
if(jQuery('.pupup-element.active img').height() > jQuery('.pupup-element.active .image-block_14').height()){
jQuery('.pupup-element.active .popup-wrapper_14').css('overflow-y', 'auto');
}
}
return false;
});
jQuery('body').delegate('#huge_it_catalog_popup_list_14 .popup-wrapper_14 .right-block ul.thumbs-list_14 li a', 'click', function() {
var width=jQuery(window).width();
if(width<=767){
jQuery('body').scrollTop(0);
}
jQuery(this).parent().parent().find('li.active').removeClass('active');
jQuery(this).parent().addClass('active');
jQuery(this).parents('.right-block').prev().find('img').attr('src',jQuery(this).find('img').attr('src'));
return false;
});
jQuery('body').delegate('#huge_it_catalog_popup_list_14 .heading-navigation_14 .close', 'click', function() {
closePopup();
return false;
});
jQuery('body').on('click','#huge-popup-overlay_14',function(){
closePopup();
return false;
});
function closePopup() {
jQuery('#huge-popup-overlay_14').remove();
jQuery('#huge_it_catalog_popup_list_14 li').removeClass('active');
jQuery('#huge_it_catalog_popup_list_14').removeClass('active');
}
});
Organic French Vanilla Bean
Organic Mountain Blueberry
Organic Strawberries & Cream