themes/oxygen/header.tpl
changeset 22 d0314575e2f0
parent 0 902822492a68
child 32 4d87aad3c4c0
--- a/themes/oxygen/header.tpl	Tue Jun 26 17:28:18 2007 -0400
+++ b/themes/oxygen/header.tpl	Tue Jun 26 20:48:44 2007 -0400
@@ -43,6 +43,14 @@
       }
       */
       
+      addOnloadHook(function() {
+          if(typeof readCookie == 'function')
+          {
+            if(readCookie('left_sidebar') =='collapsed') collapseSidebar('left');
+            if(readCookie('right_sidebar')=='collapsed') collapseSidebar('right');
+          }
+        });
+      
       function ajaxRenameInline()
       {
         // This trick is _so_ vBulletin...