if (typeof MRI == "undefined" || !MRI) {
	var MRI = {};
}

MRI.namespace = function() {
	var a=arguments, o=null, i, j, d;
	for (i=0; i<a.length; i=i+1) {
		d=a[i].split(".");
		o=MRI;

		for (j=(d[0] == "MRI") ? 1 : 0; j<d.length; j=j+1) {
			o[d[j]]=o[d[j]] || {};
			o=o[d[j]];
		}
	}
	return o;
};

MRI.url_base = 'http://192.168.3.3/~dyamanob/';

MRI.unicode_unescape = function(str) {
	return str.replace(/\\u([a-fA-F0-9]{4})/g, function(m0, m1) {
		return String.fromCharCode(parseInt(m1, 16));
	});
}

Y = null;

MRI.init = function(YObj) {
	Y = YObj;
//	var console = new Y.Console({boundingBox: '#console'}).render();
	Y.log('MRI NOW LOADING...');
}

MRI.JQTool = {
	scrollable:null,
	overlay:null
}


