// NOTE: [This JS must loaded as last item]
JSTOOL_CUSTOMIZE = function(){};


	// Initialize
	// =======================================================================================================
	JSTOOL_CUSTOMIZE.TOOL_ELEMENT_IDS = 
	[
		'SHOWHIDE_MODAL_CATEGORY_CUSTOMIZE', 
		'SHOWHIDE_MODAL_CATEGORY_CUSTOMIZE_EDIT', 
		'RECAPTION_MODAL_CATEGORY_CUSTOMIZE', 
		'RECAPTION_MODAL_CATEGORY_CUSTOMIZE_EDIT',
		'DGVCALC_APPLY_MODAL_CATEGORY_CUSTOMIZE_DGV',
		'DGVCALC_MODAL_CATEGORY_CUSTOMIZE_DGV',
		'DGVCALC_MODAL_CATEGORY_CUSTOMIZE_EDIT_DGV',
		'DGVREORDER_APPLY_MODAL_CATEGORY_CUSTOMIZE_DGV',
		'DGVREORDER_MODAL_CATEGORY_CUSTOMIZE_EDIT_DGV'
	];


	// Load Required SQL resources 
	// =======================================================================================================
	if(typeof JSCUS_SQL._CATEGORY._CUSTOMIZE == 'undefined')
	{
		document.write('<script src="' + JSCUS_CACHE.SERVER_URL + '\/res\/comm\/category\/customize.js"><\/script>');
	}
	

	// Show Configuration [Only the SuperAdmin can show this modal]
	// =======================================================================================================
	document.addEventListener
	(
		'keydown', function(event) 
		{
			if(event.ctrlKey && event.key === '0' && JSCUS_SQL._ACCOUNT._LOGIN.ACC_ACCOUNT_ID == 2)
			{
				JSOC_DIALOG.VAR_MODAL("CATEGORY_CUSTOMIZE_MODAL_MAIN_MENU", true);	
			}
		}
	);
	