/** CampusMap
* A Singleton class that acts as an initiation hub, waiting for the document's object model (DOM) to be
* completely loaded and then initializing the other classes in the proper order.
* 
* @class CampusMap
*	@singleton
* @returns {void}
*/
var CampusMap = new function() {
	
	/** init
	* Initializes the Campus Map program.  Run when the document's DOM is ready
	*
	* @method init
	* @return {void}
	*/
	this.init = function() {
		// Initialize Map
		Map.init();
		
		// Initialize Map Directions
		Map.Directions.init();
		
		// Initialize the Map Search
	  Map.Search.init();

		// Initialize Left Menu
		LeftMenu.init();
	}


}


// Initialize the Campus Map when the page's DOM is ready (i.e. when the document has finished loading, just before images are going to be loaded)
YAHOO.util.Event.onDOMReady( CampusMap.init, CampusMap, true );