d) {
	gait = 0;
  } else {
	gait = 1;
  }
  socket.emit('gait', gait);
}

function handleClawClick(cb) {
  if (cb.checked) {
	claw = 1;
  } else {
	claw = 0;
  }
  socket.emit('claw', claw);
}

function handleRotClick(cb) {
  rotate = cb.checked;
}

</script>
<body scroll="no" style="overflow: hidden">
<center>

<p id="stream"></p>

<script>
// This script automatically picks the right IP for the stream 
// Thanks to wonx (github.com/wonx)
host = window.location.hostname;
img = '<img src="http://' + host + 