function insert_vote(pid, value) {
	var url = '/ajax/ins_pano_vote.php?pid=' + parseInt(pid) + '&val=' + parseInt(value);
	request.onreadystatechange = update_pano_stats;
	request.open("GET", url, true);
	request.send(null);
}

