
if(typeof Z1RHELMETS == 'undefined') {
	Z1RHELMETS = {};
}

// Fired when the document is ready -- application initialization happens here.
Z1RHELMETS.init = function() {
	this.Main = new Z1RHELMETS.Main();
};

/**
 * Main
 * @author Ebobbitt
 * @classDescription This is the Main class for the Z1R Helmets site.
 */
(function() {
	// Main Constructor
	Z1RHELMETS.Main = function() {
		// Setup LEMANS Classes
		this.Model = new Z1RHELMETS.Model();
		this.Controller = new Z1RHELMETS.Controller(this.Model);
		
		// Setup Global Listeners
		$(document.body).bind('SoapClientResponse', function(e, a) { a; });

        // Kick things off..
        this.init();
	};
	
	// Setup Prototype Object Reference
	var Main = Z1RHELMETS.Main.prototype;
	
	Main.init = function() {
		// stuff to do on page load

	};
	
})();


// When everything is loaded, initialize everything.
$(document).ready(Z1RHELMETS.init);

