function verificaLogin()
{
	try {
		var erro = new Array(0);
		f = document.formlogin;
		
		if( !isEmail(document.getElementById('email')) )		erro.push('Login (E-Mail)');
		//if( isEmpty(document.getElementById('email')) )		erro.push('Login');
		if( isEmpty(document.getElementById('chave')) )		erro.push('Senha');
		if ( erro.length > 0 ) {
			alert('Preencha corretamente o(s) campo(s):\n'+ erro.join('\n') +'.');
			return false;
		}
		return true;
	} catch (e) {
		if ( showError )	alert(e.message);
		return true;
	}
}
