    $(document).ready(function() { 
        $('#nav ul').superfish({ 
            delay:       800,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'normal',                          // faster animation speed 
            autoArrows:  false,                           // disable generation of arrow mark-up 
            dropShadows: false                            // disable drop shadows 
        });
		// This code is to make arrow on nav hover remain when you hover the sub nav items
		$('#nav ul li ul li').hover(function(){
			$(this).parent().parent().addClass('selected');
			}, function(){
			$(this).parent().parent().removeClass('selected');
		});
		$('#nav ul li div').hover(function(){
			$(this).parent().addClass('selected');
			}, function(){
			$(this).parent().removeClass('selected');
		});
		
		
		// Font replacement
	
		if (!($.browser.msie && $.browser.version < 7)){
			FLIR.init( { path: '/facelift/generate.php/' } );
			FLIR.init( new FLIRStyle( { mode:'progressive' } ) );
			$('#title strong').each( function() { 
				FLIR.replace(this , new FLIRStyle({ cFont:'dreamorp' })); 
			});
			$('h1').each( function() { 
				FLIR.replace(this , new FLIRStyle({ cFont:'dreamorp' })); 
			});
		} 
	
		
		// Remove "submit" text from submit button
		
		$('#submit2').val("");
	
		
		$("#quotes").jCarouselLite({
	        btnNext: null,
	        btnPrev: null,
			visible:1,
			start:0,
			auto: 6000,
			speed: 1500,
			vertical: false
	    });
		$("#testimonials").jCarouselLite({
	        btnNext: null,
	        btnPrev: null,
			visible:1,
			start:0,
			auto: 10000,
			speed: 1800,
			vertical: true
	    });
		
		
	
    });  
