function checkThis(thisCandy) {
	if(thisCandy == 1){
		document.voteform.voter1.checked = true;
	}

	if(thisCandy == 2){
		document.voteform.voter2.checked = true;
	}

	if(thisCandy == 3){
		document.voteform.voter3.checked = true;
	}

	if(thisCandy == 4){
		document.voteform.voter4.checked = true;
	}

	if(thisCandy == 5){
		document.voteform.voter5.checked = true;
	}

	if(thisCandy == 6){
		document.voteform.voter6.checked = true;
	}
}

function doVoting() {
    if(document.getElementById('voter1').checked == true) {
        window.location = "voting/vote0/";
    }
    if(document.getElementById('voter2').checked == true) {
        window.location = "voting/vote0/";
    }
    if(document.getElementById('voter3').checked == true) {
        window.location = "voting/vote0/";
    }
    if(document.getElementById('voter4').checked == true) {
        window.location = "voting/vote0/";
    }
    if(document.getElementById('voter5').checked == true) {
        window.location = "voting/vote0/";
    }
    if(document.getElementById('voter6').checked == true) {
        window.location = "voting/vote0/";
    }
}