function entityRate(e,t,ref) {
        http.open("GET", "/ajax/entity_engage.x?e="+e+"&t="+t+"&ref="+ref, true);
        http.onreadystatechange=function() {
		if(http.readyState == 4) {
			result = http.responseText;
			document.getElementById('rating_'+e).innerHTML = result;
		}
	}
	http.send(null);
	true;
}

function playerWatch(p,ref) {
        http.open("GET", "/ajax/player_watch.x?p="+p+"&ref="+ref, true);
        http.onreadystatechange=function() {
		if(http.readyState == 4) {
			result = http.responseText;
			document.getElementById('watch_'+p).innerHTML = result;
		}
	}
	http.send(null);
	true;
}

function fansExpand(e,t,l) {
        http.open("GET", "/ajax/player_fans.x?e="+e+"&t="+t+"&l="+l, true);
        http.onreadystatechange=function() {
		if(http.readyState == 4) {
			result = http.responseText;
			document.getElementById('likes_'+l).innerHTML = result;
		}
	}
	http.send(null);
	true;
}
