
function Activatex(tid)
{
	$("#Pagina li a").removeClass("sbMenuActivo");
	$("#" + tid).addClass("sbMenuActivo");
}

$(function(){
	$("#faded").faded({
		speed: 400,
		crossfade: true,
		bigtarget: false,
		loading: true,
		loadingimg: "loader.gif",
//		autoplay: true,
		autoplay: 3000,
		autorestart: 3000,
		random: false,
		autopagination:false
	});
});

function fn1()
{
	location.href="projects-chaclacayo-orphanage.html";
	return false;
}

function fn2()
{
	location.href="projects-hand-of-hope-house.html";
}

function fn3()
{
	location.href="projects-social-justice-projects.html";
}

function fs(id)
{
	document.getElementById(id).style.backgroundImage="url(resources/bt-mas1.gif)"
	document.getElementById(id).style.backgroundRepeat="no-repeat"
	document.getElementById(id).style.backgroundPosition="6px 5px"
}

function fsh(id)
{
	document.getElementById(id).style.background="none";
}
