<!--
// function to remove text from newsletter signup
function checkthis(el) {
	//if (el.value=="name 1,name 2,name 3") { el.value=''; }
	el.value='';
}
function validate() {
	// read in form values
	var frm_names=document.form1.os0.value;
	var names=frm_names.split(',');
	var name_count=frm_names.split(',').length;
	var illegalChars=/[\(\)\<\>\'\;\.\-\_\ \:\\\/\"\[\]]/

	// check for blank fields
	if(frm_names=="") {
		alert("Blank Fields");
		return false;
	}

	if(name_count>3) {
		alert("Stop cheating, only 3 names are allowed");
		return false;
	}

	// check for illegal characters in names field
	if (frm_names.match(illegalChars)) {
		alert("There are unwanted characters in the form.\n\nPlease ensure you have names seperated by commas only.\n\nSpaces are not allowed");
		return false;
	}

	// check to see if there are any blanks
	if(name_count==3) {
		if (names[0]=="" || names[1]=="" || names[2]=="") {
			alert("You've left out a name");
			return false;
		}
	}

	if(name_count==2) {
		if (names[0]=="" || names[1]=="") {
			alert("You've left out a name");
			return false;
		}
	}

}
-->