$(document).ready(function(){
/*
	$("#search-list article").each(
		function(){
			$(this).append('<img class="close" src="file/img/article_close_off.gif" alt="閉じる" />');
		}
	);
	$("#search-list article").hover(
		function(){
			$(this).children('.close').css('display','block');
		},
		function(){
			$(this).children('.close').css('display','none');
		}
	);
	$("#search-list article .close").hover(
		function(){
			this.src = this.src.replace('_off.','_on.');
		},
		function(){
			this.src = this.src.replace('_on.','_off.');
		}
	);
	$("#search-list article .close").click(
		function(){
			$(this).parent().slideUp('fast');
		}
	);
	$("#search-list .area, #search-list .division, #search-list .address").click(
		function(){

		}
	);
*/
	$("#index #main nav h2 img").hover(
		function(){
			this.src = this.src.replace('_off.','_on.');
		},
		function(){
			this.src = this.src.replace('_on.','_off.');
		}
	);



	$(".hovBtn").hover(
		function(){
			this.src = this.src.replace('-off.','-on.');
		},
		function(){
			this.src = this.src.replace('-on.','-off.');
		}
	);

	$("footer nav a img").hover(
		function(){
			this.src = this.src.replace('.gif','_o.gif');
		},
		function(){
			this.src = this.src.replace('_o.gif','.gif');
		}
	);

	$(".newWindow").click(
		function(){
			window.open(this.href); return false;
		}
	);

});

