$(document).ready(function() {
	
	
	Cufon.replace('#main h5, #beyond .module.alt span, .module-header', { fontFamily: 'Myriad Pro Light' });
	Cufon.replace('h2, #top-header .header, #top-header .text, #top-header .smalltext, #sidebar .col-bar, #sidebar strong, .module h5', { fontFamily: 'Myriad Pro' });

    $('#main-navigation li a span').fadeTo(0,0);
	
	
	

// set equal height

    $col = $('.col .equal');
    $colAlt = $('.col.alt .equal');
    
    if($col.height() > $colAlt.height()) {
        $colAlt.height($col.height())
        }
    else {
        $col.height($colAlt.height())
    }
	
					// gallery carousel
		$(".gallery1").jCarouselLite({
				  btnNext: ".nextBest",
				  btnPrev: ".prevBest",
				  circular: true,
				  auto: 2500,
        		  speed: 1000,
				  visible: 4
		 });
		
		

				
				
				
	    // nav :)

    $('#main-navigation li a').each(function (i){
        $(this).hover(function() {
            $(this).children().stop().fadeTo(0, 1);                       
        },
            function() {
                $(this).children().stop().fadeTo(0, 0);                       
        });                                              
    });
	
}); 









