
/**
 * Controla la selecció del vot
 *
 */
function controlaSeleccionVoto(oForm){

	//var oForm = document.getElementById(idForm);
	if (typeof(oForm)=='undefined'){
		return false;
	}

	var pollId = oForm.id.split('_')[1];

	var oRadio = oForm.voteid;
	var selected = -1;
	for(var i=0;i < oRadio.length;i++){
		if (oRadio[i].checked){
			selected = i;
			break;
		}
	}

	if (selected != -1){
		return true;
	}else{
		//alert('Tiene que seleccionar una opci�n para votar');
		alert(strError);
		return false;
	}

}
