function validate() {
	if (isWhitespace (document.MemberForm.membername.value)) {
		alert("Please enter your first name or nickname.");
		document.MemberForm.membername.focus();
		document.MemberForm.membername.select();
		return false;
	}
	if (isWhitespace (document.MemberForm.headline.value)) {
		alert("Please enter your headline.");
		document.MemberForm.headline.focus();
		document.MemberForm.headline.select();
		return false;
	}
	if (document.MemberForm.gender.selectedIndex == 0 ) { 
		alert("Please choose from My Gender options");
		document.MemberForm.gender.focus();
		return false;
	}	 
	if (document.MemberForm.seeking.selectedIndex == 0 ) { 
		alert("Please choose from I am Seeking options");
		document.MemberForm.seeking.focus();
		return false;
	}	 
	if (document.MemberForm.purpose.selectedIndex == 0 ) { 
		alert("Please choose from For options");
		document.MemberForm.purpose.focus();
		return false;
	}	 
	if (document.MemberForm.desireageFrom.selectedIndex == 0 ) { 
		alert("Please choose from Desired Age Range From options");
		document.MemberForm.desireageFrom.focus();
		return false;
	}	 
	if (document.MemberForm.desireageTo.selectedIndex == 0 ) { 
		alert("Please choose from Desired Age Range To options");
		document.MemberForm.desireageTo.focus();
		return false;
	}	 	
	if (document.MemberForm.desireageFrom.selectedIndex > document.MemberForm.desireageTo.selectedIndex ) { 
		alert("Please choose Valid Age Range");
		document.MemberForm.desireageTo.focus();
		return false;
	}	 	
		if (document.MemberForm.marstatus.selectedIndex == 0 ) { 
		alert("Please choose from Current Relationship Status options");
		document.MemberForm.marstatus.focus();
		return false;
	}	 
	if (document.MemberForm.ethnicgroup.selectedIndex == 0 ) { 
		alert("Please choose from My Ethnic Group options");
		document.MemberForm.ethnicgroup.focus();
		return false;
	}	 

	if (document.MemberForm.religion.selectedIndex == 0 ) { 
		alert("Please choose from My Religion options");
		document.MemberForm.religion.focus();
		return false;
	}	

	if (document.MemberForm.education.selectedIndex == 0 ) { 
		alert("Please choose from My Education options");
		document.MemberForm.education.focus();
		return false;
	}	 
	if (document.MemberForm.pets.selectedIndex == 0 ) { 
		alert("Please choose from Do I Have Pets options");
		document.MemberForm.pets.focus();
		return false;
	}	 
	if (document.MemberForm.havechildren.selectedIndex == 0 ) { 
		alert("Please choose from Do I Have Children options");
		document.MemberForm.havechildren.focus();
		return false;
	}	 
	if (document.MemberForm.wantchildren.selectedIndex == 0 ) { 
		alert("Please choose from Do I Want Children options");
		document.MemberForm.wantchildren.focus();
		return false;
	}	 
	if (isWhitespace (document.MemberForm.city.value)) {
		alert("Please enter your city.");
		document.MemberForm.city.focus();
		document.MemberForm.city.select();
		return false;
	}

	if (document.MemberForm.state.selectedIndex == 0 ) { 
		alert("Please choose from State or Province options");
		document.MemberForm.state.focus();
		return false;
	}	 
	if ((document.MemberForm.country.selectedIndex == 1  )
		&& (document.MemberForm.state.selectedIndex < 2 
		|| document.MemberForm.state.selectedIndex > 52) ) { 
		alert("Please choose valid US State");
		document.MemberForm.state.focus();
		return false;
	}	 
	if ((document.MemberForm.country.selectedIndex == 2  )
		&& document.MemberForm.state.selectedIndex < 53 ) { 
		alert("Please choose valid Canadian Province");
		document.MemberForm.state.focus();
		return false;
	}	 
	if ((document.MemberForm.country.selectedIndex > 2  )
		&& document.MemberForm.state.selectedIndex != 1 ) { 
		alert("If Country is not US or Canada, State must be Not Applicable");
		document.MemberForm.state.options[1].selected = true;
		document.MemberForm.state.focus();
		return false;
	}	 
	if (document.MemberForm.country.selectedIndex == 0 ) { 
		alert("Please choose from Country options");
		document.MemberForm.country.focus();
		return false;
	}	 
	if ( (document.MemberForm.country.selectedIndex == 1 
		|| document.MemberForm.country.selectedIndex == 2  )
		&& (isWhitespace (document.MemberForm.areacode.value) 
		|| !isaNum (document.MemberForm.areacode.value))) {
		alert("Numeric Area Code must be entered for United States and Canada.");
		document.MemberForm.areacode.focus();
		document.MemberForm.areacode.select();
		return false;
	}
	if ( (document.MemberForm.country.selectedIndex == 1 
		|| document.MemberForm.country.selectedIndex == 2  )
		&& isaNum (document.MemberForm.areacode.value)
		&& (document.MemberForm.areacode.value < 100  
		|| document.MemberForm.areacode.value > 999)) {
		alert("3-digit Area Code must be entered for United States and Canada.");
		document.MemberForm.areacode.focus();
		document.MemberForm.areacode.select();
		return false;
	}
	if ( !(document.MemberForm.country.selectedIndex == 1 
		|| document.MemberForm.country.selectedIndex == 2 )
		&& (!isWhitespace (document.MemberForm.areacode.value))) {
		alert("Area Code must be left blank if not in United States or Canada.");
		document.MemberForm.areacode.focus();
		document.MemberForm.areacode.select();
		return false;
	}
	if (document.MemberForm.country.selectedIndex == 1 
		&& (isWhitespace (document.MemberForm.searchzip.value) 
		|| !isaNum (document.MemberForm.searchzip.value))) {
		alert("Numeric Zip Code must be entered for United States.");
		document.MemberForm.searchzip.focus();
		document.MemberForm.searchzip.select();
		return false;
	}
	if (document.MemberForm.country.selectedIndex == 1 
		&& isaNum (document.MemberForm.searchzip.value)
		&& (document.MemberForm.searchzip.value.length != 5)) {
		alert("5-digit Zip Code must be entered for United States.");
		document.MemberForm.searchzip.focus();
		document.MemberForm.searchzip.select();
		return false;
	}
	if ( document.MemberForm.country.selectedIndex != 1 
		&& (!isWhitespace (document.MemberForm.searchzip.value))) {
		alert("Zip Code must be left blank if not in United States.");
		document.MemberForm.searchzip.focus();
		document.MemberForm.searchzip.select();
		return false;
	}
	if (document.MemberForm.smoking.selectedIndex == 0 ) { 
		alert("Please choose from My Smoking Preference options");
		document.MemberForm.smoking.focus();
		return false;
	}	 
	if (document.MemberForm.drinking.selectedIndex == 0 ) { 
		alert("Please choose from My Drinking Preference options");
		document.MemberForm.drinking.focus();
		return false;
	}	 
	if (document.MemberForm.whosecondition.selectedIndex == 0 ) { 
		alert("Please choose from Whose Condition options");
		document.MemberForm.whosecondition.focus();
		return false;
	}	 	
	if ((document.MemberForm.cancer1.selectedIndex != 00000  )
		&& (document.MemberForm.cancerstat1.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Cancer");
		document.MemberForm.cancerstat1.focus();
		return false;
	}	 
	if ((document.MemberForm.cancer2.selectedIndex != 00000  )
		&& (document.MemberForm.cancerstat2.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Cancer");
		document.MemberForm.cancerstat2.focus();
		return false;
	}	 
	if ((document.MemberForm.cancer3.selectedIndex != 00000  )
		&& (document.MemberForm.cancerstat3.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Cancer");
		document.MemberForm.cancerstat3.focus();
		return false;
	}	 
	if ((document.MemberForm.physical1.selectedIndex != 00000  )
		&& (document.MemberForm.physicalstat1.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Physical Condition");
		document.MemberForm.physicalstat1.focus();
		return false;
	}	 
	if ((document.MemberForm.physical2.selectedIndex != 00000  )
		&& (document.MemberForm.physicalstat2.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Physical Condition");
		document.MemberForm.physicalstat2.focus();
		return false;
	}	 
	if ((document.MemberForm.physical3.selectedIndex != 00000  )
		&& (document.MemberForm.physicalstat3.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Physical Condition");
		document.MemberForm.physicalstat3.focus();
		return false;
	}	 
	if ((document.MemberForm.mental1.selectedIndex != 00000  )
		&& (document.MemberForm.mentalstat1.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Mental Condition");
		document.MemberForm.mentalstat1.focus();
		return false;
	}	 
	if ((document.MemberForm.mental2.selectedIndex != 00000  )
		&& (document.MemberForm.mentalstat2.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Mental Condition");
		document.MemberForm.mentalstat2.focus();
		return false;
	}	 
	if ((document.MemberForm.mental3.selectedIndex != 00000  )
		&& (document.MemberForm.mentalstat3.selectedIndex == 0 )) { 
		alert("Please choose the Status of your Mental Condition");
		document.MemberForm.mentalstat3.focus();
		return false;
	}	 
	if (isWhitespace (document.MemberForm.occupation.value)) {
		alert("Please enter your occupation.");
		document.MemberForm.occupation.focus();
		return false;
	}
	if (document.MemberForm.occupation.value.length > 255) {
		alert("Occupation must not be greater than 255 characters.");
		document.MemberForm.occupation.focus();
		return false;
	}
	return true;	
}
