$(document).ready(function(){
	// メニュー田中貴金属
	//$("div#eyecatch div.menu ul li:last").css("margin-top","10px");
	
	// フッターテキストリンク
	$("div#footer div.link ul.text li:not(:last)").append(" | ");

	// 別窓
	$("div.shop p.text a").attr("target","_blank");
	$("ul.banner li a").attr("target","_blank");
	$("div.menu p a").attr("target","_blank");
	
	// スライドショー
	slideshow();
});

// スライドショー
function slideshow(){
	var slideTime = 5;
	
	$("div#slideshow").crossSlide(
	{
		fade: 3
	},
	[
		{src: './images/index/slideshow/a.jpg', from: '0% 0% 1x',to: '0% 0% 1x',time: slideTime},
		{src: './images/index/slideshow/b.jpg', from: '0% 0% 1x',to: '0% 0% 1x',time: slideTime},
		{src: './images/index/slideshow/c.jpg', from: '0% 0% 1x',to: '0% 0% 1x',time: slideTime},
		{src: './images/index/slideshow/d.jpg', from: '0% 0% 1x',to: '0% 0% 1x',time: slideTime},
		{src: './images/index/slideshow/e.jpg', from: '0% 0% 1x',to: '0% 0% 1x',time: slideTime}
	]
	);
}
