function setVOTE(type,modus,infoID)
{
	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("您的浏览器不支持AJAX！");
				return false;
			}
		}
	}
	
	xmlHttp.onreadystatechange=function()
	{	
		if(xmlHttp.readyState==4){
			  if(xmlHttp.status == 200)
			  { 		
			  		document.questionForm.vote.value="2";
					
					var obj=xmlHttp.responseText;
					var tempA=obj.split(",");
					if(obj!='w')
					{		
						document.getElementById('goodNUM').innerHTML='('+tempA[0]+')';	
						document.getElementById('goodWIDTH').style.width=tempA[1];
						document.getElementById('goodH').innerHTML=tempA[1];	
						
						document.getElementById('badNUM').innerHTML='('+tempA[2]+')';	
						document.getElementById('badWIDTH').style.width=tempA[3];
						document.getElementById('badH').innerHTML=tempA[3];	
					}
			  }
		}
	}
	if(document.questionForm.vote.value=="1")
	{
		var url="./setvote.php?type="+type+"&modus="+modus+"&infoID="+infoID;
		//alert(url)
		xmlHttp.open("GET",url,true);
		xmlHttp.send(null);
	}
	else
	{
		alert("您不能连续顶或踩");
	}
}