// Contains components that get displayed through javascript only.

function printPageComponent() {
  html  = '<div id="print-page">';
  html += '  <a href="#"\n';
  html += '     id="print-page-button" \n';
  html += '     onclick="window.print(); return false;" \n';
  html += '     title="Print the current page.">print <span class="optionalText">page</span></a>\n'; 
  html += '</div>';
  return html;
}

function printPageLink() {
  html  = "<span id=\"component-box-print-link\" \n";
  html += "      class=\"button\"\n"; 
  html += "      onclick=\"window.print();\">\n";
  html += "Print this page";
  html += "</span>";
  return html;
}

function separatorComponent() {
  html = '<span class="separator">|</span>\n';
  return html;
}