function a_faml(id,grandparents)
{ document.write('<a href="../Families/' + id + '.htm#begin" title="' + grandparents + '" onmouseover="window.status=' + "'Family " + id + "'" + ';return true" onmouseout="window.status=' + "''" + '">');
}
function a_famr(id,children)
{ if (children==1)
  { document.write('<a href="../Families/' + id + '.htm#begin" title="1 child" onmouseover="window.status=' + "'Family " + id + "'" + ';return true" onmouseout="window.status=' + "''" + '">');
  }
  else
  { document.write('<a href="../Families/' + id + '.htm#begin" title="' + children + ' children" onmouseover="window.status=' + "'Family " + id + "'" + ';return true" onmouseout="window.status=' + "''" + '">');
  }
}
function a_src(id,title,width,height)
{ document.write('<a href="#" title="' + title + '" onmouseover="window.status=' + "'Source " + id + "';return true" + '" onmouseout="window.status=' + "''" + '" onclick="window.open(' + "'../Sources/" + id + ".htm#begin','source','width=" + width + ",height=" + height + ",left='+event.screenX+',top='+event.screenY+'');return false" + '">');
}
function a_photo(filename,title)
{ document.write('<a href="../Photos/' + filename + '" title="' + title + '" onmouseover="window.status=' + "'Photo'" + ';return true" onmouseout="window.status=' + "''" + '">');
}
function a_idx(filename)
{ document.write('<a href="../Indexes/' + filename + '#begin" onmouseover="window.status=' + "'Index'" + ';return true" onmouseout="window.status=' + "''" + '">');
}
function a_legend(width,height)
{ document.write('<a href="#" onmouseover="window.status=' + "'Legend';return true" + '" onmouseout="window.status=' + "''" + '" onclick="lgnd=window.open(' + "'Legend.htm#begin','legend','width=" + width + ",height=" + height + ",left='+event.screenX+',top='+event.screenY+'');lgnd.document.title='Legend';lgnd.focus();return false" + '">');
}
function img_faml()
{ document.write('<img src="../Layout/ArrowL.gif" height="32" width="32" border="0">');
}
function img_famr()
{ document.write('<img src="../Layout/ArrowR.gif" height="32" width="32" border="0">');
}
function img_src()
{ document.write('<img src="../Layout/IconS.gif" height="9" width="9" hspace="2" border="0">');
}
function img_photo(filename)
{ document.write('<img src="../Photos/TN_' + filename + '" border="0">');
}
function img_idx()
{ document.write('<img src="../Layout/Button.gif" height="32" width="32" border="0">');
}
function go_fam()
{ var page = document.form.flist.options[document.form.flist.selectedIndex].text;
  var p = page.substring(0,1);
  if (p == 'F')
  { page = '../Families/' + page + '.htm#begin';
    window.open(page,'main');
  }
}
function go_ind()
{ var page = document.form.ilist.options[document.form.ilist.selectedIndex].value;
  var anchor = document.form.ilist.options[document.form.ilist.selectedIndex].text;
  var a = anchor.substring(0,1);
  if (a == 'I')
  { page = '../Families/' + page + '.htm#' + anchor;
    window.open(page,'main');
  }
}
function go_src()
{ var page = document.form.slist.options[document.form.slist.selectedIndex].text;
  var p = page.substring(0,1);
  if (p == 'S')
  { page = '../Sources/' + page + '.htm#begin';
    window.open(page,'source','width=10,height=10');
  }
}

