var errorwindow = "";

function winErrorReport(){
	errorwindow = window.open("", "errorwin" ,"width=500,height=300,scrollbars=yes");

	details = "<html>\n";
	details += "<head>\n";
	details += "<title>Error Handling</title>\n";
	details += "</head>\n\n";
	details += "<body>\n";
	errorwindow.document.write(details);
}

function writeErrorReport(str) {
	//errorwindow.document.write(str + "<br>\n");
}
