$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});

function galeria(foto,fotoid){
	document.getElementById('passaid').value = fotoid;
	document.getElementById('galery').src = '../images/galeria/'+foto;
}
function minigaleria(foto,fotoid){
	document.getElementById('passaid').value = fotoid;
	document.getElementById('galery').src = 'images/galeria/'+foto;
}
function ilumina1(div,div2){
	document.getElementById(div).style.background = "#FF9F50";
	document.getElementById(div2).style.color = "#000";
}
function ilumina(div){
	document.getElementById(div).style.background = "#FFaF60";
	document.getElementById(div).style.width = "117px";
	document.getElementById(div).style.padding = "5px";
	document.getElementById(div).style.color = "#000";
}
function apaga1(div,div2){
	document.getElementById(div).style.background = "#ddd";
	document.getElementById(div2).style.color = "#333";
}
function apaga(div){
	document.getElementById(div).style.background = "#fff";
	document.getElementById(div).style.color = "#777";
}
function alternar(div1,div2){
	document.getElementById(div2).style.display = "none";
	document.getElementById(div1).style.display = "block";
}
function enviagal(){
	window.location = "";
}

