function getpollData(aform) {
	
	poll_id = aform.poll_id.value;

	poll_forwarder = aform.poll_forwarder.value;

	poll_vote = 0;

	for (i=0;i<aform.poll_voteNr.length;i++) {
		if (aform.poll_voteNr[i].checked) {
			poll_vote = aform.poll_voteNr[i].value;
		break;
		}
	}

	// alert("poll_id :"+poll_id+" Voto: "+poll_vote);
	// show results only if a valid vote is sent
	if (poll_vote) {
		window.open('http://www.federacioncolombianadegolf.com/pollresult.php3?poll_id='+poll_id+'&poll_voteNr='+poll_vote,"new_window","scrollbars=yes,width=250,height=300")
	}

	return false;
	
}

function showpollData(poll_id) {
	window.open('http://www.federacioncolombianadegolf.com/pollresult.php3?poll_id='+poll_id+'&ro=1',"Resultados","scrollbars=yes,width=250,height=300");

}