jQuery(document).ready(function($) {	
	$('#az_currencies, #az_languages').each(function(i, val) {
		$(this).width(parseInt($('.az_info_title', $(this)).outerWidth()+$('.switcher', $(this)).outerWidth()));
	});
	
	var list_obj = $('.az_product_list .az_product_list_row');
	if(list_obj.length > 0) {
		var list_array = $.makeArray(list_obj);
		var list_item1 = 0;
		var list_item2 = 0;
		var list_item3 = 0;
	
		$.each(list_array, function(key, value) {
			list_item1 = 0;
			list_item2 = 0;
			list_item3 = 0;
			$('.az_product_list_col', $(value)).each(function(k, val) {
				if(parseInt($('.az_product_list_button', $(val)).height()) > list_item1) {
					list_item1 = parseInt($('.az_product_list_button', $(val)).outerHeight());
				}
				if(parseInt($('.az_product_list_img', $(val)).height()) > list_item2) {
					list_item2 = parseInt($('.az_product_list_img', $(val)).outerHeight());
				}
				if(parseInt($('.az_product_list_desc', $(val)).height()) > list_item3) {
					list_item3 = parseInt($('.az_product_list_desc', $(val)).outerHeight());
				}
			});
	
			$('.az_product_list_button', $(value)).height(list_item1);
			$('.az_product_list_img', $(value)).height(list_item2);
			$('.az_product_list_desc', $(value)).height(list_item3);
		});
	}
});