function writemenu(locatie){

  
 document.write('<div id="logo" style="position:absolute; width:300px; height:88px; z-index:1; left: 80px;" top:35px; ><a href="\/index.htm"><img src="\/htm\/images\/logo.jpg" alt="" width="298" height="75" border="0"><\/a><\/div>');
  document.write('<div id="menu" style="position:absolute; width:100%; height:50px; z-index:1; left: 0px;" top:20px; >');
  document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
  document.write('<tr>');
  document.write('<td align="left" valign="top"><img src="\/htm\/images\/blauw.gif"><\/td>');
  document.write('<td width="600"><BR><div id="VERBERGMENU" style="position:absolute; width:600px; height:300; z-index:2;  top: 35px;  visibility: hidden; ><img src="\/htm\/images\/spacer.gif" width=100% onMouseOver="lagenweg();"><\/div>');
  document.write('<table width="600" border="0" cellpadding="0" cellspacing="0" id="menu"  align="right">');
  document.write('<tr>');
  document.write('<td width="76"><div id="m1" style="position:absolute; width:150px; height:280px; z-index:4;  visibility: hidden; top:34px; ">');
  document.write('<table border="0"  cellpadding="2" cellspacing="0" ><tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_modules.htm">Functionaliteiten<\/a><\/td><\/tr><tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_basismodule.htm">Basismodule<\/a><\/td><\/tr><tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_relatiebeheer.htm">Bedrijven & Personen<\/a><\/td><\/tr> <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_documenten.htm">Documenten<\/a><\/td><\/tr> <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_acties.htm">Acties<\/a><\/td><\/tr> <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_opleidingen.htm">Opleidingen<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_factureren.htm">Verkoop & Facturering<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_inkoopkosten.htm">Inkoopkosten<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_cursusplanning.htm">Docenten & Locatieplanning<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_mailing.htm">Mailing Master<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_webaanvraag.htm">Webaanvraag<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_evaluatie.htm">Evaluatiemodule<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_competentiemanagement.htm">Competentie Management<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_informatie.htm">Management Informatie<\/a><\/td>  <\/tr>  <tr>');
  document.write('<td class="submenu"> <a href="\/htm\/Cursusadministratie_koppelingen.htm">Koppelen andere systemen<\/a><\/td>  <\/tr> <\/table><\/div> <a href="#" ');
  document.write('onMouseOver="lagenweg(1); changeImages(\'functies\', \'\/htm\/images\/functies-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'functies\', \'\/htm\/images\/functies.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'functies\', \'\/htm\/images\/functies-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'functies\', \'\/htm\/images\/functies-over.gif\'); return true;">');
  document.write('<img name="functies" src="\/htm\/images\/functies.gif" width="76" height="24" border="0" alt="Functies"><\/a><\/td>');
  document.write('<td width="100"><a href="\/htm\/software.htm" ');
  document.write('onMouseDown="changeImages(\'software\', \'\/htm\/images\/software-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'software\', \'\/htm\/images\/software-over.gif\'); return true;"');
  document.write('onMouseOver="lagenweg(); changeImages(\'software\', \'\/htm\/images\/software-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'software\', \'\/htm\/images\/software.gif\'); return true;">');
  document.write('<img name="software" src="\/htm\/images\/software.gif" width="100" height="24" border="0" alt="Online software"><\/a><\/td>');
  document.write('<td  width="126"> <a href="\/htm\/tarieven.htm" ');
  document.write('onMouseOver="lagenweg();  changeImages(\'tarieven\', \'\/htm\/images\/tarieven-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'tarieven\', \'\/htm\/images\/tarieven.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'tarieven\', \'\/htm\/images\/tarieven-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'tarieven\', \'\/htm\/images\/tarieven-over.gif\'); return true;"> <img name="tarieven" src="\/htm\/images\/tarieven.gif" width="126" height="24" border="0" alt="Unieke tariefstelling"><\/a><\/td>');
  document.write('<td  width="83"><div id="menuutje" style="position:absolute; width:270px; height:50px; z-index:2; top:34;" >');
  document.write('<table width="216" height="26" border="0" align="right" cellpadding="0" cellspacing="0">');
  document.write('<tr>');
  document.write('<td width="72" height="26"  valign="top"><a href="\/index.htm"');
  document.write('onMouseOver="changeImages(\'Home\', \'\/htm\/images\/Home-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'Home\', \'\/htm\/images\/Home.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'Home\', \'\/htm\/images\/Home-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'Home\', \'\/htm\/images\/Home-over.gif\'); return true;"> <img name="Home" src="\/htm\/images\/Home.gif" width="72" height="26" border="0" alt="Home"><\/a><\/td>');
  document.write('<td width="59"  height="26" valign="top">');
  document.write('<div id="m4" style="position:absolute; width:100px;  z-index:4;  visibility: hidden; " >');
  document.write('<br><br><table border="0" width="100"  cellpadding="2" cellspacing="0" >  ');
  document.write('<tr><td  class="submenu"><a href="\/htm\/contact.htm">InnoPhase BV<\/a><\/td><\/tr>');
  document.write(' <tr><td class="submenu"><a href="\/htm\/adres.htm">Adresgegevens<\/a><\/td> <\/tr> ');
  document.write('<\/table><\/div>');
  document.write('<a href="#"');
  document.write('onMouseOver="lagenweg(4); changeImages(\'contact\', \'\/htm\/images\/contact-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'contact\', \'\/htm\/images\/contact.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'contact\', \'\/htm\/images\/contact-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'contact\', \'\/htm\/images\/contact-over.gif\'); return true;"><img name="contact" src="\/htm\/images\/contact.gif" width="65" height="26" border="0" alt="Contact"><\/a><\/td>');
  document.write('<td width="85"  height="26" valign="top"> <a href="https:\/\/secure.coachview.net"');
  document.write('onMouseOver="changeImages(\'inloggen\', \'\/htm\/images\/inloggen-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'inloggen\', \'\/htm\/images\/inloggen.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'inloggen\', \'\/htm\/images\/inloggen-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'inloggen\', \'\/htm\/images\/inloggen-over.gif\'); return true;"> <img name="inloggen" src="\/htm\/images\/inloggen.gif" width="85" height="26" border="0" alt="Inloggen"><\/a><\/td>');
  document.write('<\/tr>');
  document.write('<\/table>');
  document.write('<\/div><a href="\/htm\/demo.htm" ');
  document.write('onMouseOver="lagenweg()\; changeImages(\'demo\', \'\/htm\/images\/demo-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'demo\', \'\/htm\/images\/demo.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'demo\', \'\/htm\/images\/demo-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'demo\', \'\/htm\/images\/demo-over.gif\'); return true;"> <img name="demo" src="\/htm\/images\/demo.gif" width="83" height="24" border="0" alt="Demonstratie van Coachview.net"><\/a><\/td>');
  document.write('<td width="72"><div id="m2" style="position:absolute; width:150px; height:100px; z-index:4;  visibility: hidden; top: 34px; ">');
  document.write('<table border="0" width="150"  cellpadding="2" cellspacing="0" >  ');
  document.write('<tr>');
  document.write('<td class="submenu"> <a href="\/htm/workshops.aspx">Workshops<\/a><\/td> <\/tr> ');  
  document.write('<td class="submenu"> <a href="#" onclick="NewWindow(\'\/htm\/downloadform.htm\', \'folder\', \'540\', \'625\', \'yes\');return false">Download brochure<\/a><\/td> <\/tr> ');
  document.write('<td class="submenu"> <a href="#" onclick="NewWindow(\'\/htm\/afspraakdemo.htm\', \'afspraak\', \'540\', \'600\', \'yes\');return false">Afspraak demonstratie<\/a><\/td> <\/tr> ');
  document.write('<td class="submenu"> <a href="#" onclick="NewWindow(\'\/htm\/vraagformulier.htm\', \'vraagformulier\', \'540\', \'600\', \'yes\');return false">Stel uw vraag<\/a><\/td> <\/tr> ');
  document.write(' <\/table> <\/div>');
  document.write('<');
  document.write('a href="#"');
  document.write('onMouseOver="lagenweg(2); changeImages(\'info\', \'\/htm\/images\/info-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'info\', \'\/htm\/images\/info.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'info\', \'\/htm\/images\/info-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'info\', \'\/htm\/images\/info-over.gif\'); return true;"> <img name="info" src="\/htm\/images\/info.gif" width="72" height="24" border="0" alt="Informatie">');
  document.write('<\/a>');
  document.write('<\/td><td width="95" >');
  document.write('<div id="m3" style="position:absolute; width:100px; height:280px; z-index:4;  visibility: hidden; top:34px; ">');
  document.write('<table border="0"  cellpadding="2" cellspacing="0" ><tr>');
  document.write('<td class="submenu"> <a href="\/htm\/nieuwsbrieven.htm">Nieuwsbrieven<\/a><\/td><\/tr><tr>');
  document.write('<td class="submenu"> <a href="\/htm\/nieuwsenpers.htm">Nieuws en Pers<\/a><\/td><\/tr><tr>');
  document.write('<\/table>');
  document.write('<br>');
  document.write('<\/div>');
  document.write('<a href="#" ');
  document.write('onMouseOver="lagenweg(3); changeImages(\'nieuws\', \'\/htm\/images\/nieuws-over.gif\'); return true;"');
  document.write('onMouseOut="changeImages(\'nieuws\', \'\/htm\/images\/nieuws.gif\'); return true;"');
  document.write('onMouseDown="changeImages(\'nieuws\', \'\/htm\/images\/nieuws-over.gif\'); return true;"');
  document.write('onMouseUp="changeImages(\'nieuws\', \'\/htm\/images\/nieuws-over.gif\'); return true;"><img name="nieuws" src="\/htm\/images\/nieuws.gif" width="95" height="24" border="0" alt="nieuws en pers"><\/a><\/td>');
  document.write('<td valign="top" bgcolor="373078"><img src="\/htm\/images\/portal_26.gif" width="48" height="19" alt=""><\/td>');
  document.write('<\/tr>');
  document.write('<\/table>');
  document.write('<\/td>');
  document.write('<\/tr>');
  document.write('<\/table><\/div>');
  
  /**/
}


 function writeartikel(){

 var nrc = parseInt(nummer);
 var paden = "";  
  for (b = 0;  b < nrc; b++)
	{
	
			i = (nrc - b);
			paden = eval('pad'+i);
			
			
			if ((splitvar=="") || (splitvar==null))
			{
			
			var pad_array=paden.split(".");
			var datum = "";
			var titel =  (pad_array[0]);
			
			}
			else{
			var pad_array=paden.split(splitvar);
			var datum = (pad_array[0]);
			var titel_array =pad_array[1].split(".");
			var titel=  (titel_array[0]);
			}
			var image_array=paden.split(".");
			var image = ((image_array[0]) + ".jpg");
								
				document.write('<table width="80%" border = 0>');
				document.write('<tr><td width =60 valign="top">');
				document.write('<img src="\/htm\/nieuwsbrieven\/');
				
				document.write(image);
				document.write('" width=50 onError="this.onerror=null\; this.src=\'\/htm\/nieuwsbrieven\/bullet.gif\'">');
				document.write('<\/td><td valign="top">');
				document.write('<h4><a href="\/htm\/nieuwsbrieven\/');
				document.write(eval('pad'+i));
				document.write('" target="blanc">');
				document.write(titel);
				document.write('<\/a><\/h4>');
				document.write('<\/td>');
				document.write('<td valign="top" align="right">');
				document.write('<H5 >');
				document.write(datum);
				document.write(' <\/H5>');
				document.write('<\/td><\/tr>');
				document.write('<tr><td valign="top">  <\/td><td valign="top"><p>');			
				document.write(eval('info'+i));
				document.write('<\/p><\/td>');
				document.write('<td valign="top" align="right">');
				document.write('<a href="\/htm\/nieuwsbrieven\/');
				document.write(eval('pad'+i));
				document.write('" target="blanc">laad pdf<\/a><\/td><\/tr></table>');
				document.write('<p  class="datum">\&nbsp\;<\/p>');		
			
			
		}
}
