function showTopHyperlink() {
  document.write("<p><a class=\"frame-menu\" href=\"#TopOfPage\" title=\"Top of this page.\">[Top]</a><hr>");
}

function showFooter(directoryDepth) {
  /* 
     pDirectoryDepth is the depth back from current directory to find relative referenced
     pages.  Examples:  "../", "../../"
  */
  if (! directoryDepth) {
    directoryDepth = "";   /* if unspecified, use current directory */
   }

  var footer = '<div class=\"footer\"><a href=\"' + directoryDepth + 'ContactDetail/index.html\" title=\" Contact the Lycanthropic Dreamer.  \">Contact Detail</a>' + '</div>';
  document.write(footer);
}

function showBasicFullFrame(pageName) {
  var content = '<div class=\"fill\"><iframe class=\"fillingFrame\" name=\"' + pageName + '"\" src=\"' + pageName + '.html\"></iframe></div>';
  document.write(content);
}

function listLinkHeader(name, title) {
  var content = '<a name=\"' + name + '\"><h3>' + title + '</h3></a><ul>';
  document.write(content);
}

function listLink(url, title, text) {
  var content = '<li><a href=\"' + url + '\" target=\"_blank\" title=\" ' + title + ' \">' + text + '</a>';
  document.write(content);
}

function listLinkFooter() {
  document.write('</ul>');
  showTopHyperlink();
}

function newsTitle(time, title) {
  var content = '<div>' + time + ' - ' + '<em>' + title + '</em></div><p class=\"newsitem\">';
  document.write(content);
}

function showAddress() {
  /* I HATE SPAM!  RANT RANT! SPEW! RANT!  */
  document.write('<a href=\"&#109;ailto&#58;lycanthropic&#46;dreaming&#64;gmail&#46;com\">lycanthropic&#46;dreaming&#64;gmail&#46;com</a>');
}

function showStyleSheetBasedOnBrowser(directoryPath) {
  var browserName=navigator.appName; 
  if (browserName=="Microsoft Internet Explorer") {
    document.write('<link rel=\"stylesheet\" type=\"text/css\" href=\"' + directoryPath +  'Styles/ie.css\" title=\"IE Specific Stylesheet\">');
  } else {
    document.write('<link rel=\"stylesheet\" type=\"text/css\" href=\"' + directoryPath + 'Styles/default.css\" title=\"Default\">');
  }
}
