$(document).ready(function() {
	$('#nav > li').hover(function() {
		$(this).addClass('over');
	},function () {
		$(this).removeClass('over');
	});
	$('#nav > li').each(function(index) {
	   if ($(this).find('ul').length > 0) {
		$(this).find('a').eq(0).click(function() {
			return false;
		});
	   }
	});
});
