$(document).ready(function(){
  $(".content table.striped").attr("cellspacing", "0");
  $(".content table.striped tr:not(:has(th,h1,h2,h3,h4)):even").addClass("striperow");
  $(".contentbody table[style*='width']").each(function() {if ($(this).css("width").match(/px/)) $(this).css("width", "100%")});
  $(".contentbody table[width]").removeAttr("width");
  $(".album-list img").load(function() {
    $(this).css("background-image", "none");
  });
  $("#albumSelection select").change(function(){
    var opt = $(this).find("option:selected");
    if (opt!=null && opt.val()!="0") window.location = opt.val();
  });
  if ($.browser.msie && parseInt($.browser.version)<=7) {
    $("div.leftnav").css("float", "none");
  }
});

