function submitProvince(id) {
	//window.location.href="entries.php?county="+id;
	window.location.href="voting.php?county="+id;
 }

 function Validate()
{
	var frm = document.frmVote;
	var error = new Array();
	var errorMessage = "";	
	clear_spaces(frm);

	myOption = -1;
	for (i=document.frmVote.entry_id.length-1; i > -1; i--)
	{
		if (document.frmVote.entry_id[i].checked) 
		{
			myOption = i;
		}
	}
	if (myOption == -1) 
	{
		error[1] = "Please vote for a club";
	}	
	error[2] = checkText(frm.email) ? "" : "Please enter your email address to vote";

	if(error[2]==""){
		error[3] = emailCheck(frm.email.value) ? "" : "This is not a valid email address";
	}

	for(var i=1; i<error.length; i++)
	  if(error[i]!=undefined)
		errorMessage+= error[i] != "" ? " * " +error[i]+"\n" : "";
	
	frm.submit();
	/*if(errorMessage == "")
	{
		frm.submit();
		return true;
	}
	else{	
		alert(errorMessage);
		return false;
	}*/
}