// JavaScript Document
function abrirJanela() {
	window.open("registo.asp","","width=340,height=340");
}

function acesso() {
		if(user.username.value.length == 0) {
			alert("Username inválido");
			user.username.focus();
			return;
		}
		if(user.password.value.length == 0) {
			alert("Password inválida");
			user.password.focus();
			return;
		}
		user.submit();
}
