function mouseOverButton(id)
{
	document.getElementById(id).style.textDecoration = "underline";
}

function mouseOutButton(id)
{
	document.getElementById(id).style.textDecoration = "none";
}

function validateLogin(lang){
	var flag = true;
	var str = "";
	
	if (!checkEmail(document.getElementById("email").value)){
		flag = false;
	}
	
	if (!checkPassw(document.getElementById("password").value)){
		flag = false;
	}

	if (!flag){
		if (lang == 'uk'){
			alert ("Invalid Login or Password.\nPlease try again.");
		}
		else{
			alert ("O Login ou a Password é inválido.\nPor favor tente outra vez.");
		}
		return false;
	}
	return true;
}


