var starttimer; // algemene setTimeout variabelevar DEBUG = false;window.onload=function(){		//pngFix();	setFooter();}function setFooter() {	if (document.getElementById) {		var windowHeight = getWindowHeight() - 0;  // ik weet niet waarom, maar zonder deze 3 pixels doet de strict document-type mode vreemd				if (windowHeight > 0) {			var wrapperHeight = document.getElementById('maincontent').offsetHeight;			var footerHeight = document.getElementById('footer').offsetHeight;			var topperHeight = 275 + footerHeight; 			var maincontentHeight = document.getElementById('maincontent').offsetHeight;			var subcontentHeight = document.getElementById('rechterblok').offsetHeight;			//alert(wrapperHeight + " + " + windowHeight);						//if (maincontentHeight+topperHeight > wrapperHeight) {			//	document.getElementById('wrapper').style.height = maincontentHeight+topperHeight + 'px';			//}						if (maincontentHeight+topperHeight>windowHeight) {				//alert(windowHeight);				document.getElementById('contentframe').style.height = maincontentHeight + 'px';				document.getElementById('footer').style.top = maincontentHeight+topperHeight-footerHeight + 'px';			} 			else if (subcontentHeight+topperHeight>windowHeight) {				//alert(windowHeight);				document.getElementById('contentframe').style.height = subcontentHeight + 'px';				document.getElementById('footer').style.top = subcontentHeight+topperHeight-footerHeight + 'px';			}			else {				//alert(windowHeight);				document.getElementById('contentframe').style.height = windowHeight-topperHeight + 'px';				document.getElementById('footer').style.top = windowHeight-footerHeight + 'px';			}									}		}	}		function getWindowHeight() {			var windowHeight = 0;			if (typeof(window.innerHeight) == 'number') {				windowHeight = window.innerHeight;			}			else {				if (document.documentElement && document.documentElement.clientHeight) {					windowHeight = document.documentElement.clientHeight;				}				else {					if (document.body && document.body.clientHeight) {						windowHeight = document.body.clientHeight;					}				}			}			return windowHeight;		}				window.onresize = function() {			setFooter();		}function getWindowWidth() {	var windowWidth = 0;	if (typeof(window.innerWidth) == 'number') {		windowWidth = window.innerWidth;	}	else {		if (document.documentElement && document.documentElement.clientWidth) {			windowWidth = document.documentElement.clientWidth;		}		else {			if (document.body && document.body.clientWidth) {				windowWidth = document.body.clientWidth;			}		}	}	return windowWidth;} function pngFix(){	var arVersion = navigator.appVersion.split("MSIE")	var version = parseFloat(arVersion[1])		if ((version >= 5.5) && (document.body.filters)) 	{	   for(var i=0; i<document.images.length; i++)	   {		  var img = document.images[i]		  var imgName = img.src.toUpperCase()		  if (imgName.substring(imgName.length-3, imgName.length) == "PNG")		  {			 var imgID = (img.id) ? "id='" + img.id + "' " : ""			 var imgClass = (img.className) ? "class='" + img.className + "' " : ""			 var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "			 var imgStyle = "display:inline-block;" + img.style.cssText 			 if (img.align == "left") imgStyle = "float:left;" + imgStyle			 if (img.align == "right") imgStyle = "float:right;" + imgStyle			 if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle			 var strNewHTML = "<span " + imgID + imgClass + imgTitle			 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"			 + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"			 + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 			 img.outerHTML = strNewHTML			 i = i-1		  }	   }	}}
