﻿function verifyEmail(form) {
checkEmail = form.email.value

if ((checkEmail.indexOf('@') < 0) || ((checkEmail.charAt(checkEmail.length-4) != '.') && (checkEmail.charAt(checkEmail.length-3) != '.')))
{alert("Please enter a complete email address in the form: yourname@yourdomain.com");
form.email.select();
return false;
}
else {
form.method="post";
form.action="/cgi-bin/formmail/formmail.cgi";
window.open('thankyou.html','ThankYou','toolbar=0,status=0,scrollbars=0,location=0,menubar=0,directories=0,width=300,height=300')
form.submit();
}
}


function remoteStartBible(thisPassage) {
    //remote = window.open("http://bible.gospelcom.net/bible?version=NKJV&" + thisPassage, 'mallHelp', 'width=800,height=600,resizable=1,scrollbars=yes');
    remote = window.open("http://solidlives.com/bible.php", 'mallHelp', 'width=800,height=600,resizable=1,scrollbars=yes');
}
