function verificaUsuario() {

var iChars = "! @#$%^&*()+=-_[]\\\';,./{}|\":<>?αΰγβικνστυϊόηΑΐΓΒΙΚΝΣΤΥΪάΗ";
for (var i = 0; i < document.getElementById('usuario').value.length; i++) {
if (iChars.indexOf(document.getElementById('usuario').value.charAt(i)) != -1) {
document.getElementById("mensagemErro").innerHTML = 'O Nome de usuario invalido! Utilize apenas letras e numeros.';
document.getElementById("mensagemErro").style.display = "block";
return false;
}

else if (iChars.indexOf(document.getElementById('usuario').value.charAt(i)) != 1) {
document.getElementById("mensagemErro").style.display = "none"; }
}
}


function minusculo(ctrl)
    {  
    var t = ctrl.value;
    ctrl.value = t.toLowerCase();
    }


function ValidaEmail()
{
  var obj = eval("document.forms[0].email");
  var txt = obj.value;
  if ((txt.length != 0) && ((txt.indexOf("@") < 1) || (txt.indexOf('.') < 5)))
  {
    alert('Verifique o email informado.');
	obj.focus();
  }
}



