

if (typeof com == "undefined") { var com = new Object() }
if (typeof com.expressivetek == "undefined") { com.expressivetek = new Object() }
if (typeof com.expressivetek.JTrace == "undefined") { com.expressivetek.JTrace = new Object() }


com.expressivetek.JTrace.trace = function(msg) {
	if (this.report_area == null) {
	//	this.window = window.open('about:blank','__jtrace_window','width=300,height=400');
	//	alert(this.window.document);
	//	var stupid = this.window.document.createTextNode("Lawg.");
		this.report_area = document.createElement("DIV");
		this.report_area.style.width = "400";
		this.report_area.style.height = "300";
		this.report_area.style.overflow = "auto";
		this.report_area.style.border = "5px solid blue";
		this.report_area.style.backgroundColor = "white"
	//	alert(this.window.document.body);
		document.body.appendChild(this.report_area);
	}
	//alert(msg);
	this.report_area.innerHTML += msg + "<br>";
}
	
	
var JTrace = com.expressivetek.JTrace;

