Cufon.replace('#navigation ul li a:not(".nocufon")', { hover: true });
Cufon.replace('#navigation ul li ul.dd li a:not(".nocufon")', { hover: true });

(function($) {
	$(document).ready(function(){ 
	 	try {
		    $('#slider').nivoSlider({
		    	effect:'fade', /* You can change the fade effect with 'fold,sliceDownLeft,sliceDown,random' */
		    	slices:1,
		    	pauseTime:7000, /* Change the pause time in seconds */
		    	startSlide:0, 
		    	directionNav:false,
		    	controlNav:false,
		    	pauseOnHover:false 
		   });
		   /*
		   $('.scroll-pane').jScrollPane({
		   		showArrows:true
		   });
		   */
	   } catch (e) {
	   		
	   }
	    
	   
	 	
		$('ul.dd').hide();
		$('#navigation ul li').hover(function(){ 
			$(this).find('ul.dd:eq(0)').slideDown('fast');
			$(this).find('a:eq(0)').addClass('hover');
		 },
		 function(){  
			$(this).find('ul.dd').stop(true,true).slideUp('fast');
			$(this).find('a:eq(0)').removeClass('hover');
	 	});
	 	
	 	$('.news-slider').jcarousel({
	        vertical: true,
	        scroll: 1,
	        visible:3,
	        auto:4,
	        wrap:'circular',
	        start: 1
			
	    });     	
	 	
	    //PNG FIX for IE6
		if($.browser.msie && $.browser.version.substr(0,1) == 6 ){
			DD_belatedPNG.fix(' #navigation ul.dd li a:hover, #navigation ul.dd li, .intro-image span.corner')
		}
	    
	});
	
	$(window).load(function() {
		var container_height = $('.content').height();
		if (container_height < 700) {
			$('.content').height(700);
		}
	});
})(jQuery);
