var Interv = 180;
function startClock2() {
	Interv = Interv - 1;
	
	if (Interv < 0) {
		window.location.href="../pages/index.php?pg=webcam" 
		Interv = 180;
	}

	document.getElementById('cas').value = Interv;
	timrID = setTimeout("startClock2()", 1000);
}

