(function ()
{
	// create utility object
	var Utilities = Object.subClass(
	{
		/*
		=============================
		CONSTRUCTOR
		=============================
		*/
		init : function ()
		{
			
		}
	}
	);
	
	// set utility namespace
	try
	{
		// Check that namespace into which the Class definition will be creates has been defined & if not then create
		if (!mrm.global.isNamespaceDefined("mrm.global"))
		{
			mrm.global.createNamespace("mrm.global", "1.0");
		}
		// Create instance
		mrm.global.utilities = new Utilities();
	}
	catch (e)
	{
		alert("!! WARNING !! \n" + e.message);
	}
}
)(); // self calling function

// when the class have all been loaded extend our global utility class with tracing and a binder
jQuery(document).bind("MRM-JAVASCRIPT-UTILITY-SETUP", function ()
{
	mrm.global.utilities.tracing = new mrm.lib.utilities.Tracing(true, "global");
	
	mrm.global.utilities.workflow = new mrm.lib.utilities.Workflow(mrm.global.utilities.tracing);
	
	mrm.global.utilities.defaultControlBinder = new mrm.lib.ui.binders.Binder(mrm.global.utilities.tracing);
}
);
