function myValidate()
  {
		 
    if (window.document.myForm.name.value=="")
  	 {
  		 alert("Please enter your name.");
     	 window.document.myForm.name.focus();
  		 return false;
  	 }

    if (window.document.myForm.email.value=="")
  	 {
  		 alert("Please enter your email address.");
     	 window.document.myForm.email.focus();
  		 return false;
  	 }
	 

    if (window.document.myForm.caddress.value=="")
  	 {
  		 alert("Please enter your campus address.");
     	 window.document.myForm.caddress.focus();
  		 return false;
  	 }	   

    if (window.document.myForm.cphone.value=="")
  	 {
  		 alert("Please enter your campus phone number.");
     	 window.document.myForm.cphone.focus();
  		 return false;
  	 }	

    if (window.document.myForm.institution.value=="")
  	 {
  		 alert("Please enter your institution.");
     	 window.document.myForm.institution.focus();
  		 return false;
  	 }			 		 
    if (window.document.myForm.adminname.value=="")
  	 {
  		 alert("Please enter your administrator's name.");
     	 window.document.myForm.adminname.focus();
  		 return false;
  	 }  
		 			 		 
/*	
    if (window.document.myForm.fadvisor.value=="")
  	 {
  		 alert("Please enter your faculty advisor's name.");
     	 window.document.myForm.fadvisor.focus();
  		 return false;
  	 }	
*/
    if (window.document.myForm.title.value=="")
  	 {
  		 alert("Please enter the title of your proposal.");
     	 window.document.myForm.title.focus();
  		 return false;
  	 }	

    if (window.document.myForm.proposal.value=="")
  	 {
  		 alert("Please enter your proposal.");
     	 window.document.myForm.proposal.focus();
  		 return false;
  	 }			 		 

    if (window.document.myForm.abstract.value=="")
  	 {
  		 alert("Please enter your abstract.");
     	 window.document.myForm.abstract.focus();
  		 return false;
  	 }			 
		 
    return true;
  }
	
function maxlength(element, maxvalue)
     {
     var q = eval("document.myForm."+element+".value.length");
     var r = q - maxvalue;
     var msg = "You have entered too many characters.";
     if (q > maxvalue) alert(msg);
     }

	 	