<!--
function popWindow( URL )
			{
				theWindow = window.open( URL, 'Calendar', 'location=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=1, width=500, height=400');
				theWindow.focus();
			}
//popWindow
			
function validate()
{
  if (document.theForm.fname.value=="")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.fname.focus();
    return (false);
  }
  if (document.theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.Email.focus();
    return (false);
  } 
 if (document.theForm.questions.value == "")
  {
    alert("Please enter a value for the \"Question or comments\" field.");
    theForm.questions.focus();
    return (false);
  }
if (document.theForm.Email.value.length >0) {
	 i=document.theForm.Email.value.indexOf("@")
	 j=document.theForm.Email.value.indexOf(".",i)
	 k=document.theForm.Email.value.indexOf(",")
	 kk=document.theForm.Email.value.indexOf(" ")
	 jj=document.theForm.Email.value.lastIndexOf(".")+1
	 len=document.theForm.Email.value.length

 	if ((i>0) && (j>(1+1)) && (k==-1) && (kk==-1) && (len-jj >=2) && (len-jj<=3)) {
 	}
 	else {
 		alert("Please enter an exact Email address.\n" +
		document.theForm.Email.value + " is invalid.");
		return false;
 	}
 }

  var iChars = "!@#$%^&*()+=-[]\\\;/{}|\":<>";

  for (var i = 0; i < document.theForm.questions.value.length; i++) {
  	if (iChars.indexOf(document.theForm.questions.value.charAt(i)) != -1) {
  	alert ("You have entered special characters which are not allowed.\n Please remove them and try again.");
  	return false;
  	}
  }
 }

//-->
