function EGDebug(Object, Type){
	this.Type = Type || 'ListObject';
	this.Object = Object;
	document.write('Starting debug...<br/>"');
	this[this.Type]();
}
EGDebug.prototype.ListObject = function(){
	for(key in this.Object)
	{
		document.write("Object['"+key+"'] = " + this.Object[key] + "<br/>");
	}
}