Hey mad@Max,
I think you can use Yahoo's java package will better
Code:
<script type="text/javascript">
<!-- // Hack by Sinister -->
vBulletin.events.systemInit.subscribe(function()
{
online.req();
});
online = {
req:function()
{
YAHOO.util.Connect.asyncRequest("POST", "index.php?do=whoisonl", {
success: this.show,
failure: vBulletin_AJAX_Error_Handler,
timeout: vB_Default_Timeout
});
},
show:function(a)
{
fetch_object("whoisonl").innerHTML = a.responseText;
setTimeout("online.req()", 180000);
}
};
//Hack by Sinister -->
</script>