<script language="javascript">
		function CheckMultiple8(frm, name) {
			for (var i=0; i < frm.length; i++)
			{
				fldObj = frm.elements[i];
				fldId = fldObj.id;
				if (fldId) {
					var fieldnamecheck=fldObj.id.indexOf(name);
					if (fieldnamecheck != -1) {
						if (fldObj.checked) {
							return true;
						}
					}
				}
			}
			return false;
		}
	function CheckForm8(f) {
		if (f.email.value == "") {
			alert("Please enter your email address.");
			f.email.focus();
			return false;
		}
	
				lists_chosen = CheckMultiple8(f, "lists");
				if (!lists_chosen) {
					alert("Please choose some contact lists to subscribe to");
					return false;
				}
			
				lists_chosen = CheckMultiple8(f, "lists");
				if (!lists_chosen) {
					alert("Please choose some contact lists to subscribe to");
					return false;
				}
			
				lists_chosen = CheckMultiple8(f, "lists");
				if (!lists_chosen) {
					alert("Please choose some contact lists to subscribe to");
					return false;
				}
			
				lists_chosen = CheckMultiple8(f, "lists");
				if (!lists_chosen) {
					alert("Please choose some contact lists to subscribe to");
					return false;
				}
			
				lists_chosen = CheckMultiple8(f, "lists");
				if (!lists_chosen) {
					alert("Please choose some contact lists to subscribe to");
					return false;
				}
			
				lists_chosen = CheckMultiple8(f, "lists");
				if (!lists_chosen) {
					alert("Please choose some contact lists to subscribe to");
					return false;
				}
			
		var fname = "CustomFields_1_8";
		var fld = document.getElementById(fname);
		if (fld.selectedIndex == -1 || fld.selectedIndex == 0) {
			alert("Please choose an option for field Title");
			fld.focus();
			return false;
		}
	
		var fname = "CustomFields_2_8";
		var fld = document.getElementById(fname);
		if (fld.value == "") {
			alert("Please enter a value for field Name");
			fld.focus();
			return false;
		}
	
			return true;
		};
	
</script>