function navigationBar(selection) {
  var pages = {
    'Pilgrim UCC': 'index.html',
    'About Us': 'aboutus.html',
    'Worship and Spirituality': 'worship.html',
    'Social Justice Ministries': 'justice.html',
    'Children\'s Center Preschool': 'pcc.html',
    'Adult Education': 'adulted.html',
    'Fellowship': 'fellowship.html',
    'Church Calendar': 'calendar.html',
    'Our Staff': 'ourstaff.html',
    'Boards &amp; Committees': 'orgchart.html',
    'Contacts &amp; Links': 'contactslinks.html'
  };
  var result =
    '<table width="100%"><tr align="center" valign="center"><td>' +
    '<select onChange="window.location=this.options[this.selectedIndex].value">';
  for(var label in pages) {
    result += '<option value="' + pages[label] + '"';
    if(pages[label].indexOf(selection) >= 0)
      result += ' selected="1"';
    result += '>' + label + '</option>';
  }
  result +=
    '</select>' +
    '</td><td>' +
      '<strong>' +
      '<font size="+2">Pilgrim United Church of Christ</font><br/>' +
      '<font size="-1"><em>An Open and Affirming, and Inclusive Church<br/>' +
      'with a Progressive Theology<br/>' +
      'and a Commitment to Social Justice' +
      '</em></font>' +
      '</strong>' +
    '</td><td>' +
      '<img src="art/ucclogo.gif" alt="UCC logo">' +
    '</td></tr></table>';
  return result;
}
