rem: singleInput.focus(); 
add: client.input = singleInput; 
context: function multilineInputMode (state){    var multiInput = document.getElementById("multiline-input");    var singleInput = document.getElementById("input");    var splitter = document.getElementById("input-splitter");    var iw = document.getElementById("input-widgets");    var h;        if (state)  /* turn on multiline input mode */    {                h = iw.getAttribute ("lastHeight");        if (h)            iw.setAttribute ("height", h); /* restore the slider position */        singleInput.setAttribute ("collapsed", "true");        splitter.setAttribute ("collapsed", "false");        multiInput.setAttribute ("collapsed", "false");        multiInput.focus();    }    else  /* turn off multiline input mode */    {        h = iw.getAttribute ("height");        iw.setAttribute ("lastHeight", h); /* save the slider position */        iw.removeAttribute ("height");     /* let the slider drop */                splitter.setAttribute ("collapsed", "true");        multiInput.setAttribute ("collapsed", "true");        singleInput.setAttribute ("collapsed", "false");        singleInput.focus();    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9af76861b10065c19233c1466c99740d433f45fe/static.js/clean/extensions/irc/xul/content/static.js