
cPage = location.pathname+location.search;
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 = 'aa'; }
	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 ( location.pathname.indexOf('en/') > 0 ) { submap = 'en/' }
	else                                        { submap = 'nl/' }
	//submap = 'en/';
	if (submap == 'submap/') {
	}
	else {
	       if (cPagenaam.indexOf('frame')                   >= 0) { cPage='index.html'; do_not_hilite = ''; }
	  else if (cPagenaam.indexOf('home')                    >= 0) { cPage=cPagenaam;   do_not_hilite = ''; }
	  else if (cPage.indexOf('http')                        >= 0) { cPage='index.html'; do_not_hilite = ''; }
	  else if (cPagenaam.indexOf('index')                   >= 0) { cPage='index.html'; do_not_hilite = ''; }

	  else if (cPagenaam.indexOf('pagina')                  >= 0) { cPage=cPagenaam; do_not_hilite = ''; }

	  else                                                        { cPage=cPagenaam; do_not_hilite = ''; }
	}

	n=navigator;na=n.appVersion;nu=n.userAgent.toLowerCase();no=n.userAgent.indexOf('Opera');d=document;
	mac   =(na.indexOf("Mac")!=-1)          ?1:0;
	ns6up =(d.getElementById&&!document.all)?1:0;
	op5up =(no>0&&!ns6up)                   ?1:0;
	ie4up =(d.all&&!op5up)                  ?1:0;
	ie5up =(d.all&&!op5up&&d.getElementById)?1:0;

	d.write('<FRAMESET ROWS="130,*" frameborder=no framespacing=0 border=0 marginwidth=0 marginheight=0>');
	d.write('	<FRAME NAME="header" SRC="' + submap + 'frame-header.html" 	noresize scrolling=no marginwidth=0 marginheight=0>');
	d.write('	<FRAMESET COLS="125,*">');
	d.write('		<FRAME NAME="inhoud" SRC="' + submap + 'frame-inhoud.html"      noresize scrolling=no marginwidth=0 marginheight=0>');

	if (cPagenaam.indexOf('000.html') >= 0) { submap = '' }

	d.write('		<FRAME NAME="main"   SRC="' + submap + cPage + '" noresize scrolling=auto marginwidth=0 marginheight=0>');
	d.write('	</FRAMESET>');
	d.write('</FRAMESET>');

//	if ((ie4up||ie5up)&&!mac) { // Fu&%ing MSIE...
//		if (mac) { setTimeout( "main.location.href = cPage + location.search",100) } else { }
		main.location.href= submap+cPage
//	}
}

