// Menu horizontal
var mnuhor = '';
var mnuItems = '';
addItem ('Inicio', 'index.htm', 70);
addItem ('Eventos', 'eventos.php', 85);
addItem ('Boletines', 'boletines.php', 85);
addItem ('Campamentos', 'http://www.leontoral.org', 120);
addItem ('Enlaces', 'enlaces.php', 80);
addItem ('Galerķa Fotos', 'Galerias/Fotos/Bautismos2005', 100);
addItem ('Extras', '/extras', 75);

mnuhor += '<div style="position: absolute; left: 0px; top: 105px;" id="menu1">';
mnuhor += '<table cellpadding="0" cellspacing="0" width="780">';
mnuhor += '<tr><td bgcolor="#B9B9FF" background="/imagenes/submenu.gif" height="20" align="right">';
mnuhor += '<table border="0" cellspacing="0" cellpadding="0" class="menu">';
mnuhor += '<tr><-- Menu Items --></tr></table></td></tr></table></div>';

mnuhor = mnuhor.replace("<-- Menu Items -->", mnuItems);
document.writeln (mnuhor);

function addItem (titulo, enlace, width) {
  mnuItems += '<td width="'+width+'">|&nbsp;&nbsp;<a href="'+enlace+'"><strong>'+titulo+'</strong></a></td>';
}