var AutoLoader = new Class({
		initialize: function () {
			this.queue = new Array();
			this.queueCounter = -1;
		},
		
		add: function ( fn ) {
			this.queue.push( fn );
		},
		
		next: function () {
			this.queueCounter++;
			if( this.queueCounter < this.queue.length )
				this.queue[this.queueCounter]();
		}
});

window.addEvent( 'load', function () {
	//window.__auto_object_loader = new AutoLoader();
	
	/*
	window.__auto_object_loader.add( function() {
			var __auto__formAt = new autoFormAt();
	} );
	window.__auto_object_loader.add( function() {
			var __auto__formCheck = new autoFormCheck();
	} );
	window.__auto_object_loader.add( function() {
			var __auto__formCleanUp = new autoFormCleanUp();
	} );
	*/
	if( $chk(window.__auto_object_loader) )
		window.__auto_object_loader.next();
});

