function chkSubmit() {
    var query = window.location.search.substring(1)
    if (query.match("submit"))
        alert("Your information has been received. Thanks!")
    else if (query.match("failed"))
        alert("Failed! Maybe you put a slash in the domain field? Try again!")
}

