function buildMenu() {	
	var config = {
		 sensitivity: 2,
		 interval: 10,
		 over: megaHoverOver,
		 timeout: 200,
		 out: megaHoverOut
	};	
	
	function megaHoverOver(){
		var menuItem = this;		
		$(this).addClass('menuparenth');
		$(this).find(".navheader").animate({borderLeftColor: "#e7e6d5", borderRightColor: "#e7e6d5", backgroundColor:"#ffffff"}, 'fast');
		$(this).find(".navheader").find('span').animate({backgroundColor:"#f7f5e1"}, 'fast');
		
		$(this).find('a:last').addClass('last');
		$(this).find(".subnav").stop().fadeTo('fast', 1, function() {			
			$(this).show();			
		});
	}
	
	function megaHoverOut(){
		var menuItem = this;
		$(this).find(".navheader").animate({borderLeftColor: "#fefcee", borderRightColor: "#fefcee", backgroundColor:"#fefcee"}, 'fast');
		$(this).find(".navheader").find('span').animate({backgroundColor:"#fefcee"}, 'fast');
		
		$(this).find(".subnav").stop().fadeTo('fast', 0, function() {														
			$(this).hide();
			$(menuItem).removeClass('menuparenth');
		});
		
	}	
	
	$('.menuparent').hoverIntent(config);
	$('.menuparent').find(".subnav").find("li").hover(		
		function() {
			$(this).addClass('page_itemh');			
    	},
      	function() {
			$(this).removeClass('page_itemh');
    	}	
	)	
}