//rollover
$(function(){
	$("img.button-roll").mouseover(function(){
		$(this).attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1-over$2"));
	}).mouseout(function(){
		$(this).attr("src",$(this).attr("src").replace(/^(.+)-over(\.[a-z]+)$/, "$1$2"));
	}).mousedown(function(){
		$(this).attr("src",$(this).attr("src").replace(/^(.+)-over(\.[a-z]+)$/, "$1$2"));
	}).each(function(){
		$("<img>").attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1-over$2"));
	})
})

//copyright
$(function(){
	$("p.copy").html("<img src='images/copy.jpg' alt='Copyright (c) 2010 FUJISHINKOU CO.,LTD. All Rights Reserved.' />");
})

//to pagetop
/*$(function(){
    $("a.arrow-top").click(function(){
		$(this).blur();
		$('html,body').animate({ scrollTop: 0 }, 'slow');
		return false;
	})
})*/

//stripe table
/*
$(function(){
	$("tr:nth-child(odd)").addClass("odd");
})
*/
