function validateForm() {
var x = document.forms["myForm"]["log"].value;
var y = document.forms["myForm"]["pass"].value;
if (x == "" || y == "") {
document.getElementById("demo").innerHTML = "Hello Dolly.";
return false;
}
}