var e = document.getElementById("vfeed"); var f = new net.core("http://caramel-colour.csclub.uwaterloo.ca:8080/singleframe", "rvf"); function callvfeed() { f.connect("http://caramel-colour.csclub.uwaterloo.ca:8080/singleframe"); e.innerHTML = "
"; } function stopvfeed() { e.innerHTML = ""; } document.getElementById("extracmds").innerHTML = "Visual Feed";