function abreFecha(id){
	if(id.className.indexOf("ativo") != -1){ id.className = id.className.replace(/ativo/g,"");return false }
	
	for(i=0;i<id.parentNode.getElementsByTagName("LI").length;i++){
		li = id.parentNode.getElementsByTagName("LI")[i].className;
		if(li.indexOf("ativo") != -1){
			id.parentNode.getElementsByTagName("LI")[i].className = li.replace(/ativo/g,"");
		}
	}
	
	id.className += " ativo";
	
	return false;
	
}

function exclude(msg,target){
	
	i = window.confirm(msg);
	
	if(i){
		
		//alert(target);
		
		window.location=target;		
	}	
	
	return false;
	
}