rem: activeLink = thisID.id+"Link"; if (lastID != "") { thatID = lastID; oldLink = thatID.id+"Link"; if ($(thisID).style.display != 'none' && $(thatID).style.display == 'none') { 
add: var activeLink = thisID.id+"Link"; if (lastID != "" && lastID != thisID) { var oldLink = lastID.id+"Link"; if ($(thisID).style.display != 'none' && $(lastID).style.display == 'none') { 
context: function togglePanel(thisID) {    activeLink = thisID.id+"Link";    if (lastID != "") {        thatID = lastID;        oldLink = thatID.id+"Link";        if ($(thisID).style.display != 'none' && $(thatID).style.display == 'none') {            Effect.toggle($(thisID),'slide', {duration: .4});            $(activeLink).className = "";        } else if ($(thisID).style.display == 'none' && $(thatID).style.display != 'none') {            $(thatID).style.display = 'none';            $(thisID).style.display = 'block';            $(oldLink).className = "";            $(activeLink).className = "jive-gatewayButtonOn";        } else {            Effect.toggle($(thisID),'slide', {duration: .4});            $(activeLink).className = "jive-gatewayButtonOn";        }    }    else {        if ($(thisID).style.display != 'none') {            Effect.toggle($(thisID),'slide', {duration: .4});            $(activeLink).className = "";        } else {            Effect.toggle($(thisID),'slide', {duration: .4});            $(activeLink).className = "jive-gatewayButtonOn";        }    }    lastID = thisID;}
meta: 4272	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4272/b2f655c40183a499c41f6e770dc3ac6dd82f7d74/gateways.js/buggy/src/plugins/gateway/src/web/scripts/gateways.js