<!--
var dom = false;
var ns4 = false;
var ns6 = false;
//var ns7 = false;
var ns7 = true;
var ie4  = false;
var oldBrowser = false;

function getIEVersion() {
	var ua = navigator.userAgent;
	var IEoffset = ua.indexOf("MSIE ");
	return parseFloat(ua.substring(IEoffset+5, ua.indexOf(";",IEoffset)));
}

 var ie4 = ((navigator.appName.indexOf("Microsoft") == 0 && parseInt(getIEVersion()) >= 4));
 var w3c = (document.documentElement) ? true : false;

 function browser() {
	if (ie4 && w3c) 
	{ 
		dom = true; //document.write("ie5+");
	}
	else if (ie4 && !w3c)
	{
		ie4 = true; //document.write("ie4");
	}
	else if (!ie4 & w3c)
	{
		ns6 = true;
		//document.write("NN6+");
	}
	else 
		oldBrowser = true;
		//document.write("Oudere browser");
}


function showScroll() {
document.all.div1.style.top = document.body.scrollTop;
//alert(document.body.scrollTop);
}

function maximize() {
var w = parseInt(screen.availWidth);
var h = parseInt(screen.availHeight);
window.moveTo(-4,-4);
window.resizeTo(w + 8, h + 8);
}

function screensize() {
var w = parseInt(screen.availWidth);
var h = parseInt(screen.availHeight);
window.moveTo(-4,-4);
window.resizeTo(w + 8, h + 8);

if (w == 800)
window.location.href= "800.html";
else if (w == 1024)
window.location.href= "1024.html";
else if (w < 800)
window.location.href= "600.html";
else window.location.href= "800.html";
}

function testScreenSize() {
if ((screen.width < 800))
	return 600;
if ((screen.width == 800))
	return 800;
if ((screen.width == 1024))
	return 1024;
else return 1024;
}

function changePosition(ofs) {
if (ofs)
{
	var offset = parseInt(ofs);
}
else var offset = parseInt(0);
var scherm = parseInt(screen.width);
var obj1 = document.getElementById("img");
var obj2 = document.getElementById("tekst");

if(scherm == 800) {
	obj1.style.top = 120;
	obj2.style.top = parseInt(170 + offset);
	}
else if(scherm == 600) {
	obj1.style.top = 80;
	obj2.style.top = 60;
}
else if(scherm > 800) {
	obj1.style.top = 200;
	obj2.style.top = 170;
}
else return; 
}

function loadImg() {
	var imgSrc;
	var scherm = parseInt(screen.width);
	if(scherm < 800) imgSrc = 3;
	else if(scherm == 800) imgSrc = 2;
	else  imgSrc = 1;

	imgSrc = 1;
	document.images.geel.src = "logo/kopgeel" + imgSrc + ".gif"; 
	document.images.rood.src = "logo/koprood" + imgSrc + ".gif"; 
	document.images.blauw.src = "logo/kopblauw" + imgSrc + ".gif"; 
}



function leegFrame() {
return;
parent.frames[1].location.href ='leeg.html';
}


function xtoggleColor(id,newColor,textColor) {

	alert(id);
	id.style.cursor = "pointer";
	id.style.backgroundColor = newColor;
	id.style.color = textColor;
}


function go(page) {
	if(page=="#" || page=="") return true;
	parent.frames['1'].location = page;
}

function getFrameObject(elementId) {
	for(var i=0; i<parent.frames.length; i++) 
	{
		var myFrame = parent.frames[i].document;
		var object;
		if (myFrame.all)					{ if(object = myFrame.all(elementId)) return object; }
		else if (myFrame.getElementById) 	{ if(object = myFrame.getElementById(elementId)) return object; }
		else if (myFrame.layers)			{ if(object = myFrame.layers(elementId)) return object; }
	}
	object = null;
	return object;
}

function show(divId) {
	if(divId) 
	{	var obj  = getFrameObject(divId); 
		obj.style.visibility = "visible";

	}
}

function vertraag(divId) {
	var obj  = getFrameObject(divId); 
	obj.style.color = "black";
}

function hide(divId) {
	var obj  = getFrameObject(divId);  
	obj.style.visibility = "hidden";
}

function hideSubs() {
	var obj  = getFrameObject('submenu1');  
	obj.style.visibility = "hidden";
	var obj  = getFrameObject('submenu2');  
	obj.style.visibility = "hidden";
}

function init() {
	var aantal_menus = 2;
	for(var i=2; i<= (aantal_menus + 1); i++) {
		var menu = "menu" + i;
		hide(menu);
	}
}

function toggleColor(myId,newColor,textColor) {
	var Id = getFrameObject(myId);
	Id.style.cursor = "pointer";
	Id.style.backgroundColor = newColor;
	Id.style.color = textColor;
}

function showFoto(idName)
{
	var oud = idName.src;
	var nieuw = oud.substring(0, oud.length - 4) + ".jpg";
	var obj = getFrameObject('imgfoto');
	obj.src =  nieuw;
}


function goPage(pag) {
	switch(pag) {
		case 1:
			pagina = firstPage;
			break;
		case 2:
			if(pagina > firstPage) { pagina--; }
			break;
		case 3:
			if(pagina < lastPage) { pagina++; }
			break;
		case 4:
			pagina = lastPage;
			break;
	}
	loadThumbs(pagina);
	reColor();
}

function navPag(thisId,kleur) {	
// instellen kleur navigatiesymbolen voor mouseover en mouseout
	reColor();
	if(pagina == firstPage) 
	{
		if(thisId == "first" || thisId == "prev") return false;
		else { if(thisId == "last" || thisId == "next") 
			   { 
					obj = getFrameObject(thisId);
					obj.style.color = kleur;
				} 
			 } 
	} 
	else 
	{ 
			if(pagina == lastPage) 
			{
				if(thisId == "last" || thisId == "next") return false;
				else 
				{	
					obj = getFrameObject(thisId);
					obj.style.color = kleur;
				}
				}
			else 
			{
					obj = getFrameObject(thisId);
					obj.style.color = kleur;
			} 
			
	} 
	return true;
}

function reColor() {
		var arNav = new Array("first","prev","next","last");
		for(var i=0;i<=3;i++) {
			obj = getFrameObject(arNav[i]);
			obj.style.color = "blue";
			}
		return true;
}



//-->