function vote(t,id) {
	var action = 'vote';
	var vot = new Subsys_JsHttpRequest_Js();
	vot.onreadystatechange = function() {
		if (vot.readyState == 4) {
			document.getElementById('votid').innerHTML = vot.responseText;
		}
	}
	vot.caching = false;
	vot.open('POST', '/ajax/vote.php', true);
	vot.send({ act: action, t: t, id: id });
} 