function ShowDIV(id,img,pijlke,extra)
{
  if(document.getElementById(id).style.height != "auto")
  { 
    document.getElementById(id).style.height = "auto";
    document.getElementById(pijlke).src = "interface/pijlke_up.gif";
  }
  else
  {
    AdjustHeightClose(id, img, extra);
    document.getElementById(pijlke).src = "interface/pijlke_down.gif";
  }
}

function AdjustHeightClose(id,img,extra)
{
  document.getElementById(id).style.height = document.getElementById(img).height+extra;
}

function Zoom(pagina) {
	var popup = window.open("zoom.php?img="+pagina,"zoom","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=400,height=300");
	popup.moveTo(0,0);
//	popup.resizeTo(512,768);
	popup.focus();
}

function AdjustWindow(w,h) {
  var isIE = (window.navigator.userAgent.indexOf("MSIE") > 0);
  if (! isIE)
    self.resizeTo(w+8,h+52); //corrigeren voor de rest van het window (balken etc)
  else
    self.resizeTo(w+12,h+61); //corrigeren voor de rest van het window (balken etc)
}

function ShowMatch() {
	var popup = window.open("matchvdweek.php","matchen","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=550");
	popup.moveTo(0,0);
    popup.resizeTo(800,550);
	popup.focus();
}
	
