jQuery(document).ready(function() { /* This is basic - uses default settings */
	$("div#imagebox a").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayColor': '#000'});

	$('#fader').innerfade({
		animationtype: 'fade',
		speed: 500,
		timeout: 4000,
		containerheight: '520px'
	});

	
}); 

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        vertical: true
    });
});


jQuery(document).ready(function() {
// Switch Images (Dia)
	$(function()
	{
		$('#mycarousel img').live('click', switchImage)
	  					.live('click', switchImage);
	});
	
	function switchImage(){
		var $img = $(this);
		$('#teaser').attr('href', $img.attr('alt') )
			.children()
			.eq(0)
			.attr('src', $img.attr('rel') );
	}
// end Switch Images
});

jQuery(document).ready(function(){ 
	$(".fading a img").hover(function(){
		$(this).fadeTo("fast", 0.75); // This sets the opacity to 100% on hover
	},function(){
		$(this).fadeTo("fast", 1.0); // This sets the opacity back to 60% on mouseout
	});
});

