// JavaScript Document
	
function checkfields()
	{
		if(MyForm.txtName.value=="")
		{
			alert("Please Enter Name !");
			MyForm.txtName.focus(); 
		}	
		else if(MyForm.txtCoName.value=="")
		{
			
		 DisplayAlert('AlertBox',100,250);
  
		
		}
		else if(MyForm.txtPhone.value=="")
		{
			alert("Please Enter either Phone or Mobile Number !");
			MyForm.txtPhone.focus();
		}
		else if(MyForm.txtEmail.value=="")
		{
			alert("Please Enter EMail ID !");
			MyForm.txtEmail.focus();
		}
							
		else
		{
			MyForm.action = "submitProcess.asp";
			MyForm.submit();
		}
	}

function DisplayAlert(id,left,top) {
document.getElementById(id).style.right=left+'px';
document.getElementById(id).style.top=top+'px';
document.getElementById(id).style.display='block';
}