$(function()
{
  $.cssRule({
    "h1.title": [
      "margin:0;",
      "padding:0;",
      "font-size:14px;"
    ]
  });
  
  if (typeof(sIFR) == "function")
  { 
    sIFR.replaceElement("h1.title", named({
      sColor: "#000000",
      sFlashSrc: "/includes/js/sifr/avantgardebold.swf",
      sWmode: "transparent"
    }));
  }
});

$(window).load(function()
{
  var Shadowbox = window.parent.Shadowbox;
  if (typeof(Shadowbox) != "undefined")
  {
    var h = $("#page").outerHeight();
    $.each(Shadowbox.gallery, function(i)
    {
      this.height = h;
    });
    Shadowbox.skin.dynamicResize(544, h);
  }
});