var Lib = {
  require : function(libName) {
    document.write('<script type="text/javascript" src="javascript/lib/'+ libName +'"></script>');
  },
  load : function() { // Load Libraries
    this.require('documentTree.js');
    this.require('getInputElementsByType.js');
    //this.require('compactInput.js');
    this.require('allChecker.js');
    this.require('scrollAnim.js');
    this.require('cookies.js');
    this.require('browser.js');
    addEvent(window,'load',function(){Lib.startup();});					// fire up...
   	addEvent(window,'resize',function(){WindowDimensions.r()});	// resize
  },
  startup : function(){ // Startup Libraries and other functions
  	DocumentTree.t(document.body);// DocumentTree Travers and Create Class Tree
   	//CompactInput.a();			// attach
   	AllChecker.a();				// attach
   	ScrollAnim.a();				// attach
   	WindowDimensions.s();	// set Window Dimensions
  }
}
Lib.load();
