
					function surveyVote(frmName)
					{
						var frmObj = eval("document.frmSurvey" + frmName)
						var optionObj
						var optionIndex
						var voteWasMade = false
						var surveyItemOptionID
						for(optionIndex = 0; optionIndex < frmObj.length; optionIndex++ )
						{
							optionObj = eval("frmObj.elements[" + optionIndex + "]")
							if(optionObj.checked==true)
							{
								voteWasMade = true
							}
						}
						if(voteWasMade)
						{
							frmObj.action = "recieveVotes.asp"
							frmObj.submit();
						}
					}
					
					function surveyAlreadyVote(surveyID)
					{
						eval("survey" + surveyID + ".innerText='You can only vote once!'")	
					}

