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 (submap == 'submap/') {
	}
	else {
	       if (cPagenaam.indexOf('frame')                   >= 0) { cPage='index.html'}
	  else if (cPagenaam.indexOf('home')                    >= 0) { cPage=cPagenaam;  }
	  else if (cPage.indexOf('http')                        >= 0) { cPage='index.html'}
	  else if (cPagenaam.indexOf('index')                   >= 0) { cPage='index.html'}

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

	  else                                                        { cPage=cPagenaam   }
	}
	d=document;
	d.write('<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#666666"><tr><td>');
	d.write('<table width="773"  height="441" border="0" align="center" cellpadding="0" cellspacing="0">');
	d.write('<tr>');
	d.write('<td height="34" "align="right" valign="bottom"><img src="navigatie/kop.gif" width="773" height="34" border="0" usemap="#Map2"><br>');
	d.write('<div style="position:relative;float:right;top:-8px;">');
	d.write('<div style="position:absolute;width:34px;height:475px;background-color:#000000;"">');
	d.write('<a href="javas'+'cript:void(\'\')" onclick="knoopmail(\'sales[sjp-engineering]nl\')">');
	d.write('<img src="images/right-contact.png" style="margin:210px 10px  0px 10px;" alt="contact" height="52" width="14" border="0"/><br />');
	d.write('</a>');
	d.write('<img src="images/right-devider.png" style="margin: 10px 10px 10px 10px;" alt="" height="4" width="14" /><br />');
	d.write('<img src="images/right-sjp.png"     style="margin:  0px 10px  0px 10px;" alt="" height="113" width="14" /><br />');
	d.write('<img src="images/right-postmus.png" style="margin:  0px 10px  0px 10px;" alt="Postmus Reclame" height="66" width="14" /><br />');
	d.write('</div>');
	d.write('</div>');
	d.write('<map name="Map2">');
	d.write('  <area shape="rect" coords="0,7,77,28"    href="index2.html"          target="main">');
	d.write('  <area shape="rect" coords="78,7,183,30"  href="products.html"        target="main">');
	d.write('  <area shape="rect" coords="182,9,302,29" href="company-profile.html" target="main">');
	d.write('  <area shape="rect" coords="585,6,680,28" href="media.html"           target="main">');
	d.write('  <area shape="rect" coords="463,7,583,28" href="gallery.html"         target="main">');
	d.write('  <area shape="rect" coords="682,7,772,29" href="catalog.html"         target="main">');
	d.write('</map>');
	d.write('</tr>');
	d.write('<tr bgcolor="#000000">');
	d.write('<td align=center>');
	d.write('<IFRAME src="' + submap + cPage + '" width="771" height="450" name="main" scrolling="no" frameborder="0">');
	d.write('</IFRAME>');
	d.write('</td>');
	d.write('</tr>');
	d.write('<tr>');
	d.write('<td background="images/bg-bottom.gif" align=left valign=bottom nowrap><img src="navigatie/tuv.png" width=38 height=32 border=0 hspace=10><a href="harleydavidson.html" target="main"><img src="navigatie/disclaimer.png" width=111 height=32 border=0 hspace=10></a></td>');
	d.write('</tr>');
	d.write('</table>');
	d.write('</td></tr></table>');

	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;

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

}
