function init() { } function enviavoto(voto,pos,elID){ oConn = new XHConn(); strPost = "accion=voto&voto="+voto+"&pos="+pos; if(pos == 'pro') { valor = 1; } else { valor = 2; } if (!oConn) alert("XMLHTTP no disponible. Intentelo con otro navegador."); var fnWhenDone = function (oXML) { if (oXML.responseText != 0) { document.getElementById("rate"+elID).innerHTML = oXML.responseText; document.getElementById("rate"+elID).style.cursor = "default"; } else { alert("Ha ocurrido un error en el voto."+oXML.responseText); } }; oConn.connect("/rating.php", "POST", strPost , fnWhenDone); }
Entra un tio en una farmacia y le dice:
T- deme 500 cajas de condones….
F- oye, ¿y no seria mejor que te la plastifiques?
Usuario: monica zanetti | Categoría: Farmacias | Comentarios: → No hay comentarios