function out(m)
{
	output = document.getElementById("output");
	if(!output)
	{
		output = document.createElement("div");
		output.setAttribute('id','output');
		output.setAttribute('class','outputConsole');
		output.setAttribute('style','position: absolute; right: 5px; width: 400px; height: 250px; top: 30px; overflow: auto');
		var title = document.createElement("p");
		title.innerHTML = "<b>Output Debugger <br /></b>";
		output.appendChild(title);
		document.childNodes[1].appendChild(output);	

		
	}
	var txt = document.createTextNode(m);
	//newP = document.createElement("p");
	//newP.innerHTML = m;
	output.appendChild(txt);
	var br = document.createElement("br");
	output.appendChild(br);
}