// JavaScript MODAL WINDOWS
// in order to prevent fancybox modals from conflicting with other jQuery libraries, declare variable to something other than $ or use Prototype jQuery instead of $
// var $j = jQuery.noConflict();
 
 //jQuery.noConflict();

 //var $j = jQuery;
 
 //var $j=$.noConflict();

	jQuery(document).ready(function() {
		jQuery("a.storeLocator").fancybox({
			'width'				: 854,
			'height'			: 568,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		
		jQuery("a.emailSignup").fancybox({
			'width'				: 600,
			'height'			: 525,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		
		jQuery("a.globalSites").fancybox({
			'width'				: 580,
			'height'			: 580,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		
		// PDP
		// Printable Version
		jQuery("#pdpPrintView").fancybox({
			'width'				: 576,
			'height'			: 573,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Zoom Image – Alternative View
		jQuery(".pdpZoomImgView").fancybox({
			'width'				: 690,
			'height'			: 654,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Size Guides
		jQuery(".sizeGuide").fancybox({
			'width'				: 1170,
			'height'			: 1000,
			'autoScale'			: true,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});

		// REVIEW CART
		// Printable Version
		jQuery("#cartPrint").fancybox({
			'width'				: 578,
			'height'			: 675,
			'autoScale'			: true,
			'scrolling'			: 'yes',
			'type'				: 'iframe'
		});
		// What’s this?
		jQuery("#cartPromo").fancybox({
			'width'				: 585,
			'height'			: 189,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Shipping
		$(".cartShipping").fancybox({
			'width'				: 550,
			'height'			: 275,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Privacy Notice
		jQuery(".privacySecurity").fancybox({
			'width'				: 800,
			'height'			: 875,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Worry Free Shopping - Site Security
		jQuery("a.worryFree").fancybox({
			'width'				: 578,
			'height'			: 379,
			'autoScale'			: true,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		
		// REVIEW & PAYMENT
		// Debit Card Details
		jQuery("#cartDebitCard").fancybox({
			'width'				: 590,
			'height'			: 185,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Security Code
		jQuery("#cartCID").fancybox({
			'width'				: 625,
			'height'			: 560,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
		// Terms and Conditions of Use
		jQuery(".termsConditions").fancybox({
			'width'				: 576,
			'height'			: 700,
			'autoScale'			: false,
			'scrolling'			: 'no',
			'type'				: 'iframe'
		});
	});		

