
$(document).ready(function() {


	$("img.a").hover(
		function() {
			$(this).stop().animate({"opacity": "0"}, "slow");
		},
		function() {
			$(this).stop().animate({"opacity": "1"}, "slow");
		});

	$("div.c").hover(
		function() {
			$(this).parent().find('img.a').stop().animate({"opacity": "0"}, "slow");
		},
		function() {
			$(this).parent().find('img.a').stop().animate({"opacity": "1"}, "slow");
		});

	// Cycle mainvisuals
	$('#wrapper_mainvisual').cycle({ 
		fx:    'fade', 
		speed:  4500,
		random:  false,
		timeout: 6500 
	});

});
