$(document).ready(function(){
	$('ul#mainNav > li').hover(
		function(){
			$(this).children('.sub1').show();
		},
		function(){
			$(this).children('.sub1').hide();
		}
	);
});
