if (typeof NCC == "undefined") NCC = new Object();
if (typeof NCC.params == "undefined") NCC.params = new Object();

NCC.init = function ()
{
	NCC.id = $("body").attr("id").toLowerCase();
	
	console.log("NCC.init()", NCC.id);
	
	if (typeof NCC["init_base"] == "function") {
		try {
			NCC["init_base"]();
		} catch (e) {
		}
	}

	if (typeof NCC["init_" + NCC.id] == "function") {
		try {
			NCC["init_" + NCC.id]();
		} catch (e) {
		}
	}
}