$.fn.cycle.defaults.timeout = 7000;
$(function() {
// Cycle JQuery
	$('#visuals').cycle({ 
		fx:     'fade',
		timeout: 4400,
		speed: 1200
	});
});	

$(document).ready(function(){ 
	$(document).pngFix(); 
});

function sethover(id,picture){
	document.getElementById(id).style.background = "url('images/fotos/"+picture+".jpg')";
	
	var ids = new Array();
	ids = id.split('foto');
	
	if(document.getElementById("bb"+ids[1]+"a").style.color != "#777777"){
		document.getElementById("bb"+ids[1]+"a").style.color = "#777777";
	}else{
		document.getElementById("bb"+ids[1]+"a").style.color = "#ffffff";
	}
	
}