var Dbg = new Class({
	
	initialize: function(id){
		this.id = id;
		this.div = $(id);
		this.testModeOnly = this.div.hasClass('testModeOnly') ? true : false;
		
		if (testMode) {
			this.div.setStyles ( { 'display' : 'block', 'border' : 'solid 1px #00F' } );
			
			if (this.testModeOnly) {
				this.div.setStyles ( { 'background-color' : '#F00' } );
			} else {
				this.div.setStyles ( { 'background-color' : '#00F' } );
			}
		}
		
	},
	
	init: function(txt) {
		this.div.innerHTML = txt;
	},
	
	add: function(txt) {
		this.div.innerHTML += txt;
	}
	
});


