// JavaScript Document
function mv_validate_poll() {

	element_checked = false
		if (document.polling_form.poll) { //check if the elemement is there
			if (document.polling_form.poll.length) { // check if there is more than on element with that name
				for (i = 0; i<document.polling_form.poll.length; ++ i)
					{
						if (document.polling_form.poll[i].checked) {
							element_checked = true
						}
					}
			} else {
				if (document.polling_form.poll.checked) {
					element_checked = true
				}
			}
		}
	if (element_checked == false) {
		alert('Please select yes or no.');
		return false;
	}
}
