$(document).ready(function() {
	$(this).everyTime(30000,function() {
		$.post('sesscheck.php',function(s) {
			if(s == "expired") {
				//window.location.href = 'login.php';
			}
		});
	});
});