Cufon.replace
("#title a", { fontFamily: "Prociono", textShadow: "#bababa 2.5px 2.5px" })
("#page h1, #page h2", { fontFamily: "League Gothic", textShadow: "#bababa 2px 2px" })
("#footer h1, #footer h2", { fontFamily: "League Gothic", textShadow: "#000 2px 2px" });

jQuery(function($)
{
  //Sticky footer
  var footerHeight = 0, footerTop = 0, footer = $("#footer");
  var height = 0;
  $("body>*").each(function()
  { //Probably an estimate...
    var h = $(this).offset().top + $(this).outerHeight();
    if(h > height) height = h;
  });
  function positionFooter()
  {
    if (height < $(window).height()) {
      footer.css({ position: "relative", top: $(window).height() - height })
    } else {
      footer.css({ position: "static" })
    }
  }
  positionFooter();

  $(window)
  .scroll(positionFooter)
  .resize(positionFooter);
  //.load(positionFooter);
  
  SyntaxHighlighter.defaults['toolbar'] = false;
  SyntaxHighlighter.all();
});
