$(document).ready(function(){
  function show() {

    if ($.browser.msie && jQuery.browser.version =="6.0") {
      $('img[@src$=.png]').ifixpng();
    }

    $('.roundedDiv').corner("5px bl tr br");
    $('.fullRoundedDiv').corner("5px");
    $('.top').corner("#041A36 5px");
    $('.page-content').corner("#162A44 5px");
    $('.agenda').corner("#162A44 5px");
    $('.footer').corner("#041A36 5px");
    $('.alertDiv').corner("5px");
    $(".content").show();

    $('.content').corner("#041A36 5px");
  }


  if ($.browser.msie && jQuery.browser.version !="6.0") {
        $.timer(50, function(timer){
          timer.stop();
          show();
        });
      } else {
        show();
      } 
  $('h1:first').addClass("caption");
  $('.caption').corner("5px tl tr");
  $('.roundedDiv').wrapInner("<div style='padding-left:8px;padding-right:8px;padding-top:10px;padding-bottom:10px'></div>")
  $('.agenda').wrapInner("<div style='padding-left:4px;padding-right:4px'></div>")
  $('.content').wrapInner("<div style='padding-bottom:8px;padding-left:8px;padding-right:8px'></div>")
  $("#{$menu}").addClass("current");
  
  if ($('.top').css("background-image") == "none") {
    $('.top').css("background-image", 'url("/images/top-bg.jpg")');
  }

});

           
