function g(i) {
	return document.getElementById(i)
}

function voteMe(id,tb) {
	if(/*@cc_on!@*/false)
		var http = new ActiveXObject('Microsoft.XMLHTTP')
	else
		var http = new XMLHttpRequest()
	http.open('GET', '/vote/'+id+'/'+(tb=='+' ? 1 : 0)+'/')
	http.onreadystatechange = function() {
		if(http.readyState == 4) {
			g('vt' + id).style.display='none'
			g('vb' + id).style.display='none'
			window.location.reload()
		}

	}
	http.send(null)

}

