context: function updateOptionalBlock(c,scroll) {    // find the start TR    var s = c;    while(!s.hasClassName("optional-block-start"))        s = s.parentNode;    var tbl = s.parentNode;    var i = false;    var o = false;    var checked = c.checked;    var lastRow = null;    for (var j = 0; tbl.rows[j]; j++) {        var n = tbl.rows[j];        if (i && n.hasClassName("optional-block-end"))            o = true;        if (i && !o) {            if (checked) {                n.style.display = "";                lastRow = n;            } else                n.style.display = "none";        }        if (n==s) {            if (n.getAttribute('hasHelp') == 'true')                j++;            i = true;        }    }    if(checked && scroll) {        var D = YAHOO.util.Dom;        var r = D.getRegion(s);        if(lastRow!=null)   r = r.union(D.getRegion(lastRow));        scrollIntoView(r);    }}
meta: 3881	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3881/74b0f4524713bf7a01f3589e4bb479f6428e87e9/hudson-behavior.js/buggy/war/resources/scripts/hudson-behavior.js