/*
* Base elements object
*
* This object is not meant to be used on its own.  This object
* should be used by any class that intends to scan the DOM
* for nodes.  By extending this object, a class will have a 
* standardized way of selecting, storing and retrieving DOM
* elements.
*/
(function($){
	PS.Elements = {

		elements: {},
	
		selectors: {},
	
		getElements: function(key) {
			if (!this.selectors[key]) {
				return null;
			} else if (!this.elements[key] && this.selectors[key]) {
				this.elements[key] = $(this.selectors[key]);
			}
			return this.elements[key];
		}
	};
})(jQuery);
