var $j = jQuery;
$j(function(){

// meganavi

var SelfLocation = window.location.href.split('?');
 switch (SelfLocation[1]) {
 case "justify_right":
 jQuery(".global_nav").megamenu({ 'justify':'right' });
 break;
 case "justify_left":
 default:
 jQuery(".global_nav").megamenu();
}

//table 選択

$(function() {
// 1行おきに色を付ける
  $(".stripe tr:nth-child(odd)").addClass("odd");
  $(".stripe tr:nth-child(even)").addClass("even");
// マウスが乗った行に色を付ける
  $("tr").mouseover(function() {
    $(this).addClass("over");
  }).mouseout(function() {
    $(this).removeClass("over");
  });
});

});

