jQuery.noConflict();
// Running jQuery in noConflict mode
jQuery(document).ready(function($) {
    $('.promo-carousel').advListRotator({
         effect: 'fade',
         helper: '.slideBannerHelper',
         helperActiveItemClass: 'slideBannerHelperItemActive',
         helperInteraction: 'click'
    });
}); 
// Running jQuery in noConflict mode
jQuery(document).ready(function($) {
    $('.col-right .simpleGallery-news').advListRotator({
        activeItemClass: '.simpleGalleryItemActive1',
        nextItemElement: '.simpleGalleryNext1',
        previousItemElement: '.simpleGalleryPrevious1',
        autoStart: false,
        disableRotationEngine: true,
        randomStart: true 
    });
});
jQuery(document).ready(function($) {
    $('.col-right .simpleGallery-promos').advListRotator({
        activeItemClass: '.simpleGalleryItemActive2',
        nextItemElement: '.simpleGalleryNext2',
        previousItemElement: '.simpleGalleryPrevious2',
        autoStart: true,
        disableRotationEngine: true,
        randomStart: true
    });
});
jQuery(document).ready(function($) {
    $('.search-accordion').accordion({ 
    	header: 'h2',
    	autoHeight: false,
    	active: false
    });
});
jQuery(document).ready(function($) {
    $('.btn-fullscreen').click(function () { 
     params  = 'width='+screen.width;
  params += ', height='+screen.height;
  params += ', top=0, left=0'
  params += ', fullscreen=yes';
  
  newwin=window.open('',window.document.title, params);
  var tmp = newwin.document;
  
  tmp.write('<html><head><title>' + window.document.title + '</title>');
  tmp.write('</head><body style="background: url(' + $('.product-img-box a img')[0].src +');">');
  tmp.write('</body></html>');
  tmp.close();
  
  if (window.focus) {newwin.focus(); }
  return false;
    });
});

