rem: if ($(jiveAddRegPanel).style.display != 'none') { 
add: var jiveAddRegPanel = document.getElementById("jiveAddRegPanel"); var jiveAddRegButton = document.getElementById("jiveAddRegButton"); var jiveAddRegLink = document.getElementById("jiveAddRegLink"); if ($(jiveAddRegPanel).style.display != 'none') { 
context: function toggleAdd(theID) {	if ($(jiveAddRegPanel).style.display != 'none') {		Effect.SlideUp($(jiveAddRegPanel), {duration: .2})		$(jiveAddRegButton).className = "jive-gateway-addregBtn";		$(jiveAddRegLink).innerHTML = "Add a new registration";	} else if ($(jiveAddRegPanel).style.display == 'none') {		Effect.SlideDown($(jiveAddRegPanel), {duration: .2})		$(jiveAddRegButton).className = "jive-gateway-addregBtn jive-gateway-cancelAdd";		$(jiveAddRegLink).innerHTML = "Cancel adding new registration";	}}
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