// JavaScript Document

$( function( $ ){

var navTimeOut,speed = 500;

function showMenu(){
	
	var $this = $( this );
	
	var jChildMenu = $this.find( 'div.menu-box' );
	
	$this.children( 'a' ).addClass( 'hover' );
	
	jChildMenu.slideDown( speed );

}		
function hideMenu(){

	var $this = $( this );
	
	var jChildMenu = $this.find( 'div.menu-box' );
	
	$this.children( 'a' ).removeClass( 'hover' );
	
	jChildMenu.slideUp( speed );


}		


var config = {    
     over: showMenu,     
     timeout: navTimeOut,     
     out: hideMenu  
};

$( 'div#navigation ul li' ).hoverIntent( config );	
	
});

