jQuery(document).ready(function($) {
	$('#nav li').hover(
		function () {  
			//show its submenu  
			$(this).className='hover';
			$('> a').className='hover';
			$(this).addClass('hover');  
			$('> a').addClass('hover');
		},   
		function () {  
			//hide its submenu  
			$(this).removeClass('hover');
			$('> a').removeClass('hover');
		}  
	);
});

