// Alpha Rollover

$(document).ready(function() {
    $(".alphahover").fadeTo(1,1)
    .hover( 
        function(){// マウスオーバー時
            $(this).fadeTo(180, 0.6);
        },
        function(){// マウスアウト時
            $(this).fadeTo(400, 1);
        }
    );
});

// classをつけるとブランク表示
$(document).ready(function(){
　　$(".blank").click(function(){
　　　　window.open(this.href,'_blank');
　　　　　　return false;
　　　　});
});

// rolloverをつけるとブランク表示

jQuery(function($) {
	var postfix = '_on';
	$('#gnavi img,#menuNavi02 img').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);
		});
	});
});

// テーブルのストライプ
$(document).ready(function(){
  $(".table_stripe").each(function(){
    jQuery(this).find("tr:even").addClass("even");
  });
});

