function openPoll() {
	for (var i=0;i<12;i++) {
		if (eval("document.poll.voteID["+i+"]")) {
			if (document.poll.voteID[i].checked) {
			voteID = document.poll.voteID[i].value;
			}
		}
	}
	pollID=document.poll.pollID.value;
	if (!eval("voteID")) {
	var voteID=0
	}
    window.open('pollBoth.php?pollID='+pollID+'&glvoteID='+voteID,'poll','left=0, top=0,width=540,height=310,toolbar=0, location=0, status=0');
	
}
