$(function(){ // shorthand for $(document).ready() BTW
  $("img.advshowimg1").hover(
    function() {
      $(this).animate({width:"207px"}, {queue:false, duration:300}).animate({height:"276px"}, 300);
    },
    function() {
      $(this).animate({width:"155px"}, {queue:false, duration:100}).animate({height:"207px"}, 100);
    }          
  );
  $("img.advshowimg2").hover(
    function() {
      $(this).animate({width:"207px"}, {queue:false, duration:300}).animate({height:"156px"}, 300);
    },
    function() {
      $(this).animate({width:"155px"}, {queue:false, duration:100}).animate({height:"117px"}, 100);
    }          
  );
  $("span.advshowname").click(
    function() {
      $(this).parent().find("div.advimgs").toggle();
    }        
  );
  $("span.advshowname").hover(
    function() {
      $(this).css("text-decoration", "none");
    },
    function() {
      $(this).css("text-decoration", "underline");
    }          
  );
  $("img.filethumb1, img.filethumb2, img.filethumb3, img.filethumb4").hover(
    function() {
      var className = $(this).attr("class");
      $(this).animate({width:"46px"}, {queue:false, duration:300}).animate({height:"50px"}, 200);
      $(this).parent().parent().parent().parent().parent().parent().find("span."+className).show();
    },
    function() {
      $(this).animate({width:"37px"}, {queue:false, duration:100}).animate({height:"40px"}, 100);
      $(this).parent().parent().parent().parent().parent().parent().find("span.filethumbnone").show();
      $(this).parent().parent().parent().parent().parent().parent().find("span.filethumb1").hide();
      $(this).parent().parent().parent().parent().parent().parent().find("span.filethumb2").hide();
      $(this).parent().parent().parent().parent().parent().parent().find("span.filethumb3").hide();
      $(this).parent().parent().parent().parent().parent().parent().find("span.filethumb4").hide();
    }          
  );
});
