rem: setTimeout(startListRequest, 100, false); 
add: setInterval(doCurrentStatus, STATE_DELAY); setState(STATE_LOAD); 
context: function onLoad(){    function ondblclick(event) { channelTreeView.onRouteDblClick(event); };    function onkeypress(event) { channelTreeView.onRouteKeyPress(event); };    function onfocus(event)    { channelTreeView.onRouteFocus(event); };    function onblur(event)     { channelTreeView.onRouteBlur(event); };    function doJoin()    {        if (joinChannel())            window.close();    };    client = window.arguments[0].client;    window.toUnicode = client.mainWindow.toUnicode;    window.getMsg = client.mainWindow.getMsg;    window.MSG_CHANNEL_OPENED = client.mainWindow.MSG_CHANNEL_OPENED;    window.MT_INFO = client.mainWindow.MT_INFO;    // Import "MSG_CD_*"...    for (var m in client.mainWindow)    {        if (m.substr(0, 7) == "MSG_CD_")            window[m] = client.mainWindow[m];    }    network = client.mainWindow.getObjectDetails(client.currentObject).network;    var tree = document.getElementById("channelList");    channelTreeView = new XULTreeView(channelTreeShare);    channelTreeView.onRowCommand = doJoin;    channelTreeView.cycleHeader = changeSort;    tree.treeBoxObject.view = channelTreeView;    // Sort by user count, decending.    changeSort("chanColUsers");    tree.addEventListener("dblclick", ondblclick, false);    tree.addEventListener("keypress", onkeypress, false);    tree.addEventListener("focus", onfocus, false);    tree.addEventListener("blur", onblur, false);    createChannelItem = new ChannelEntry("", "", MSG_CD_CREATE);    createChannelItem.first = true;    channelTreeView.childData.appendChild(createChannelItem);    document.title = getMsg(MSG_CD_TITLE, [network.unicodeName,                                           network.getURL()]);    setTimeout(startListRequest, 100, false);}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/2623425fb5ec008d6d2844bb5cf18e45fc03fcdc/channels.js/buggy/xul/content/channels.js