function writeTo(suffix, prefix) {  // http://notepad-plus.sourceforge.net/uk/team.php
  location.href = "mai" + "lto:" + prefix + "\u0040" + suffix + "?body=\n(From optusnet site)";
}


function pagefoot()
{
  document.write('<br /><hr width="100%"><p class="pagefoot">Last modified: ' + document.lastModified + '</p>');
}// pagefoot


function amazon(asin, text) {
  document.write('<a href="http://www.amazon.com/exec/obidos/ASIN/' + asin + '/pattersofamilywe">' + text + '</a>');
}

//------------------- Footnotes; assumes scripts.css is used ---

var fnrefnum = 0;
var fnnum = 0;

function addfootnoteref()
{
  fnrefnum++;
  namedanchor = 'name="footnoteref' + fnrefnum + '"';
  title = 'Go to footnote ' + fnrefnum;
  href = '<a ' + namedanchor + ' href="#footnote' + fnrefnum + '" class="footnoteref" title="' + title + '">' + fnrefnum + '</a>';
  document.write(href);
}// addfootnoteref


function addfootnote()
{
  fnnum++;
  href = 'href="#footnoteref' + fnnum + '"';
  namedanchor = '<a name="footnote' + fnnum + '" ' + href + ' title="Return to text">[' + fnnum + ']</a>';
  document.write("<br /><b>" + namedanchor + "</b>");
}// addfootnote

