// JavaScript Document
function confirmaPagamento(){

	
	var nome =  document.forms['confirma'].nome;
	var email =  document.forms['confirma'].email;
	var data =  document.forms['confirma'].data;
	var valor =  document.forms['confirma'].valor;
	var opcao =  document.forms['confirma'].opcao;


	
	if (nome.value == "") {
		alert ('O campo nome é obrigatório / The field name is empty');
		nome.focus();
		return false;
		}

	if (email.value == "") {
		alert ('O campo email é obrigatório /  The field email is empty');
		email.focus();
		return false;
	}
	if (data.value == "") {
		alert ('O campo data é obrigatório/  Te field date is empty ');
		data.focus();
		return false;
	}

	if (valor.value == "") {
		alert ('O campo valor é obrigatório / Te field value is empty');
		valor.focus();
		return false;
		}
	if (opcao.value == "") {
		alert ('O campo opcao é obrigatório /  Te field option is empty'');
		opcao.focus();
		return false;
		}
	
	return true;

}
