function checkForm() 
{
	var dctr=document.form_call.doc_name
	var don=document.form_call.ADate
	var txtn=document.form_call.txt_on_1
	var dof=document.form_call.ADateof
	var txtf=document.form_call.txt_of_1
var okSoFarDR=true 
if (dctr.value == '')
	 	{
      	okSoFarDR=false
	  	alert('Please enter Name')
	  	document.form_call.doc_name.focus()     
      	return false;
    	}
	var okSoFar=true 
{
		if ((don.value == '') & (dof.value == ''))
	 	{
      	okSoFar=false
	  	alert('Please enter Date(s)')
	  	document.form_call.ADate.focus()     
      	return false;
    	} 
	var okSoFar2=true 
		if ((don.value !== '') & (txtn.value == ''))
	 	{	 
		okSoFar2=false 
		txtn.focus()
      	alert('You must enter Reason for request to be On Call.')
      	return false;
    	}
	var okSoFar3=true
	 	if ((dof.value !== '') & (txtf.value == ''))
	 	{	
	 	okSoFar3=false 
		txtf.focus()
      	alert('You must enter Reason for request to be Off Call.')
      	return false;
    	}
	//var okSoFar4=true
    	//if ((okSoFar=false) || (okSoFar2=false) || (okSoFar3=false))
		//{
		//okSoFar4=false
		//txtn.focus()
		//alert('You must enter Name, Date, and Reason.')
		//}
		else
		return true;
		//{
		//document.form_call.submit()
	alert ('Form has been sent. Thank you!');
	
  }
}
