/* $VERSION: debug.js 3.1.032.1.2011.02.09.09.11	 */
function clsDebug()
{
	this.debugs =  [];	
}

clsDebug.prototype.add= function(chaine)
{
	this.debugs.push(chaine);
};
 
clsDebug.prototype.clear= function()
{
	this.debugs = [];
};
 
clsDebug.prototype.read = function()
{
	var retour = "";
	
	for (var cpt = 0; cpt < this.debugs.length; cpt++)
	{
		retour = retour + this.debugs[cpt] + '<br/>';
	}
	return retour;
};

var ObjDebug = new clsDebug();

function LOGDebug(debug)
{
	ObjDebug.add(debug);
}
