<!--
function muralVotar(id, voto) {
    alert("Computando voto...\nAguarde até finalizar!");
    ajax = ajaxInit();
    if (ajax) {
        ajax.open("GET", "muralvotos10.php?id="+id+"&voto="+voto,true);
        ajax.onreadystatechange = function() {
            if(ajax.readyState == 1) {
                document.getElementById('voto'+voto+id).innerHTML = '<img src="images10/icons/carregando.gif" width="16" height="16" border="0" alt="" />';
            }
            if(ajax.readyState == 4) {
                if(ajax.status == 200) {
                    var texto = ajax.responseText;
                    texto = texto.replace(/\+/g," ");
                    texto = unescape(texto);
				    document.getElementById('voto'+voto+id).innerHTML = texto;
                } else {
                    document.getElementById('voto'+voto+id).innerHTML = 'E';
                }
            }
        }
        ajax.send(null);
    }
    
    return false;
}
//-->
