function paste_info(myid)
{
  if(myid == '') return '';

  if(typeof(db_person[myid]) == "undefined") return '';

  var person = db_person[myid];

  var i;
  var j;
  var p;
  var q;
  var html = '';

  // (Born - Christened - Died - Buried) Box

  if( (person[1][0][0].year > 0) || (person[1][1][0].year > 0) || (person[2][0][0].year > 0) || (person[2][1][0].year > 0) )
  {
    html += '<table border="0" cellspacing="0" cellpadding="0" class="thing1" width="352"><tr><td>';
    html += '<table border="0" cellspacing="0" cellpadding="0" class="info" width="100%">';

    var w1; w1 = ''; if(person[1][0][4] != '') w1 = '(' + person[1][0][4] + ') ';
    var w2; w2 = ''; if(person[1][1][4] != '') w2 = '(' + person[1][1][4] + ') ';
    var w3; w3 = ''; if(person[2][0][4] != '') w3 = '(' + person[2][0][4] + ') ';
    var w4; w4 = ''; if(person[2][1][4] != '') w4 = '(' + person[2][1][4] + ') ';

    if(person[1][0][0].year > 0) html += '<tr><th width=58>Born</th>      <td width=58 align="right">'+person[1][0][0].nice()+'</td><td>&nbsp;&nbsp;&nbsp;'+w1+person[1][0][3]+'</td></tr>';
    if(person[1][1][0].year > 0) html += '<tr><th width=58>Christened</th><td width=58 align="right">'+person[1][1][0].nice()+'</td><td>&nbsp;&nbsp;&nbsp;'+w2+person[1][1][3]+'</td></tr>';
    if(person[2][0][0].year > 0) html += '<tr><th width=58>Died</th>      <td width=58 align="right">'+person[2][0][0].nice()+'</td><td>&nbsp;&nbsp;&nbsp;'+w3+person[2][0][3]+'</td></tr>';
    if(person[2][1][0].year > 0) html += '<tr><th width=58>Buried</th>    <td width=58 align="right">'+person[2][1][0].nice()+'</td><td>&nbsp;&nbsp;&nbsp;'+w4+person[2][1][3]+'</td></tr>';

    html += '</table></td></tr></table>';
  }

  // Burried Inscriptions

  if(person[2][1][5].length > 0)
  {
    html += '<table border="0" cellspacing="0" cellpadding="0" class="thing1" width="352"><tr><td>';
    html += '<table border="0" cellspacing="0" cellpadding="0" class="buried" width="100%">';
//  html += '<tr><td><b>Burrial Inscriptions</b></td></tr>';
    for(i=0; i<person[2][1][5].length; i++)
    {
      html += '<tr class="buried' + person[2][1][5][i][0] + '"><td align="center">';
      html += person[2][1][5][i][1];
      html += '</td></tr>';
    }
    html += '</table></td></tr></table>';
  }

  // Source

  for(i=0; i<person[6].length; i++)
  {
    var source = person[6][i];

    html += '<table border="0" cellspacing="0" cellpadding="0" class="thing1" width="352"><tr><td>';

    html += '<table border="0" cellspacing="0" cellpadding="0" class="source" width="100%"><tr>';
    html += '<td align="left" ><b>' + source[0][0] + '</b></td>';
    html += '<td align="right"><b>' + source[0][1] + '</b></td>';
    html += '</tr></table>';

    html += '<table border="0" cellspacing="0" cellpadding="0" class="source" width="100%">';
    for(j=0; j<source[1].length; j++)
    {
      html += '<tr valign="top"><td width="0%">&#8226;&nbsp;</td><td width="100%">' + source[1][j] + '</td></tr>';
    }
    html += '</table>';

    for(j=0; j<source[2].length; j++)
    {
      var table = source[2][j];
      html += '<table border="0" cellspacing="0" cellpadding="0" class="source" width="100%">';
      html += '<tr><td><table border="0" cellspacing="0" cellpadding="0" class="sourcet" width="100%">';
      for(p=0; p<table.length; p++)
      {
        html += '<tr>';
        for(q=0; q<table[p].length; q++)
        {
           html += '<td ' + table[p][q][0] + ' class="sourced">' + table[p][q][1] + '</td>';
        }
        html += '</tr>';
      }
      html += '</table></td></tr>';
      html += '</table>';
    }

    html += '</td></tr></table>';
  }

  // General notes

  if(person[5].length > 0)
  {
    html += '<table border="0" cellspacing="0" cellpadding="0" class="thing1" width="352"><tr><td>';
    html += '<table border="0" cellspacing="0" cellpadding="0" class="note" width="100%">';
    html += '<tr><td><b>My Notes</b></td></tr>';
    for(i=0; i<person[5].length; i++)
    {
      html += '<tr><td>';
      html += person[5][i];
      html += '</td></tr>';
    }
    html += '</table></td></tr></table>';
  }

  return html;
}

