var abaVideoUrl = "";
///////////////////////////////////////////////////////////
// showContent() //////////////////////////////////////////
///////////////////////////////////////////////////////////
function showContent(section,id,act){
	if(id){
		url = "inside.php?s="+section+"&id="+id;
	}else{
		url = "inside.php?s="+section;
	}
	
	if(act){
		url += "&act="+act;
	}else{
		url += "&act=view";
	}
	window.open(url,'_self');
}
///////////////////////////////////////////////////////////
// ARTISTAS *****//////////////////////////////////////////
///////////////////////////////////////////////////////////
function artistas_showFoto(){
	document.getElementById("foto").style.visibility 	= "visible";
	document.getElementById("audio").style.visibility 	= "hidden";
	document.getElementById("video").style.visibility 	= "hidden";
	
	document.getElementById("abaFoto").className 		= "itemFotoSelected";
	document.getElementById("abaAudio").className 		= "itemAudio";
	document.getElementById("abaVideo").className 		= "itemVideo";
}
function artistas_showAudio(){
	document.getElementById("foto").style.visibility 	= "hidden";
	document.getElementById("audio").style.visibility 	= "visible";
	document.getElementById("video").style.visibility 	= "hidden";
	
	document.getElementById("abaFoto").className 		= "itemFoto";
	document.getElementById("abaAudio").className 		= "itemAudioSelected";
	document.getElementById("abaVideo").className 		= "itemVideo";
	}
function artistas_showVideo(){
	document.getElementById("foto").style.visibility 	= "hidden";
	document.getElementById("audio").style.visibility 	= "hidden";
	document.getElementById("video").style.visibility 	= "visible";
	
	document.getElementById("abaFoto").className 		= "itemFoto";
	document.getElementById("abaAudio").className 		= "itemAudio";
	document.getElementById("abaVideo").className 		= "itemVideoSelected";
	
	//document.getElementById("artista_video").src = abaVideoUrl;
}
///////////////////////////////////////////////////////////
// PROJETOS ///////////////////////////////////////////////
///////////////////////////////////////////////////////////
function artistasPanel_showConteudo(){
	document.getElementById("projectContent").style.display 	= "block";
	document.getElementById("projectFoto").style.display 		= "none";
	document.getElementById("projectAudio").style.display 		= "none";
	document.getElementById("projectVideo").style.display 		= "none";
	document.getElementById("projectAgenda").style.display 		= "none";
	
	document.getElementById("abaConteudo").className 	= "itemConteudoSelected";
	document.getElementById("abaFoto").className 		= "itemFoto";
	document.getElementById("abaAudio").className 		= "itemAudio";
	document.getElementById("abaVideo").className 		= "itemVideo";
	document.getElementById("abaAgenda").className 		= "itemAgenda";
}
function artistasPanel_showFoto(){
	document.getElementById("projectContent").style.display 	= "none";
	document.getElementById("projectFoto").style.display 		= "block";
	document.getElementById("projectAudio").style.display 		= "none";
	document.getElementById("projectVideo").style.display 		= "none";
	document.getElementById("projectAgenda").style.display 		= "none";
	
	document.getElementById("abaConteudo").className 	= "itemConteudo";
	document.getElementById("abaFoto").className 		= "itemFotoSelected";
	document.getElementById("abaAudio").className 		= "itemAudio";
	document.getElementById("abaVideo").className 		= "itemVideo";
	document.getElementById("abaAgenda").className 		= "itemAgenda";
}
function artistasPanel_showAudio(){
	document.getElementById("projectContent").style.display 	= "none";
	document.getElementById("projectFoto").style.display 		= "none";
	document.getElementById("projectAudio").style.display 		= "block";
	document.getElementById("projectVideo").style.display 		= "none";
	document.getElementById("projectAgenda").style.display 		= "none";
	
	document.getElementById("abaConteudo").className 	= "itemConteudo";
	document.getElementById("abaFoto").className 		= "itemFoto";
	document.getElementById("abaAudio").className 		= "itemAudioSelected";
	document.getElementById("abaVideo").className 		= "itemVideo";
	document.getElementById("abaAgenda").className 		= "itemAgenda";
}
function artistasPanel_showVideo(){
	document.getElementById("projectContent").style.display 	= "none";
	document.getElementById("projectFoto").style.display 		= "none";
	document.getElementById("projectAudio").style.display 		= "none";
	document.getElementById("projectVideo").style.display 		= "block";
	document.getElementById("projectAgenda").style.display 		= "none";
	
	document.getElementById("abaConteudo").className 	= "itemConteudo";
	document.getElementById("abaFoto").className 		= "itemFoto";
	document.getElementById("abaAudio").className 		= "itemAudio";
	document.getElementById("abaVideo").className 		= "itemVideoSelected";
	document.getElementById("abaAgenda").className 		= "itemAgenda";
	
	//document.getElementById("artista_video").src = abaVideoUrl;
}
function artistasPanel_showAgenda(){
	document.getElementById("projectContent").style.display 	= "none";
	document.getElementById("projectFoto").style.display 		= "none";
	document.getElementById("projectAudio").style.display 		= "none";
	document.getElementById("projectVideo").style.display 		= "none";
	document.getElementById("projectAgenda").style.display 		= "block";
	
	document.getElementById("abaConteudo").className 	= "itemConteudo";
	document.getElementById("abaFoto").className 		= "itemFoto";
	document.getElementById("abaAudio").className 		= "itemAudio";
	document.getElementById("abaVideo").className 		= "itemVideo";
	document.getElementById("abaAgenda").className 		= "itemAgendaSelected";
	
	//document.getElementById("artista_video").src = abaVideoUrl;
}