Cufon.replace("h1, h2, h4",  { fontFamily: 'Anivers' });

$(window).load(function() {
	jQuery("div#slider1").codaSlider();
	
    $('#billboard-image-core').cycle({ 
	    fx:      'custom', 
	    sync: 0, 
	    cssBefore: {  
	        top:  0, 
	        left: 460, 
	        display: 'block' 
	    }, 
	    animIn:  { 
	        left: 0 
	    }, 
	    animOut: {  
	        top: 290 
	    }, 
	    delay: -500 
	});
		
	$("a[rel]").overlay( 
	{ 
	  onBeforeLoad: function() {  
		var wrap = this.getContent().find("div.wrap"); 
		wrap.load( 
		  this.getTrigger().attr("href") 
		);  
	  },  
	  expose: '#1b140b', 
	  api: true 
	});
});

$(document).ready(function() {
    $('#text-slides').cycle({ 
    	fx:'fade',
    	cleartype:  true,
    	cleartypeNoBg:  true
    });
    
    $('.thickbox').lightBox({fixedNavigation:true});
	
	$('#navigation').children().hover(function() { 
		$(this).siblings().stop().fadeTo(500,0.3); 
	}, function() { 
		$(this).siblings().stop().fadeTo(500,1); 
	});	 
}); 
