$(document).ready(function(){

	$("ul.topnav li").hover(function() {
		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
	}, function(){
		//When the mouse hovers out of the subnav, move it back up
		$(this).find("ul.subnav").slideUp('slow'); 
	});

});
