$(function() {
  $("div.pics li").hover(function(){
    var el = $(this);
    el.addClass("on");
  },
  function(){
    var el = $(this);
    el.removeClass("on");
  });
});
