function clock() {
if (!document.layers && !document.all) return;
var digital = new Date();
var year = digital.getYear();
var month = digital.getMonth()+1;
var day = digital.getDate();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
if (hours > 24) hours = hours - 24;
if (year <= 9) year = "0" + year;
if (month <= 9) month = "0" + month;
if (day <= 9) day = "0" + day;
if (hours <= 9) hours = "0" + hours;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = day + "-" + month + "-" + year + " / " + hours + ":" + minutes + ":" + seconds;
if (document.layers) {
document.layers.pendule.document.write(dispTime);
document.layers.pendule.document.close();
}
else
if (document.all)
pendule.innerHTML = dispTime;
setTimeout("clock()", 1000);
}

function openwindow(page){
  window.open(page,"","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,height="+ (screen.height/2) +", width="+ (screen.width/2) +",left=20,top=20");
}

function NewWindow(mypage, myname, w, h, scroll){
  var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,menubar=no,location=no,toolbar=yes,status=yes';
  win = window.open(mypage, myname, winprops);
  if (parseInt(navigator.appVersion) >= 4){
    win.window.focus();
  }
}

function NewWindow1(mypage, myname, w, h, scroll){
  var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,menubar=no,location=no,toolbar=no,status=no';
  win = window.open(mypage, myname, winprops);
  if (parseInt(navigator.appVersion) >= 4){
    win.window.focus();
  }
}

function f_ocus() {
if (document.info) {
  document.info.Naam.focus();
  }
if (document.w_chk) {
  document.w_chk.domeinnaam.focus();
  }
}


