function slideFooter(){
	var minimal = 500;
	var contentName = "";
	
	this.setMinimal = function(minimal){
		this.minimal = minimal;
	}
	this.setContentName = function(contentName){
		this.contentName = contentName;
	}
	
	this.getWindowHeight = function() {
		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;
	}
	this.set = function(){
		if (document.getElementById) {
			var windowHeight = this.getWindowHeight();
			if (windowHeight > 0) {
				var contentHeight = document.getElementById(this.contentName).offsetHeight+489+90;
				if (contentHeight < this.minimal) contentHeight = this.minimal;
				var footerElement = document.getElementById('footer');
				var footerHeight  = footerElement.offsetHeight;
				if (windowHeight >= contentHeight )
					footerElement.style.top = (windowHeight - (footerHeight)) + 'px';
				else
					footerElement.style.top = (contentHeight - footerHeight) + 'px';
			}
		}
	}
}
var video;
function openVideo(){
	video = window.open('/dvdk2008/', 'video','width=720,height=580, location=no,menubar=no,status=no,resizable=no,scrollbars=no');
}
function scrollRef(id,positie) {
	var ref = window.open('/scrollref.jsp?id='+id+'&positie='+positie, 'ref','width=400,height=300, location=no,menubar=no,status=no,resizable=no,scrollbars=no');
}