function printpage() {
  if (window.print)
    window.print()
  else
    alert("Your browser doesn't support this option. Please print the page manually.");
}
