


$(document).ready(function(){
		

		$('#table_cases').dataTable( {
			"bProcessing": true,
			"bScrollInfinite": true,
			"bScrollCollapse": true,
			"sScrollY": "400px",
			"iDisplayLength": 50,
			"aaSorting": [[ 2, "asc" ]],
			"aoColumns": [
			{ "bSearchable": false, "bVisible":    false },
			null,
			null,
			null,
			null,
			null,
			null,
			null
			],
			"sDom": 'RTfilrtp',
			"oTableTools": {
						"sSwfPath": "lib/DataTables-1.7.5/extras/TableTools-2.0.0/media/swf/copy_cvs_xls_pdf.swf"
					},
			"sAjaxSource": 'lib/php/data/cases_load.php'
		} );
		
			
	})


@@ -28,16 +28,617 @@
 on()%7B%0A%09%09
+%0A%09%09$.idleTimeout('#idletimeout', '#idletimeout a', %7B%0A%09%09%09%09idleAfter: 1200, //20 minutes%0A%09%09%09%09pollingInterval: 60,%0A%09%09%09%09keepAliveURL: 'lib/php/auth/keep_alive.php',%0A%09%09%09%09serverResponseEquals: 'OK',%0A%09%09%09%09onTimeout: function()%7B%0A%09%09%09%09%09$(this).slideUp();%0A%09%09%09%09%09window.location = %22html/templates/Logout.php%22;%0A%09%09%09%09%09%7D,%0A%09%09%09%09%09%09onIdle: function()%7B%0A%09%09%09%09%09%09$(this).slideDown(); // show the warning bar%0A%09%09%09%09%09%09%09%09%09%7D,%0A%09%09%09%09%09%09onCountdown: function( counter )%7B%0A%09%09%09%09%09%09$(this).find(%22span%22).html( counter ); // update the counter%0A%09%09%09%09%09%09%09%7D,%0A%09%09%09%09%09%09onResume: function()%7B%0A%09%09%09%09%09%09$(this).slideUp(); // hide the warning bar%0A%09%09%09%09%09%09%7D%0A%09%09%09%09%7D);
 %0A%0A%09%09$('#

Add idletimeout js to Cases jscripts