var x = 60 
var y = 1 

function startClock(){ 
x = x-y 
document.form.count.value = x + ' Sekunden'
setTimeout("startClock()", 1000) 
if(x==0){ window.location.reload(true); x=60; } 
}

function popUp1(wintype)
{
  var nwl = (screen.width-660)/2;
  var nwh = (screen.height-500)/2;
  var popUp;
  
  popUp=window.open(wintype, 'Webcam', 'toolbar=no,location=yes,directories=no,status=yes,menubar=yes,scrollbars=no,resizable=yes,width=660,height=500'); 
  popUp.window.focus(); 
  popUp.setTimeout('window.close()',5000);
}

