// JavaScript Document

function verifyFields() {
    try {
	    if (document.getElementById('name').value == "") {
            alert("The name field is required.");
	        document.getElementById('name').focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("The Email field is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
		if (document.getElementById('store_location').value == "") {
            alert("The Store Location field is required.");
	        document.getElementById('store_location').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}