function vote_story(story_id, vValue, newtext) {
		//Check FF / IE
			var xmlHttp;
	try  	{
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
  	}
catch (e)  {
  // Internet Explorer
  try    {
	xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	}
  catch (e)    {
	try      {
	  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	  }
    catch (e)      	{
	    alert("Your browser does not support AJAX!");
	    return false;
		}		 }  		 }

		//Load the comments
		xmlHttp.onreadystatechange = function() {
		if(xmlHttp.readyState==4)
		  {
		  	document.getElementById('vote_text').innerHTML = '<div style="color:#95b869; padding-left:10px; padding-bottom:10px"><strong> ' + newtext + '</strong></div>'

		  }
		  }
	var myurl='/includes/functions/vote.asp?STORY_ID=' + story_id +'&vValue=' + vValue;
	myRand=parseInt(Math.random()*99999999);  // cache buster

  xmlHttp.open("GET",myurl + "&rand=" + myRand,true);
  xmlHttp.send(null);
  }

function voteMouseOver(s) {
	for (n = 1; n <= 5; n++) {
		document.getElementById('StoryVoteStar' + n).src = (n <= s) ? '/images/star_goldonwhite.gif' : '/images/star_grayonwhite.gif';
	}
}
