function cucInitPraticaCategorie(cookieMenuName, cookiePath) {
    jQuery('.pratica-list').hide();

    jQuery('.pratica-titolo').click(function() {
        var menu = jQuery(this);
        
        if (menu.hasClass('pratica-categoria-expanded')) {
            menu
            .removeClass('pratica-categoria-expanded')
            .addClass('pratica-categoria-collapsed');
            jQuery("#" + menu.attr('idlinkedlist')).hide();
        } else {
            menu.addClass('pratica-categoria-expanded')
                .removeClass('pratica-categoria-collapsed');
            jQuery("#" + menu.attr('idlinkedlist')).show();
        }
    });
}

function blockUI() {
	jQuery.blockUI( {
		message :'<h1 style="font-size:20px">Operazione in corso...</h1>',
		css : {
			border :'none',
			padding :'15px',
			backgroundColor :'#000',
			'-webkit-border-radius' :'10px',
			'-moz-border-radius' :'10px',
			opacity :.5,
			color :'#fff',
			cursor :'normal' // prevent cursor to stay busy after page reload
		},
		overlayCSS : {
			backgroundColor :'#000',
			opacity :0.2,
			cursor :'normal' // prevent cursor to stay busy after page reload
		}
	});
}

function unblockUI() {
	jQuery.unblockUI();
}



