taal='';
if ( typeof(cPage) == 'undefined' ) { cPage = location.pathname; }
if (cPage.indexOf('/') != -1) { cPage = cPage.substring(cPage.lastIndexOf('/') + 1,cPage.length) }
if (window.name != "main") {
  if ( typeof(main_pag) == "undefined" ) { main_pag=cPage }
	cPage=location.search.substring(1,location.search.length)
	if ( typeof(main_pag) != "undefined" ) { cPage = main_pag; }
	if (cPage == '')                                              { cPage='index.html'; do_not_hilite = 'a'; }
	if (cPage=='d') { taal='d-'}
	cPage.toLowercase = cPage;
	point = cPage.indexOf('.');
	slash = cPage.indexOf('/')+1;
	if (slash != -1 ) {
	  submap    = cPage.substring(0,slash);
	  cPagenaam = cPage.substring(slash,cPage.length);
	} else {
	  submap    = "";
	  cPagenaam = cPage.substring(0,cPage.length);
	}

	if (submap == 'submap/') {
	}
	else {
       	if (cPagenaam.indexOf('frame')                    >= 0) { cPage='index.html'; do_not_hilite = 'a'; }
  	else if (cPagenaam.indexOf('index')                   >= 0) { cPage='index.html'; do_not_hilite = 'a'; }
  	else if (cPagenaam.indexOf('.')                       <  0) { cPage='index.html'; do_not_hilite = 'a'; }
  	else if (cPagenaam.indexOf('home')                    >= 0) { cPage=cPagenaam;   do_not_hilite = 'a'; }

  	else                                                        { cPage=cPagenaam; do_not_hilite = ''; }
	}
	if (cPage.indexOf('d-')==0 || taal=='d-') { taal='d-'}
	else                                      { taal=''  }
	if (cPage.indexOf('d-')!=0 && taal=='d-') { cPage='d-'+cPage}

	document.write('<FRAMESET  frameborder=no framespacing=0 border=0 rows="235,*" marginwidth=0 marginheight=0>');
	document.write('  <FRAME  name="header"  noresize scrolling=no marginwidth=0 marginheight=0 src="frame-header.html?'+taal+'">');
	document.write('  <FRAME name="main"     noresize scrolling=auto marginwidth=0 marginheight=0 src="' + submap + cPage + '">');
	document.write('</FRAMESET>');
	main.location.href= submap + cPage;
}
