
function href(anchor,ref) {
  return "<tr><td><a href=\"/" + ref + ".html\">" + anchor + "</a></td></tr>"
}

function oldMenuTable() {
  var text="<table border=\"1\" name=\"Menu\"><tbody>"
  text += href("Home","index")
  text += href("Fractals","Fractals/index")
  text += href("Combinatorics","Combinatorics/index")
  text += href("Dynamics","Dynamics/index")
  text += href("Tetration","www.tetration.net/index.php?title=Tetration")
  text += href("Ackermann Function","Ackermann/index")
  text += href("Resources","Resources/index")
  text += href("About","About/index")
  text += "</tbody></table>"
  return text
}

function menuTable() {
  var text="<table border=\"1\" name=\"Menu\"><tbody>"
  text += href("Home","index")
  text += href("Fractals","Fractals/index")

  text += href("Tetration","Tetration/index")
  text += href("Dynamics","Dynamics/index")
  text += href("Combinatorics","Combinatorics/index")
  text += href("Ackermann Function","Ackermann/index")
  
  text += href("Resources","Resources/index")
  text += href("About","About/index")
  text += "</tbody></table>"
  return text
}


function bannerTable() {
  var text=""
  text += "<table cellpadding=\"2\" cellspacing=\"2\" border=\"1\" style=\"width: 100%; height: 108px; text-align: left; margin-left: auto; margin-right: auto;\">"
  text += "<tbody><tr><td style=\"vertical-align: top; height: 100px; width: 128px;\">"
  text += "<img style=\"height: 96px; width: 128px;\" alt=\"Logo\" src=\"/LOGO.jpg\">"
  text += "<br></td><td style=\"vertical-align: top; font-weight: bold; height: 100px; width: 100%;\">"
  text += "<div style=\"text-align: center;\"><big><big><big><big>Tetration.org</big></big></big></big><br></div>"
  text += "<div style=\"text-align: center; font-style: italic;\">What Lies Beyond Exponentiation?</div></td></tr></tbody></table>"
  return text
}

function border() {
  var text="<div style=\"text-align: center;\">"
  text += "<img align=\"middle\" src=\"/border.jpg\" alt=\"periods of tetration around real axis\" vspace=\"0\"></div>"
  return text
}

function footer() {
  var text= "<tr><td style=\"vertical-align: top;\"><hr>"
  text += "<table border=\"1\" cellspacing=\"2\" cellpadding=\"2\"><tbody><tr><td>"
  text += "<small>Contact:</small></td><td>"
  text += "<img src=\"/contact.gif\" alt=\"Email contact information\">"
  text += "</td></tr></tbody></table>"
  text += "<small>Copyright &nbsp;&copy;&nbsp; 2001-2009 " 
  text += "<a href=\"http://danielgeisler.com\">Daniel Geisler</a>"
  text += "<br></small></td></tr>"
  return text
} 

