jQuery(document).ready(function($) {	
	var maxH = 0;
	
	$('.az_mainmod, .az_view_normal .az_plist_row, .az_view_col .az_plist_row').each(function(){
		$('.boxContents', $(this)).each(function(key, value){
			if(parseInt($(value).outerHeight()) > maxH) maxH = parseInt($(value).outerHeight());
		});
		$('.boxContents', $(this)).height(maxH);
		maxH = 0;
	});
});

$(function(){
	// Category Menu settings
	$('#az_category_menu > li').each(function(){
		$(' > a', $(this)).css('fontWeight', 'bold');
		$('.az_cmenu_m_top', $(this)).width($('.az_cmenu_m_top', $(this)).outerWidth());
		$(' > a', $(this)).css('fontWeight', '');
	});
	
	var marginLeftMenu = (parseInt($('#az_categories_menu').outerWidth() - $('#az_category_menu').outerWidth()) / 2);
	$('#az_category_menu').css('marginLeft', marginLeftMenu);
	$('#az_category_menu').az_dropDownMenu({timer: 500, parentMO: 'parent-hover', childMO: 'child-hover', numberOfLevels: 2});
	// Category Menu settings (EOF)
})
