/* Declare a namespace for the site */
var Site = window.Site || {};

/* Create a closure to maintain scope of the '$'
   and remain compatible with other frameworks.  */
(function($) {
	
	//same as $(document).ready();
	$(function() {
		
		

	});


	$(window).bind("load", function() {
				
		jQuery.fn.equalHeights = function() { 
			return this.height(Math.max.apply(null, 
				this.map(function() { 
					return jQuery(this).height() 
				}).get() 
			)); 
		}; 
		
		$('.products').equalHeights();
	
	});
	
})(jQuery);

function addProduct(iQuantity, iProdid) {
    document.location='/producten.php?addProdToCart=true&cat=2&prodid='+ iProdid + '&quantity='+iQuantity;
}
