<!--
function mainimage(){
  img = new Array();
  img[0] = "assets/images/sittop/sitetop_mainphoto.jpg";
  img[1] = "assets/images/sittop/sitetop_mainphoto.jpg";
  img[2] = "assets/images/sittop/sitetop_mainphoto_f2.jpg";
  img[3] = "assets/images/sittop/sitetop_mainphoto.jpg";
  img[4] = "assets/images/sittop/sitetop_mainphoto.jpg";

  n = Math.floor(Math.random()*img.length);
  document.write("<img src='"+img[n]+"' alt='' width='632' height='193'>");
}

// img-rollover.jsへ変更
// jQuery.fn.rollover = function(settings){
//  settings = jQuery.extend({
//    suffix: "_f2"  //画像ファイル名につける接尾語の初期設定値
//  }, settings);
//  return this.each(function(){
//    var default_img = $(this).attr("src");
//    if (!default_img.match((settings.suffix))) {
//      var point = default_img.lastIndexOf(".");
//      var mouseover_img = default_img.slice(0, point) + settings.suffix + default_img.slice(point);
//      var preload_img = new Image();
//      preload_img.src = mouseover_img;
//      $(this).hover(
//        function(){
//          $(this).attr("src", mouseover_img);
//        },
//        function(){
//          $(this).attr("src", default_img);
//        }
//      );
//    };
//  });
//};

//$(document).ready(function(){
//  $("#bannerArea img").rollover(); //接尾語は初期設定値のまま
//});


//->