function processVote(iPollId,iAntwoordId)
{
	var req = ajaxFunction();	
	req.open("POST", "php/libs/vote.php", true);
	req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	req.send('&PollId=' + iPollId + '&AntwoordId=' + iAntwoordId);
	document.body.innerHTML = '';
	document.body.innerHTML ="<div id='loading'><img src='img/loading.gif' />&nbsp;&nbsp;Een moment geduld...</div>"
	req.onreadystatechange=function()
	{
		if(req.readyState == 4) 
		{
			//Verbinding in orde
			if (req.status == 200)
			{
					document.body.innerHTML = req.responseText;
			}
		}
	}
}