$(document).ready(function() {
          $(".roll").each(function() {
             rollsrc = $(this).attr("src");
              rollON = rollsrc.replace(/.jpg$/ig, "_over.jpg");
              $("<img>").attr("src", rollON);
          });

 
    $(".roll").mouseover(function() {
         imgsrc = $(this).attr("src");
         matches = imgsrc.match(/_over/);
         if (!matches) {
           imgsrcON = imgsrc.replace(/.jpg$/ig, "_over.jpg"); 
           $(this).attr("src", imgsrcON);
              }
          });
          $(".roll").mouseout(function() {
              $(this).attr("src", imgsrc);

          });
      });
