var browser = navigator.userAgent.toLowerCase();
var gecko = (browser.search(/gecko/) > -1) ? true : false;

function writeFactoid() {
  document.write("<div id=\"factoid\">");
  document.write(" <h2>salt factoid</h2>");
  document.write(" <p>");
  document.write("  <em>Did you know</em> that the word \"salary\" actually comes from the"); 
  document.write("  word for salt? It's true! Romans once paid their soldiers in salt");
  document.write("  because their emporor had slashed taxes so much that the government");
  document.write("  didn't have any actual money left!");
  document.write(" </p>");
  document.write("</div>");
}
