function SendCall(){
var name;
var email;
var phone;
var purpose;
var sendMess=true;
	name = document.frmInsCall.frmName.value;
	if (name==""){
	alert("Please fill your Name by which you will be called !");
	//document.frmInsCall.frmName.focus();
	sendMess=false;
	//exit();
	}

	email=document.frmInsCall.frmEMail.value;
	apos=email.indexOf("@"); 
	dotpos=email.lastIndexOf(".");
	lastpos=email.length-1;
	if (apos<1 || dotpos-apos<2 || lastpos-dotpos>3) 
	{
		alert("Please enter a valid E-mail address !");					
		document.frmInsCall.frmEMail.focus();
		sendMess=false;
		//exit();
	}

	phone = document.frmInsCall.frmPhone.value;
	if(phone==""){
	alert("Please enter your mobile or phone no with \n international and national code on which \n you will be called !");
	document.frmInsCall.frmPhone.focus();
	sendMess=false;
	//exit();
	}

	purpose =  document.frmInsCall.frmPurpose.value;

	if (sendMess){
	var ycoord, str, popH;
		popH =100;
		ycoord = screen.availHeight /2-50;
		xcoord = screen.availWidth/2-100;
		str = "width=200,height=" + popH;
		str += ",status=no,resizable=yes,scrollbars=no";
		str += ",left="+xcoord;
		str += ",screenX="+xcoord ;
		str += ",top=" + ycoord;
		str += ",screenY=" + ycoord;
	  window.open('sendinscall.php?fname='+name+"&femail="+email+"&fphone="+phone+"&fpurpose="+purpose,'instantcall',str);
	  document.frmInsCall.frmName.value="";
	  document.frmInsCall.frmEMail.value="";
	  document.frmInsCall.frmPhone.value="";
	  document.frmInsCall.frmPurpose.selectedIndex=0;
	}

}