rem: if (bool == true) { var loading = document.createElementNS("http: loading.textContent = qaMain.bundle.getString("qa.extension.loading"); loading.setAttributeNS("http: box.appendChild(loading); } else { var elements = box.childNodes; for (var i=0; i<elements.length; i++) { if (elements[i] && elements[i].getAttributeNS && elements[i].getAttributeNS( "http: box.removeChild(elements[i]); break; } } } }, 
add: if (bool == true) { var loading = document.createElementNS("http: loading.textContent = qaMain.bundle.getString("qa.extension.loading"); loading.setAttributeNS("http: "class", "loading_message"); box.appendChild(loading); } else { var elements = box.childNodes; for (var i=0; i<elements.length; i++) { if (elements[i] && elements[i].getAttributeNS && elements[i].getAttributeNS( "http: box.removeChild(elements[i]); break; } } } }, 
context: 	showHideLoadingMessage : function(box, bool) {		if (bool == true) { // show			var loading = document.createElementNS("http://www.w3.org/1999/xhtml", "p");			loading.textContent = qaMain.bundle.getString("qa.extension.loading");			loading.setAttributeNS("http://www.w3.org/1999/xhtml", "class", "loading_message");			box.appendChild(loading);		} else { // hide			var elements = box.childNodes;			for (var i=0; i<elements.length; i++) {				if (elements[i] && elements[i].getAttributeNS && 				  elements[i].getAttributeNS(				  "http://www.w3.org/1999/xhtml", "class") == "loading_message") {					box.removeChild(elements[i]);					break;				}			}		}	},
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/4af6f6b6437149955a8838293b59504d28ec897e/common.js/buggy/testing/extensions/community/chrome/content/common.js