diff --git a/html/include/focus.js b/html/include/focus.js
index a1e9e1c2596891ec6323e4e55000e61e673c1490..2c49901216b4d0ba905e39dcff35d85c991246ab 100644 (file)
--- a/html/include/focus.js
+++ b/html/include/focus.js
netscape= (ver.charAt(iln+1).toUpperCase() != "C");
+/* Toggle checkbox that matches regex */
+function chk_set_all(regex,value)
+{
+ for (var i = 0; i < document.mainform.elements.length; i++) {
+ var _id=document.mainform.elements[i].id;
+ if(_id.match(regex)) {
+ document.getElementById(_id).checked= value;
+ }
+ }
+}
+
+
function scrollDown() {
document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight;
timeout= setTimeout("scrollDown()", 500);
}
-
-function scrollDown2() {
- document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight;
+/* Scroll down the body frame */
+function scrollDown2()
+{
+ document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight;
}