	config.ShopPath = '%%GLOBAL_ShopPath%%';
	config.AppPath = '%%GLOBAL_AppPath%%';

	// Ensure that all product lists are the same height
	$(document).ready(function() {
		if(typeof(DesignMode) != 'undefined') {
			return;
		}

		function setHeight(ele) {
			var maxHeight = 0;
			$(ele).not('.List').each(function() {
				if($(this).height() > maxHeight) {
					maxHeight = $(this).height();
				}
			});
			$(ele).css('height', maxHeight);
		}

		setHeight('.Content .ProductList:not(.List) li .ProductDetails');
		setHeight('.Content .ProductList:not(.List) li .ProductPriceRating');
		setHeight('.Content .ProductList:not(.List) li');
		setHeight('.Content .ProductDetails');
		
		$(".ProductActionAdd").find('a').attr('rel','nofollow');
		
	});
	
	$(function(){
		$("img[src*='_tiny.jpg']").thumbPopup({
			imgSmallFlag: "_tiny",
			imgLargeFlag: "_thumb"
		});
	});
