/*
 * 
	bm_main
	repository of global constants 
 */

;(function($){

$.fn.bm_main = function($options) {

	// set default options
	var $defaults = {
		history : false,
		onLoad  : function() {}
	};
	
	// extend the options
	var $opts = $.extend($defaults, $options);
	
	// bring the options to the jquery object
	for (var i in $opts) {
		$.bm_main[i]  = $opts[i];
	}
};

// Used mostly by window.keyUp to handle keyboard input. Scope locally.
$.extend({bm_main : {
	page_loaded : false,
	debug : false,
	CONTACT_MESSAGE_INSERT_URL : "php/contactMessages/contactMessagesInsert.php"
}
})

})(jQuery);

