function confirmarAccao(param) {
	if (confirm(param)) {
		return true
	} else {
		return false
	}
}

function ReverseContentDisplay(d) {
	if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = ""; }
	else { document.getElementById(d).style.display = "none"; }
}

function HideContent(d) {
	document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
	document.getElementById(d).style.display = "";
}

function abreJanela(url,largura,altura) {
	popup=window.open(url,'janela','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width='+largura+',height='+altura);
	larguraEcra=screen.availWidth;
	alturaEcra=screen.availHeight;
	popup.moveTo((larguraEcra/2)-(largura/2),(alturaEcra/2)-(altura/2));
	popup.focus()
}

function MM_jumpMenu(targ,selObj,restore){
	eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	if (restore) selObj.selectedIndex=0;
}
