$(document).ready(function() {
	$('.slideshow').cycle( {
		fx : 'fade' // choose your transition type, ex: fade, scrollUp, shuffle,
	// etc...
	});
});

/**
 * 
 * Início do Adiciona aos Favoritos.
 * 
 */

function addFav(url, title) {

	// Verifica se é o chrome, pois no chrome não da para adicionar aos
	// favoritos.
	if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {
		alert('Opa! Você está usando Chrome! Tente CTRL + D');
	} else {
		// adiciona aos favoritos.
		if (window.sidebar)
			window.sidebar.addPanel(title, url, "");
		else if (window.opera && window.print) {
			var mbm = document.createElement('a');
			mbm.setAttribute('rel', 'sidebar');
			mbm.setAttribute('href', url);
			mbm.setAttribute('title', title);
			mbm.click();
		} else if (document.all) {
			window.external.AddFavorite(url, title);
		}
	}
}

/**
 * 
 * Fim do Adiciona aos Favoritos.
 * 
 */

