$(document).ready(function() {
	$('ul#nav > li').hover(function(){
		$(this).addClass('hover');
	}, function(){
		$(this).removeClass('hover');
	});	
});