function getwindowHeight() {
	if (self.innerHeight) {
		return self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
	{
		return document.documentElement.clientHeight;
	}
	else if (document.body) {
		return document.body.clientHeight;
	}
}


function setH() {
document.getElementById("schaduwlinks").style.height = minY+"px";
document.getElementById("schaduwrechts").style.height = minY+"px";
document.getElementById("pag").style.height = minY+"px";
for (i=1;i<=numT;i++) {
	document.getElementById("tekst"+i).style.height = minY+"px";
	}
for (i=1;i<=numSitems;i++) {
	document.getElementById("sub"+i).style.height = (minY-40)+"px";
	}
if (numSitems > 15) {
	for (i=1;i<=numS;i++) {
	document.getElementById("submenu"+i).style.height = minY+"px";
	}
	}
document.getElementById("kolom").style.height = minY+"px";
document.getElementById("spacer").style.height = sY+"px";
document.getElementById("container").style.visibility = "visible";
}

function setM(Hm,numM,Mm) {
document.getElementById("hm"+Hm).style.color = "#ffffff";
for (i=1;i<=numM;i++) {
	document.getElementById("m"+i).className = "menulink";
	}
if (Mm != 0) {
	document.getElementById("m"+Mm).className = "menulinkactive";
	}
}

function setS(Sm) {
for (i=1;i<=numSitems;i++) {
	document.getElementById("sm"+i).className = "sm";
	}
document.getElementById("sm"+Sm).className = "smactive";

}




function setT(t) {
for (i=1;i<=numT;i++) {
	document.getElementById("tekst"+i).style.display = "none";
	}
document.getElementById("tekst"+t).style.display = "block";
document.getElementById("tekst"+t).scrollTop = "0";
}

function setST(st) {
for (i=1;i<=numSitems;i++) {
	document.getElementById("sub"+i).style.display = "none";
	}
document.getElementById("sub"+st).style.display = "block";
document.getElementById("sub"+st).scrollTop = "0";
setS(st);
}


function openNieuwsAbo() {
window.open('nieuwsaboframe.htm','nieuwsbrief','top=0, left=0, width=500, height=600, menubar=0, toolbar=0, status=0, scrollbars=1');
}

function foto600(welke) {
window.open(welke+'.htm',welke,'top=0, left=0, width=600, height=450, menubar=0, toolbar=0, status=0, scrollbars=0');
}

function opeResSpec() {
window.open('resspecframe.htm','reserveringsformulier','top=0, left=0, width=500, height=600, menubar=0, toolbar=0, status=0, scrollbars=1');
}

