/**
 * Created by ryan on 11/10/15.
 */

// Change this to go to next data collecting page when ready
function check(form) {
    if(form.user.value == "admin" && form.pass.value == "admin") {
        alert("Good Login, this will then go to the next page.... :]");
    } else {
        alert("Error Password or Username");
    }
}

/**
 * Created by ryan on 11/10/15.
 */

// Change this to go to next data collecting page when ready
function check(form) {
    if(form.user.value == "admin" && form.pass.value == "admin") {
        window.location.href = "http://www.google.com";
    } else {
        alert("Error Password or Username");
    }
}

Test forwarding login to google...
Test forwarding login to google...
