/*
	TownDock.net Web Cam java
*///this eliminates JavaScript error messagesonError=nullvar picname = "http://towndock.net/imobilecam/mobilecam.jpg";  // set this to the filename of your campicturevar speed = 119;  // "var speed" is the refresh rate adjustment in secondsvar y = 12;      // expected time to download the picture file. It  MUST be                 // set at a smaller number than the "speed" variable!var x = speed;   // current countdownvar cachepic = new Image();function stopClock() {	x = "00";	document.form0.clock.value = x;}function startClock() {        if (x != "00") {	x = x - 1;	document.form0.clock.value = x;         if (x == y) {          recache()        }	if (x <= 0)        {          reload()        }	timerID = setTimeout("startClock()", 1000);        }}function recache() {      var now = new Date();      var camImg = picname + "?" + now.getTime();      cachepic.src = camImg;    }function reload() {    document.images.campicture.src = cachepic.src;    x = speed;    document.form0.clock.value = x;              	  }
