function CheckLevel(Level) { if (Level == 0) { RetVar = false } if (Level == 1) { RetVar = false } if (Level == 2) { RetVar = false } if (Level == 3) { RetVar = false } if (Level == 4) { RetVar = false } if (Level == 5) { RetVar = false } if (!RetVar) { top.document.location="/lngv1.nsf/"; } } function doit(tname) { if (tname == null) tname="tbl";"tbl1"; var table = document.getElementById(tname); //var table = tableElements[tableElements.length-1]; var headlength=rowlength=""; heads = table.getElementsByTagName("th") ; headlength=heads.length; // If the view is categorized , use this line, else comment it //headlength=headlength-1; for( i = 0; i 0) if (color == "Even") color = "odd"; else color = "Even"; } } // IThis function use for fixed the table header function ScrollableTable (tableEl, tableHeight, tableWidth) { this.initIEengine = function () { this.containerEl.style.overflowY = 'auto'; if (this.tableEl.parentElement.clientHeight - this.tableEl.offsetHeight < 0) { this.tableEl.style.width = this.newWidth - this.scrollWidth +'px'; } else { this.containerEl.style.overflowY = 'hidden'; this.tableEl.style.width = this.newWidth +'px'; } if (this.thead) { var trs = this.thead.getElementsByTagName('tr'); for (x=0; x= (this.newHeight - (headHeight + footHeight))) { this.tbody.style.overflow = '-moz-scrollbars-vertical'; for (x=0; x