// JavaScript Document

$(function(){
	$(".more img").toggle(function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/closed.gif", alt: "続きを閉じる" });
		$(this).parents().next(".toggle").toggle("normal");
	},
	function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/more-read2.gif", alt: "続きを読む" });
		$(this).parents().next(".toggle").toggle("normal");
	});
});

$(function(){
	$(".more01 img").toggle(function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/closed01.gif", alt: "続きを閉じる" });
		$(this).parents().next(".toggle01").toggle("normal");
	},
	function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/episode01.gif", alt: "続きを読む" });
		$(this).parents().next(".toggle01").toggle("normal");
	});
});

$(function(){
	$(".more02 img").toggle(function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/closed02.gif", alt: "続きを閉じる" });
		$(this).parents().next(".toggle02").toggle("normal");
	},
	function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/episode02.gif", alt: "続きを読む" });
		$(this).parents().next(".toggle02").toggle("normal");
	});
});

$(function(){
	$(".more03 img").toggle(function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/closed03.gif", alt: "続きを閉じる" });
		$(this).parents().next(".toggle03").toggle("normal");
	},
	function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/episode03.gif", alt: "続きを読む" });
		$(this).parents().next(".toggle03").toggle("normal");
	});
});

$(function(){
	$(".more04 img").toggle(function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/closed04.gif", alt: "続きを閉じる" });
		$(this).parents().next(".toggle04").toggle("normal");
	},
	function(){
		$(this).attr({ src: "http://www.datapot.jp/system/wp-content/themes/datapot/common/images/episode04.gif", alt: "続きを読む" });
		$(this).parents().next(".toggle04").toggle("normal");
	});
});



