function isCheckPoll(pollform)
{
	
	opt=-1;
	for(i=document.pollf.voteid.length-1;i >-1;i--)
	{
		if(document.pollf.voteid[i].checked)
		{
			opt=i;i=-1;
		}		
		
	}
	if(opt==-1)
	{
		alert("You must select any one");
		return false;
	}
	else
	{
		var x;
		var y;
		var z;
		  
		  x=document.pollf.phoneno.value;
		  y=document.pollf.email.value;
		  z=document.pollf.name.value;
		   if(x!=0 || y!=0 || z!=0)
		   {
			   if(z==0)
			   {
					alert("Enter Name");
					document.pollf.name.focus();
					return false   
			   }
			   
			   if(check_mobile(x,"Enter Valid Mobile Number")!='')
			   {
				   alert("Enter Valid Mobile Number");
					document.pollf.phoneno.focus();
					return false
			   }
		  
			if(IsEmailValidp(y)==false)
			  {
					document.pollf.email.focus();
					return false
			  }
		  }
		  
	 document.pollf.submit();
	}
}

function check_mobile(x,y)
{
	if(x=="")
		return y;
	else
	{
		chk=x.charAt(0);
		if(chk!=9)
			return y;
		if(x.length!=10)
			return y;
			
		if(isNumber(x))
			return y;
			
		return "";
	}
}
