if (window.top.debugWindow && !window.top.debugWindow.closed) 
if ( isDebugging( ) ) 
function debug( text, isSoapMessage ){	//debug( birtSoapRequest.prettyPrintXML(request.responseXML.documentElement), true);	try	{		if (window.top.debugWindow && !window.top.debugWindow.closed)		{			if(window.top.debugWindow.soapMsgWindow)			{				var debugDiv;				if(isSoapMessage)				{				 	debugDiv = window.top.debugWindow.document.getElementById("soapMsgDebug");				 	var div = window.top.debugWindow.document.createElement("div");					div.innerHTML = "<pre>" + text;					//debugDiv.insertBefore(window.top.debugWindow.document.createTextNode("-------------END--------------"),debugDiv.firstChild);					debugDiv.insertBefore(div,debugDiv.firstChild);					div.style.display = "none";					var btn = addDebugButton(text);					debugDiv.insertBefore(btn, debugDiv.firstChild);					//debugDiv.insertBefore(window.top.debugWindow.document.createTextNode("-------------START----------------"),debugDiv.firstChild);								debugDiv.insertBefore(window.top.debugWindow.document.createElement("br"),debugDiv.firstChild);				 					 }				 else				 {				 	debugDiv = window.top.debugWindow.document.getElementById("regularDebug").firstChild;				 	var div = window.top.debugWindow.document.createElement("div");					div.innerHTML = "<pre>" + text;									debugDiv.appendChild(div);				 					}			}				 			else			{		    	window.top.debugWindow.document.write(text+"\n");			   	}		}	}	catch(e){ }}
9270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9270/c99665e42eee0382375628099540c1bcd2f047ef/Debug.js/buggy/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/utility/Debug.js