$(document).ready(function()
{
	$('#nav>ul>li').hover(function()
	{
		$('span', this).toggleClass('hover');
		if( $('ul', this).length )
		{
			$('ul', this).toggle();
		}
	});
});
