jQuery.noConflict();
var $j = jQuery;

	$j(function(){
		
		
		
		// Main nav
		$j('#nav a').hover(function(e){
				
			$j('.label', this).hoverFlow(e.type, { marginTop: "20px" }, 400, "easeInOutCubic" );
			$j('.bg', this).hoverFlow(e.type, { "opacity": 1 }, 400);

		}, function(e){
				
			$j('.label', this).hoverFlow(e.type, { marginTop: "28px" }, 400, "easeInOutCubic" );
			$j('.bg', this).hoverFlow(e.type, { "opacity": 0 }, 400);

		});
		
		
		// Side nav
		$j('ul', '#sidenav').css('height','0px');
		$j('#sidenav').hover(function(e){
		
			$j('ul', this).delay(100).hoverFlow(e.type, { "height":"286px" }, 600);
			
		}, function(e){
		
			$j('ul', this).delay(900).hoverFlow(e.type, { "height":"0px" }, 600);
		
		});
		
		
		
		
	});
