/* This is where the Flash "emulation" takes place. */

/* This code would be ideal, but the UI code isn't working.
  $(document).ready(function() {
    //Animate the active elements.
    $(".active_element").hover(
      function(){
		$(this).effect("scale", { percent: 120 }, 1000);
      },
      
      function() {
		$(this).effect("scale", { percent: 100 }, 1000);
      }
    );
  });*/


  /* This is the code being used: */
  $(document).ready(function(){
    $(".active_element").hover(
      function () {
        $(this).attr('src', $(this).attr('src').replace("sm", "lg"));//Switch to higher-res..
        $(this).animate({width: '200px', height: '262px'}, 250);//Make it bigger.
      }, 
      function () {
        $(this).attr('src', $(this).attr('src').replace("lg", "sm"));//Switch to lower-res..
        $(this).animate({width: '170px', height: '214px'}, 150);//Make it smaller.
      }
    );
  });

