jQuery(document).ready(function($) {
	$( '#navigation ul li' ).hover(function() {
		$( this ).children( 'ul' ).show();
		if( $(this).children( 'ul' ).length > 0 ) {
			$( this ).children( 'a' ).addClass( 'hover' );
		}
	}, function() {
		$( this ).children( 'ul' ).hide();
		$( this ).children( 'a' ).removeClass( 'hover' );
	});
});