function listVote(userID,listID,stars,starsSpot) {
	var ajax = getXMLHttpRequestObject();
	if(ajax) {
		ajax.open('POST', 'http://www.10to1.com/voteForList.php');
		ajax.onreadystatechange = function() {
			handleListVote(ajax,listID,starsSpot);
		}
		var values = 'userID='+userID+'&listID='+listID+'&stars='+stars;
		ajax.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		ajax.send(values);
		return false;
	}
}
function handleListVote(ajax,listID,starsSpot) {
	if(ajax.readyState == 4) {
		if((ajax.status == 200) || (ajax.status == 304)) {
			var results = document.getElementById('votingResults');
			if(ajax.responseText=='Thank You For Voting!')
			{
				/* If this is on the index or category page, grab all lists, else grab the stars */
				ajax.open('GET','http://www.10to1.com/getStars.php?listID='+ listID +"&" + Math.random());
				ajax.onreadystatechange=function()
				{
					updateStars(ajax,starsSpot);
				}
				ajax.send(null);
				/* End of Grab Lists */
			}
			else
			{
				results.innerHTML=ajax.responseText;
			}
		}
	}
}
function updateStars(ajax,starsSpot)
{
	if(ajax.readyState==4)
	{
		if((ajax.status==200)||(ajax.status==304))
		{
			var results=document.getElementById(starsSpot);
			results.innerHTML=ajax.responseText;
		}
	}
}