/*##gc*/
function LynxGC(){
	this.garbage = new Array();
}

LynxGC.prototype.add = function(xg){
	this.garbage.push(xg);
}

LynxGC.prototype.collect = function(){
	this.garbage.each(function(e){if(e.free)e.free();delete e});
	this.garbage = null;
}
/*#@init*/
var GC = new LynxGC();
