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; } } } }, 
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; } } } }, 
	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;				}			}		}	},
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/common.js/clean/testing/extensions/community/chrome/content/common.js