<script language="javascript">
	function CheckMultiple11(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 CheckForm11(f) {
		if (f.email.value == "") {
			alert("Please enter your email address.");
			f.email.focus();
			return false;
		}
		if (f.format.selectedIndex == -1) {
			alert("Please choose a format to receive your email campaigns in");
				f.format.focus();
				return false;
		}
			
		lists_chosen = CheckMultiple11(f, "lists");
		if (!lists_chosen) {
			alert("Please choose some contact lists to subscribe to");
			return false;
		}
		
		lists_chosen = CheckMultiple11(f, "lists");
		if (!lists_chosen) {
			alert("Please choose some contact lists to subscribe to");
			return false;
		}
		
		lists_chosen = CheckMultiple11(f, "lists");
		if (!lists_chosen) {
			alert("Please choose some contact lists to subscribe to");
			return false;
		}
		
		lists_chosen = CheckMultiple11(f, "lists");
		if (!lists_chosen) {
			alert("Please choose some contact lists to subscribe to");
			return false;
		}
		
		lists_chosen = CheckMultiple11(f, "lists");
		if (!lists_chosen) {
			alert("Please choose some contact lists to subscribe to");
			return false;
		}
		
		lists_chosen = CheckMultiple11(f, "lists");
		if (!lists_chosen) {
			alert("Please choose some contact lists to subscribe to");
			return false;
		}
			
		var fname = "CustomFields_1_11";
		var fld = document.getElementById(fname);
		if (fld.selectedIndex == -1 || fld.selectedIndex == 0) {
			alert("Please choose an option for field Title");
			fld.focus();
			return false;
		}
	
			return true;
		};
</script>