]> ruin.nu Git - ndwebbie.git/blobdiff - root/static/js/misc.js
Initial commit of catalyst files
[ndwebbie.git] / root / static / js / misc.js
diff --git a/root/static/js/misc.js b/root/static/js/misc.js
new file mode 100644 (file)
index 0000000..a21f365
--- /dev/null
@@ -0,0 +1,9 @@
+function toggleVisibility(id) {
+       var obj=document.getElementById(id);
+       if (obj.style.display=='none') {
+               obj.style.display='';
+       }
+       else {
+               obj.style.display='none';
+       }
+}