var $mapExpand = $("#map #expand");
var $map  = $("#map");
var $report = $("#report");
var $reportButton = $("#report-button");


Map = {
  init: function(){
    $mapExpand
      .click(Map.expand)
      .css("top", $map.offset().top + $map.height() - $mapExpand.height()-10)
  },
  
  expand: function(){
    $mapExpand.hide();
    $map.animate({height: 555});
  }
}

Report = {
  init: function(){
    if( jQuery.browser.mozilla != true ){
      $report.find("iframe").css({left:-17, top: -288})
      $report.css({height: 845})
    }
  }
}

Tabs = {
  init: function(){
    $("ul.tabs").tabs("div.panes > div");
  }
  
}

Page = {
  init: function(){
    Map.init();
    Tabs.init();
  }
}

Page.init();
