// JavaScript Document

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


		function checkAge()
		{
			/* the minumum age you want to allow in */
			var min_age = 21;

			/* change "myform" to whatever your form has for a name="..." */
			var year = parseInt(document.forms["myform"]["birthYear"].value);
			var month = parseInt(document.forms["myform"]["birthMonth"].value) - 1;
			var day = parseInt(document.forms["myform"]["birthDay"].value);

			var theirDate = new Date((year + min_age), month, day);
			var today = new Date;

			if ( (today.getTime() - theirDate.getTime()) < 0) {
				alert("You must be 21 to become a member!");
				return false;
			}
			else {
				return true;
			}
		}