var BaseURL = "http://www.ckrumlov.cz/camera/shot2.jpg";
		
// Force an immediate image load
var theTimer = setTimeout("reloadImage()",1);
	
function reloadImage() {
	 theDate = new Date();
	 var url = BaseURL;
	 url += "?";
	 url += theDate.getTime().toString(10);
	 // The above dummy cgi-parameter enforce a bypass of the browser image cache.
	 
	 // Here we actually load the image
	 document.getElementById('theImage').src = url;
					 
	 // Reload the image every 10 seconds (10000 ms)
	 theTimer = setTimeout("reloadImage()",15000);   
}
