$(document).ready(function()
{
	$("ul li.menu_item") .mouseover(function() { //When trigger is clicked...
		 
		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).find("ul.sub").show(); //Drop down the subnav on click
		$(this).hover(function() {
		}, function(){	
			$(this).find("ul.sub").hide(); //When the mouse hovers out of the subnav, move it back up
		});
		//Following events are applied to the trigger (Hover events for the trigger)
		}).hoverIntent(function() { 
			$(this).addClass("subhover"); //On hover over, add class "subhover"
			 /*$('.service_box_body_club').animate({ height: 312 }, 500);
			 $('.top_grey_club').animate({ height: 708 }, 500);
			 $('.header_club').animate({ height: 708 }, 500);
			 $('.service_box_head').hide();
			 $('.service_box_head_open').show();
			 $('.social_small').hide('fast',function () {
				$(this).css('filter','')
			 });
			 $('.social_big').show('fast',function () {
				$(this).css('filter','')
			 });*/
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});
	
});
