// JavaScript Document
function doVote(pf,v)
{
	document.poll.pf.value=pf;
	document.poll.v.value=v;
}
function pollVotecompleted()
{
	document.getElementById('poll_voting').innerHTML = ajax.response;	
	//alert(ajax.response);
}


function pollVote(pf,v)
{
	var url = base_url+"/ajax_pollVote.php?pf="+pf+"&v="+v;		
	ajax.requestFile = url;
	ajax.method = "post";
	ajax.onCompletion = pollVotecompleted;
	ajax.runAJAX();
}
