function checksubscribescript()
	{
		// Check for valid input
		if (!document.subscribeform.first_name.value){
			alert('Please enter your first name.');
			document.subscribeform.first_name.focus();
			return false;
		}
		if (!document.subscribeform.last_name.value){
			alert('Please enter your last name.');
			document.subscribeform.last_name.focus();
			return false;
		}				
		var testresults;
		var str=document.subscribeform.email.value;
		var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
		if (filter.test(str)){
			testresults=true;
		}else{
			alert('Please type in a valid email.');
			document.subscribeform.email.focus();
			testresults=false;
			return (testresults);
		}
		if ((!document.subscribeform.group1[0].checked) && (!document.subscribeform.group1[1].checked)){
			alert('Please select your sex.');
			return false;
		}

		if (!document.subscribeform.birthmonth.value){
			alert('Please select your birth month.');
			document.subscribeform.birthmonth.focus();
			return false;
		}
		if (!document.subscribeform.birthday.value){
			alert('Please select your birth day.');
			document.subscribeform.birthday.focus();
			return false;
		}		
		if (!document.subscribeform.birthyear.value){
			alert('Please select your birth year.');
			document.subscribeform.birthyear.focus();
			return false;
		}
		

		// looks like everything is good
		return true;		
	}

