function ShowPageControls()
{
    document.write ("<div class=paginate>");
    document.write ("Page ");
    if ( CurrentPage != 1 )
    {
        document.write ("<a href=" + pageid + ".html?page=" + String(CurrentPage-1) + "><img src=http://p.hostingprod.com/@mymybox.com/images/ltarrow.jpg align=absmiddle border=0></a>&nbsp;")
    }
    for (var i = 0; i < pages.length; i++ )
    {
      if ( i != CurrentPage - 1 )
      {
        document.write ("<a href=" + pageid + ".html?page=" + String(i + 1) + ">" + (i+1) + "</a>&nbsp;")
      }
      else
        document.write ( String(i+1) + "&nbsp;" );
    }
    if ( CurrentPage != pages.length )
    {
        document.write ("<a href=" + pageid + ".html?page=" + String(CurrentPage+1) + "><img src=http://p.hostingprod.com/@mymybox.com/images/rtarrow.jpg align=absmiddle border=0></a>&nbsp;")
    }
    document.write ("<hr></div>");
}

function ShowPage()
{
  if ( pages.length > 1 ) 
  {
    ShowPageControls();
  }
  document.write( String(pages[CurrentPage - 1]).replace(/`/gi, "'") );
  if ( pages.length > 1 ) 
  {
    ShowPageControls();
  }
}