/* -------------------------------------------------------
  Shop Script
  Last Update 2009-03-02
  
  01 image highlight
------------------------------------------------------- */


/* 01 image highlight
------------------------------------------------------- */
$(document).ready(function() {
    $("#thumb img").fadeTo(1,0.5)
    .hover( 
        function(){// マウスオーバー時
            $(this).fadeTo(200, 1.0);
        },
        function(){// マウスアウト時
            $(this).fadeTo(500, 0.5);
        }
    );
});


/* 02 image change
------------------------------------------------------- */
$(document).ready( function() {
    $("#thumb img").click( function() {
        var changeSrc = this.src;
        $("#target").attr("src", changeSrc);
    });
});