<!--// JavaScript Document
///////////////////////////////////////////GLOBAL VARIABLES///////////////////////////////////////////
var fieldNames = ['first name', 'surname', 'local authority area', 'email', 'organisation'];

function validEsign(theID, theAsp)
{
	var e = document.esign;
	
	for (var i=0; i < e.myvote.length; i++)
   {
   if (e.myvote[i].checked)
      {
      var myvotevalue = e.myvote[i].value;
      }
   }
	
	if(myvotevalue==''){
		alert('You have not voted.  You can select yes or no.');
	}
	else{
			updateDB(theID,'forms/'+theAsp,'theForm',myvotevalue);
	}

}
-->
