	 // Set the BaseURL to the url of your camera
	 // Note: Since this file is located inside the unit itself, no base url is specified here
	 // Example:  var BaseURL = "http://172.21.1.122/";
	    var BaseURL = "http://filip.csvts.cz/webcam/";
	        
	 // This is the filepath to the image generating file inside the camera itself
	    var File = "image.jpg";
	             
	 // Force an immediate image load
	    var theTimer = setTimeout("reloadImage()",1);
		    
	    function reloadImage() {
	         theDate = new Date();
	         var url = BaseURL;
	         url += File;
	         url += "?dummy=";
	         url += theDate.getTime().toString(10);
	         // The above dummy cgi-parameter enforce a bypass of the browser image cache.
					 
	         // Here we actually load the image
	         try{
	         	if (document.getElementById('theImage')!=null)
	         		document.getElementById('theImage').src = url;
					}
					catch(err)
					{}
						     
	         // Reload the image every 10 seconds (10000 ms)
	         theTimer = setTimeout("reloadImage()",1000);   
	  }