var Constant = {};
Constant.init = function () {
	new Ajax.Request('/ajax/constant.php', {
		method: 'get',
		asynchronous: false,
		onSuccess: function(transport) {
			Constant = transport.responseText.evalJSON(true);
		}
	});
}

function C(name) {
	return Constant[name];
}
Event.observe(window, "load", Constant.init, false);
