document.write('<script type="text/javascript" src="/themasites/javascript/teaserToggle.js"></script>');
document.write('<script type="text/javascript" src="/themasites/javascript/navigatie.js"></script>');
document.write('<script type="text/javascript" src="/themasites/javascript/beeldvergroting.js"></script>');

/* overLib http://www.bosrup.com/web/overlib/ */
document.write('<script type="text/javascript" src="/themasites/javascript/overlib417/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>');
/* overLib css extensie http://overlib.boughner.us/plugins/cssw3c_commands.html */
document.write('<script type="text/javascript" src="/themasites/javascript/overlib417/overlib_cssw3c.js"></script>');

// Omroep.nl menu positionering
var PoAlignment = 'porighttop';
var PoVSpace = -38;
var PoHSpace = 17;
var PoLogoType = 2;
var PoFloatX = false;
var PoFloatY = false;

/* adapted from http://www.quirksmode.org/js/cross_dhtml.html */
/* wordt gebruikt bij het archief in-uitklap script */
var DHTML = (document.getElementById || document.all || document.layers);

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function display(ding) {
	if (!DHTML) return;
	var x = new getObj("months"+ding);
	if (!x.style.display || x.style.display=='block'){
		x.style.display = "none";
	} else {
		x.style.display = "block";
	}
	var x = new getObj("icon"+ding);
	if (x.obj.className =='icon open'){
		x.obj.className = 'icon closed';
	} else {
		x.obj.className = 'icon open';
	}
}
