(part of) the JS file:
function subMsg(name, subj, cmt, ref)
{
//... (some code skipped)
mTimer = setTimeout('udtCmt(\''+ref+'\');', 1);
}
function udtMsg(ref)
{
GetXmlHttpObject();
if (xmlHttp!=null)
{
url="getMsgs.php?q="+ref+"&sid="+Math.random()...