$(document).ready(function() {

	$(".topNav li a").hover(function(){
			$(this).parent().children(".subNav").show();
		},function(){
			$(this).parent().children(".subNav").hide();
	});
	
	$(".subNav").hover(function(){
			$(this).show();
		},function(){
			$(this).hide();
	});
	
});