var Interv = 15;
var Interv2 = 15;

function startClock() {
	Interv = Interv - 1
	
	var now = new Date()
	var dummystr = parseInt(now.getTime() / 1000)
	delete now

	if (Interv < 0) {
		if (document.images) {
			document.refrimage.src = "http://www.fikszradio.hu/webcam/webcam/webcam/pic/image.jpg" + "?" + dummystr
		} else {
			window.location.reload()
		}
		Interv = 15
	}
	timrID = setTimeout("startClock()", 1000)
}

function startClock2() {
	Interv = Interv - 1
	
	var now = new Date()
	var dummystr = parseInt(now.getTime() / 1000)
	delete now

	if (Interv < 0) {
		if (document.images) {
			document.refrimage.src = "http://www.fikszradio.hu/webcam/webcam/webcam/pic/image.jpg" + "?" + dummystr
		} else {
			window.location.reload()
		}
		Interv = 15
	}
	timrID = setTimeout("startClock2()", 1000)
}

function startClock3() {
	Interv2 = Interv2 - 1
	
	var now = new Date()
	var dummystr = parseInt(now.getTime() / 1000)
	delete now

	if (Interv2 < 0) {
		if (document.images) {
			document.refrimage2.src = "http://152.66.10.20/szigetcam/cam_1.jpg"
		} else {
			window.location.reload()
		}
		Interv2 = 15;
	}
	timrID = setTimeout("startClock3()", 1000)
}
