function VerificaFormPor()
{

    if ( (!document.frmSus.rdRadio1[0].checked) && (!document.frmSus.rdRadio1[1].checked))
	{
		alert('É cliente Unibanco?');
		return;
	}
    if(document.frmSus.txtNome.value == '')
    {
        alert('Preencha o nome.');
        document.frmSus.txtNome.focus();
        return;
    }
    
    if(document.frmSus.txtEmail.value == '')
    {
        alert('Preencha o email');
        document.frmSus.txtEmail.focus();
        return;

    }
    
    if(isEmail(document.frmSus.txtEmail.value)== false)
    {
        alert('email inválido');
        document.frmSus.txtEmail.focus();
        return;
		
	}			    
    if(document.frmSus.selEstado.value == '')
    {
        alert('Escolha um tipo de e-mail');
        document.frmSus.selEstado.focus();
        return;

    }
    if(document.frmSus.txtAssunt.value == '')
    {
        alert('Preencha o campo assunto');
        document.frmSus.txtAssunt.focus();
        return;

    }

    if(document.frmSus.txtmens.value == '')
    {
        alert('Preencha o campo Mensagem');
        document.frmSus.txtmens.focus();
        return;

    }   
        document.frmSus.submit();
		return true;
}

/*Verifica se o email esta correto*/
function isEmail(email)
{
    var reEml = /^([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)*@((\[(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5]))\]))|((([a-zA-Z0-9])+(([\-])+([a-zA-Z0-9])+)*\.)+([a-zA-Z])+(([\-])+([a-zA-Z0-9])+)*))$/;
    if (! reEml.test(email)) 
    {
        return false;
	}
	return true;
}
	

//Função que verifica os campos em Inglês

function VerificaFormIng()
{

    if ( (!document.frmSus.rdRadio1[0].checked) && (!document.frmSus.rdRadio1[1].checked))
	{
			//alert('She is Unibanco customer?');
			alert('Are you Unibanco´s client?');
			return;
	}
    if(document.frmSus.txtNome.value == '')
    {
        //alert('Input name.');
        alert('Fill in your name.');
        document.frmSus.txtNome.focus();
        return;

    }
    
    if(document.frmSus.txtEmail.value == '')
    {
        //alert('input email');
        alert('Fill in your email.');
        document.frmSus.txtEmail.focus();
        return;

    }
    
    if(isEmail(document.frmSus.txtEmail.value)== false)
    {
        //alert('email invalidate');
        alert('Invalid email.');
        document.frmSus.txtEmail.focus();
        return;
		
	}			    
    if(document.frmSus.selEstado.value == '')
    {
        //alert('I will choose a type of email');
        alert('Choose a type of email.');
        document.frmSus.selEstado.focus();
        return;

    }
    if(document.frmSus.txtAssunt.value == '')
    {
        //alert('It fills the field subject');
        alert('Fill in the field Subject.');
        document.frmSus.txtAssunt.focus();
        return;

    }

    if(document.frmSus.txtmens.value == '')
    {
        //alert('It fills the field Message');
        alert('Fill in the field Message.');
        document.frmSus.txtmens.focus();
        return;

    }   
        document.frmSus.submit();
		return true;
}

/*Verifica se o email esta correto*/
function isEmail(email)
{
    var reEml = /^([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)*@((\[(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5]))\]))|((([a-zA-Z0-9])+(([\-])+([a-zA-Z0-9])+)*\.)+([a-zA-Z])+(([\-])+([a-zA-Z0-9])+)*))$/;
    if (! reEml.test(email)) 
    {
        return false;
	}
	return true;
}
	