function igi(igiref)
{
igiurl="&nbsp;<A HREF='http://www.familysearch.org/Eng/Search/IGI/individual_record.asp?recid=" + igiref + "&lds=1&region=2&frompage=99' TARGET='_blank' CLASS=IGI>&nbsp;";
igitext="IGI " + igiref;
igisuffix="&nbsp;</A>&nbsp;";
document.writeln(igiurl + igitext + igisuffix);
}


function ShowEmail()
{
document.getElementById('EMAIL').innerHTML='<A HREF="mailto:chris-ward@blueyonder.co.uk?Subject=Genealogy">chris-ward@blueyonder.co.uk</A>'
}


function census1881(ref)
{
document.writeln('x');
}


function PageFooter()
{
if(document.location.href.substring(document.location.href.length-9)!='index.htm')
	{
   if(document.location.href.indexOf('people')!=-1)
   	{LinkPath='../'}
   else
   	{LinkPath=''}
	document.writeln('<CENTER>');
   document.writeln('<HR SIZE=1>');
   document.writeln('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=2 CLASS=MENU>');
   document.writeln('<TR>');
   document.writeln('<TD CLASS=BLUE><A HREF="'+LinkPath+'index.htm">Home</A></TD>');
   document.writeln('<TD CLASS=MAGENTA><A HREF="'+LinkPath+'introduction.htm">Intro</A></TD>');
   document.writeln('<TD CLASS=BLUE><A HREF="'+LinkPath+'concept.htm">Concept</A></TD>');
   document.writeln('<TD CLASS=MAGENTA><A HREF="'+LinkPath+'ancestors.htm">Ancestors</A></TD>');
	document.writeln('</TR><TR>');
   document.writeln('<TD CLASS=MAGENTA><A HREF="'+LinkPath+'family_tree.htm">Tree</A></TD>');
   document.writeln('<TD CLASS=BLUE><A HREF="'+LinkPath+'chronology.htm">History</A></TD>');
   document.writeln('<TD CLASS=MAGENTA><A HREF="'+LinkPath+'lifelines.htm">Lifelines</A></TD>');
   document.writeln('<TD CLASS=BLUE><A HREF="'+LinkPath+'surnames.htm">Surnames</A></TD>');
	document.writeln('</TR><TR>');
   document.writeln('<TD CLASS=BLUE><A HREF="'+LinkPath+'photos.htm">Photos</A></TD>');
   document.writeln('<TD CLASS=MAGENTA><A HREF="'+LinkPath+'key.htm">Key</A></TD>');
   document.writeln('<TD CLASS=BLUE><A HREF="'+LinkPath+'contact.htm">Contact</A></TD>');
   document.writeln('<TD CLASS=MAGENTA><A HREF="'+LinkPath+'links.htm">Links</A></TD>');
   document.writeln('</TR>');
   document.writeln('</TABLE>');

	// if not iPhone (document.lastModified function won't work)
	if(navigator.appVersion.indexOf("iPhone")==-1)
		{
   	// Last Updated date
   	lmtime=new Date(document.lastModified)
      lmyear=lmtime.getFullYear();

      if (lmyear<10) {lmyear="200" + lmyear}
      if (lmyear<100) {lmyear="20" + lmyear}
      if (lmyear>=100 && lmyear<=999) {lmyear=1900+lmyear}

      lmmonth=lmtime.getMonth()+1;
      if (lmmonth<10) {lmmonth="0"+lmmonth}

      lmdate=lmtime.getDate();
      if (lmdate<10) {lmdate="0" + lmdate}

      document.writeln('<BR><SMALL>');
      document.writeln('This page last updated ');
      document.writeln(lmyear + "-" + lmmonth + "-" + lmdate);
      document.writeln('</SMALL>');
      document.writeln('</CENTER>');
		}
	}

}
