--- googlecode.com/svn/trunk/public_html/poll.html 2007/05/01 17:10:10 17 +++ googlecode.com/svn/trunk/public_html/poll.html 2007/05/02 10:55:26 18 @@ -49,15 +49,7 @@ var byteoffset = 0; var newdata; document.domain = topdomain; - var url = "http://"+location.hostname+"/push?channel="+get("channel")+"&id="+get("MHostId")+"&persist="+get("persist")+"&template=2"; - if (get("lastmsgreceived") >= 0) { - url += "&restartfrom="+(get("lastmsgreceived")+1); - } else if (get("backtrack") > 0) { - url += "&backtrack="+get("backtrack"); - } else if (typeof(get("backtrack")) != "number") { - url += "&restartfrom="; - } - if (get("maxmessages") && get("persist")) url += "&maxmessages="+get("maxmessages"); + var url = get("subsurl")+"&persist="+get("persist")+"&template=2"; var now = new Date(); var t = now.getTime(); url += "&nocache="+t;