//ロールオーバー効果＋記事内左右寄せ画像class追加
$(function() { 
  $("img.rollover") 
    .each(function() { 
      var baseImage = $(this).attr("src"); 
      var ext = baseImage.substring(baseImage.lastIndexOf('.'), baseImage.length); 
      var overImage = baseImage.replace(ext, '_o' + ext); 
      new Image().src = overImage; 
      $(this).attr({basesrc: baseImage, oversrc: overImage}); 
    }) 
    .hover(function() { 
        $(this).attr({src: $(this).attr("oversrc")}); 
      }, 
      function() { 
        $(this).attr({src: $(this).attr("basesrc")}); 
    } 
  ); 
  $("#entrydetail img[align='left']").addClass("photol");
  $("#entrydetail img[align='right']").addClass("photor");

});

