﻿/* Date */
var time=new Date();
var year=time.getYear();
if (year < 2000)
year = year + 1900;

/* Form Validation */
<!-- This script and many more are available free online at The JavaScript Source javascript.internet.com
<!-- Begin
function validate(field) {
var valid = "abcdefghijklmnopqrstuvwxyz0123456789@-_."
var ok = "yes";
var temp;
for (var i=0; i<field.value.length; i++) {
temp = "" + field.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") ok = "no";
}
if (ok == "no") {
alert("Sorry! Please check your email address to make sure it does not have any spaces or odd characters in it.");
field.focus();
field.select();
   }
}