update for enlarge with IE
[brisk.git] / web / commons.js
index 63bb79b..454152a 100644 (file)
@@ -322,6 +322,16 @@ function act_help()
     send_mesg("help");
 }
 
+function act_passwdhowto()
+{
+    send_mesg("passwdhowto");
+}
+
+function act_mesgtoadm()
+{
+    send_mesg("mesgtoadm");
+}
+
 function act_tav()
 {
     act_chatt('/tav '+$('txt_in').value); 
@@ -893,7 +903,11 @@ function topbanner_cb()
 function sidebanner_init()
 {
     setInterval(sidebanner_cb, 666);
-;
+}
+
+function sidebanner2_init()
+{
+    setInterval(sidebanner2_cb, 666);
 }
 
 function sidebanner_cb()
@@ -909,6 +923,19 @@ function sidebanner_cb()
     // console.log("A: "+a+"  B: "+b);
 }
 
+function sidebanner2_cb()
+{
+    var a, b;
+
+    a = $('sidebanner2').style.backgroundColor;
+    b = $('sidebanner2').style.borderLeftColor;
+
+    $('sidebanner2').style.backgroundColor = b;
+    $('sidebanner2').style.borderColor = a+" "+a+" "+a+" "+a;
+
+    // console.log("A: "+a+"  B: "+b);
+}
+
 
 function langtolng(lang)
 {