                                                      
Cufon.replace('h1', { fontFamily: 'corbel' });


$(document).ready(function() {
   $(".panelrotate").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",   
        auto: 10000,
    scroll: 1,
    visible: 4,   
    pause: true, 
    speed: 500
    });
			
    $('.slideshowcycle').cycle({
		fx: 'fade',
		timeout: 17000 
	});
   
	  	// Dropdown Menu config
	$("ul.sf-menu").supersubs({ 
		minWidth:    17,   // minimum width of sub-menus in em units 
		maxWidth:    27,   // maximum width of sub-menus in em units 
		extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
						   // due to slight rounding differences and font-family 
	}).superfish({ 
            delay:       1000,                            // 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: true                            // disable drop shadows 
        });  // call supersubs first, then superfish, so that subs are 
					 // not display:none when measuring. Call before initialising 
					 // containing tabs for same reason.\n
	
});

