
function formValidator(){
	// Make quick references to our fields
	var login = document.getElementById('login');
	var password = document.getElementById('password');
			
	// Check that the fields are not empty
	if( isEmpty(login) || isEmpty(password)  ) {
		alert("You must enter a login and password");
		return false;
	}
	return true;
}
