// JavaScript Document

function voltar()
{
	
	history.back();	
}

function redirect(end)
{
	window.location = end;
}

function a(msg)
{
	window.alert(msg);
}
function submitForm(end)
{
	document.forms[0].action = end;
	document.forms[0].submit();
}

function confirmacao(msg1) {
			
			if(window.confirm(msg1))
			return true;

			return false;
}

function confirmaAcao(msg1,end, end2) {
			
			if(window.confirm(msg1))
			window.location.href=end;
			else
			window.location.href=end2;
}



