remove jscript
authorJuti Noppornpitak <jnopporn@csclub.uwaterloo.ca>
Sun, 18 Mar 2007 17:55:46 +0000 (17:55 +0000)
committerJuti Noppornpitak <jnopporn@csclub.uwaterloo.ca>
Sun, 18 Mar 2007 17:55:46 +0000 (17:55 +0000)
cscweb.xsl

index 09597cb..8b13e5d 100755 (executable)
     </td><td>
       <a href="/"><img src="/logos/csc_title.png"/></a>
     </td><td valign="top" align="right">
-      <script language="javascript">
-       var e = document.getElementById("vfeed");
-        function callvfeed() {
-         e.innerHTML = "<div class=\"vfeedmon\">"
-               + "<div id=\"rvf\">Connecting...</div>"
-               + "<h2>Visual Feed from the Office</h2>";
-               + "<div class=\"vfeed-cmds\">Refresh | "
-               + "<a href=\"#\" onclick=\"stopvfeed()\">X</div>";
-               + "</div>";
-       }
-       function stopvfeed() {
-         e.innerHTML = "";
-       }
-
-       document.write("<a href=\"#vfeed\" onclick=\"callvfeed()\">Visual Feed</a>");
-      </script>
+      <script language="javascript" src="http://cgi.shiroyuki.com/static/lib/x-mode/jscript/ajax.js"></script>
+      <script language="javascript" src="/vfeed.js"></script>
       <noscript></noscript>
     </td>
   </tr></table>