$(document).ready(function(){
$("p.pix a img , #gNav a span , a img , .cntIn dt a img").fadeTo(0,1.0);
$("p.pix a img , #gNav a span , a img , .cntIn dt a img").hover(function(){
        $(this).fadeTo(300,0.8);
    },
    function(){
        $(this).fadeTo(500,1.0);
    });
//});


//$(document).ready(function(){
$(".goTop a img , a img.ov , .inBox ul li a").fadeTo(0,1.0);
$(".goTop a img , a img.ov , .inBox ul li a").hover(function(){
        $(this).fadeTo(300,0.7);
    },
    function(){
        $(this).fadeTo(300,1.0);
    });


//ロールオーバー
var postfix = '_on';
    $('a img.ov').not('[src*="'+ postfix +'."]').each(function() {
        var img = $(this);
        var src = img.attr('src');
        var src_on = src.substr(0, src.lastIndexOf('.'))
                   + postfix
                   + src.substring(src.lastIndexOf('.'));
        $('<img>').attr('src', src_on);

        img.hover(
            function() {
                img.attr('src', src_on);
            },
            function() {
                img.attr('src', src);
            }
        );
    });



});





