+
+
+ if (relo || !is_update) {
+ for (i = g_tables_auth_n ; i < g_tables_n ; i++) {
+
+ if (i % 4 == 0) {
+ $('tr_noauth'+i).style.display = (what == 'isolation' ? 'none' : '');
+ }
+
+ $('td_noauth'+i).style.display = (what == 'isolation' ? 'none' : '');
+ }
+ // ricalculation of standup area
+ if (standup_data_old != null) {
+ standup_data = standup_data_old;
+ standup_data_old = null;
+ j_stand_cont(standup_data);
+ }
+ }
+}
+
+function sideslide(domobj, height, step)
+{
+ this.st = 'wait';
+ this.twait = 5000;
+
+ this.domobj = domobj;
+ this.height = height;
+ this.step = step;
+
+ this.start();
+}
+
+sideslide.prototype = {
+ id: null,
+ st: 'wait',
+ twait: 0,
+ scroll: 0,
+ countdown: 0,
+
+ domobj: null,
+ height: 0,
+ step: 0,
+
+ start: function() {
+ var instant = this;
+
+ this.st = 'wait';
+ this.id = setTimeout(function () { instant.sideslide_cb(); }, this.twait);
+ },
+
+ sideslide_cb: function() {
+ var instant = this;
+
+ if (this.st == 'wait') {
+ this.st = 'scroll';
+ this.countdown = 10;
+ this.id = setInterval(function () { instant.sideslide_cb(); }, 100);
+ }
+ else if (this.st == 'scroll') {
+ this.scroll += (this.step / 10);
+ if (this.scroll >= this.height - this.step) {
+ this.scroll = 0;
+ }
+ this.domobj.scrollTop = this.scroll;
+ this.countdown--;
+ if (this.countdown == 0) {
+ this.stop();
+ this.st = 'wait';
+ this.id = setTimeout(function () { instant.sideslide_cb(); }, this.twait);
+ }
+ }
+ },
+
+
+ stop: function() {
+ if (this.id != null) {
+ clearInterval(this.id);
+ this.id = null;
+ }
+ }
+