/*-------------------------
filename:funciton.js
author:makoto kimura

update:20110417

-------------------------*/

//スムーススクロール
jQuery(function($){
	
  $('a[href*=#]').click(function() {
    var $target=$(this.hash);
    var targetY=$target.offset().top;
    $($.browser.opera ? document.compatMode == 'BackCompat' ? 'body' : 'html' :'html,body').animate({scrollTop: targetY},500);return false;
  });

$('#spot li:last').css('margin','0px');

$('.images a img').hover(function(){
	$(this).fadeTo('normal',0.70);
},
function(){
	$(this).fadeTo('normal',1.0);
});

//table色分け

$("table.topicsAll tr:nth-child(odd)").addClass("odd");


$('.gn_head').hover(function(){
$('.gn_body',this).stop(true,true).slideToggle('fast');
});

});
