var $ = jQuery;

$(document).ready(function(){  

	$('#topNavWithSubMenu').hover(function() { //When trigger is clicked...  
  
		//Following events are applied to the subnav itself (moving subnav up and down)  
		$(this).parent().find('#subNavDivOptions').slideDown('fast').show(); //Drop down the subnav on click  
  
		//Following events are applied to the trigger (Hover events for the trigger)  
	}, 
	function(){  
		$(this).parent().find('#subNavDivOptions').slideUp('fast'); //When the mouse hovers out of the subnav, move it back up  
	});
});
