var IM = {'settings': {}, 'behaviors': {}, 'functions': {}};	// All settings, behaviors and function are described in main.js

IM.attachBehaviors = function(context) {
	context = context || document;
	jQuery.each(IM.behaviors, function() {
		this(context);
	});
};

// Attach all behaviors and run init methods
$(document).ready(function() {
    IM.attachBehaviors(this);
});
