function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var nn4 = (document.layers);
var nn6 = (document.getElementById && !document.all);
var ie4 = (document.all && !document.getElementById);
var ie5 = (document.all && document.getElementById);

function loadPage(id,nestref,urls) {
if (nn4) {
var lyr = (nestref)? eval('document.'+nestref+'.document.'+id) : document.layers[id]
lyr.load(urls,lyr.clip.width)
}
else if(ie4) parent.contentFRM.location = urls;
else if(ie5 || nn6) document.getElementById('contentFRM').src =urls;
}
function showPage(id) {
	
if (ie4) {
document.all[id].innerHTML = parent.contentFRM.document.body.innerHTML;
}
else if(nn6 || ie5) { 
document.getElementById(id).innerHTML = window.frames['contentFRM'].document.getElementById('theBody').innerHTML;
window.frames['contentFRM'].focus();
   }
}
function loadPagewp(id,nestref,url){
document.getElementById('contentFRM').src = url+"?email="+email+"&wchtwrd="+wchtwrd+"&a="+a;	
}

function fullscreen(){
				 resup=window.screen.height
				 resside=window.screen.width
				 window.moveTo(0,0)
				 window.resizeTo((resside), (resup-27))
}
function lokatie(){

var sub;
var demap= new String(document.location);
var sub = demap.lastIndexOf("/");
var map= demap.substring(0,sub+1);
return map;
  }
function routemap(url){
var dot=url.charAt(0);
	if (dot=="."){
		var urll=url.length;
		var nurl=url.substring(3,urll);
		return nurl;
		}else{
		return url;
	}
}
function getHeight(instellingenURL){	
	// bedoeld voor iframe met alle instellingen
}