// display messages in the report element..
// make an html <DIV> element (or any other!) into an area for writing JavaScript messages..
var Writable=function(id) {
	this.el=document.getElementById(id);
}

Writable.prototype.clear=function () {
	this.el.innerHTML="";
}
Writable.prototype.say=function (msg,color) {
	if (!color) { color="black"; }
	this.el.innerHTML+="<span style='color: "+color+";'>"+msg+"</span><br>";
}
Writable.prototype.error=function(msg) { this.clear(); this.say(msg,"red"); }


