function results(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=1,width=300,height=300,left = 0,top = 0');");
}

function popup(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width=700,height=700,left = 0,top = 0');");
}

function lastModified() { 
var modiDate=new Date 
(document.lastModified) 
var showAs=modiDate. 
getDate()+"/" + 
(modiDate.getMonth()+1) 
showAs+="/"+modiDate.getYear() 
showAs+=" om " +modiDate.getHours()+":"+modiDate.getMinutes() 
return showAs } 

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

      if (window.Event) // Only Netscape will have the CAPITAL E.
      document.captureEvents(Event.MOUSEUP); // catch the mouse up event

      function nocontextmenu()  // this function only applies to IE4, ignored otherwise.
      {
       event.cancelBubble = true
       event.returnValue = false;

       return false;
      }

      function norightclick(e) // This function is used by all others
      {
      if (window.Event) // again, IE or NAV?
      {
      if (e.which == 2 || e.which == 3)
      return false;
      }
      else
      if (event.button == 2 || event.button == 3)
      {
      event.cancelBubble = true
      event.returnValue = false;
      return false;
      }

      }

      document.oncontextmenu = nocontextmenu;  // for IE5+
      document.onmousedown = norightclick;  // for all others
      
//aan te passen
vanaf_links = 100;
vanaf_boven = 100;
grootste_breedte  = 800+20;//afmetingen van het grootste beeld +20
grootste_hoogte = 800+20;  //afmetingen van het grootste beeld +20
//hieronder niets wijzigen
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+grootste_breedte+',height='+grootste_hoogte+',left='+vanaf_links+',top='+vanaf_boven;
var optIE='scrollbars=no,width=150,height=100,left='+vanaf_links+',top='+vanaf_boven;
function popupfoto(BeeldURL,BeeldTitel){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading picture ...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function aanpassen_aan_beeldgrootte(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=101-(document.body.clientWidth-document.images[0].width);');
writeln('height=101-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["BeeldNaam"].width;');writeln('window.innerHeight=document.images["BeeldNaam"].height;}}');
writeln('function maak_titel(){document.title="'+BeeldTitel+'";}');writeln('</sc'+'ript>');
writeln('</head><body link="#F0F0F0" vlink="#F0F0F0" alink="#F0F0F0" bgcolor=F0F0F0 scroll="no" onload="aanpassen_aan_beeldgrootte();maak_titel();self.focus()" onblur="self.close()">');
writeln('<a href="javascript:window.close();"><img GALLERYIMG="no" name="BeeldNaam" src='+BeeldURL+' style="display:block"></a></body></html>');
close(); 
}}

function stb(){document.myform.a.focus();}

function checkData (){
 if (document.myform.a.value == "") {
  alert("\n  U heeft geen NAAM ingevuld (!)    \n ")
  document.myform.a.focus()
  return false}
 if (document.myform.b.value == "") {
  alert("\n  U heeft geen EMAIL ingevuld (!)    \n ")
  document.myform.b.focus()
  return false}
 if (document.myform.c.value == "") {
  alert("\n  U heeft geen WOONPLAATS ingevuld (!)    \n ")
  document.myform.c.focus()
  return false}
 if (document.myform.d.value == "") {
  alert("\n  U heeft geen BERICHT ingevuld (!)    \n ")
  document.myform.d.focus()
  return false}
 }

var highlightcolor="#CFCFCF"

var ns6=document.getElementById&&!document.all
var previous=''
var eventobj

//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

//Function to highlight form element
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}

function blockError(){return true;}

window.onerror = blockError;
