var klugedWidth = 640
var klugedHeight = 580

function remote()
{ RemoteWin=window.open("/webcam.html","","resizable=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=auto,copyhistory=0,width=" + klugedWidth + ",height=" + klugedHeight + "")
RemoteWin.creator=self
}

var Interv = -1

function startClock2() {
Interv = Interv - 1

var now = new Date()
var dummystr = parseInt(now.getTime() / 150)
delete now

if (Interv < 0) {
if (document.images) {
document.refrimage.src = "http://webcam.unet.ws:8080/Jpeg/CamImg.jpg" + "?" + dummystr
} else {
window.location.reload()
}
Interv = 1 <!-- это время обновления картинки (сек) //-->
}
document.clock.time.value = Interv
timrID = setTimeout("startClock2()", 150)
}

