var news = new Array();




news[0] = "<a href='http://kashin.co.jp/information/important/post_70.html' title='インターネットバンキングをご利用のお客様へ'>インターネットバンキングをご利用のお客様へ</a>";

news[1] = "<a href='http://kashin.co.jp/information/cat103/post_67.html' title='キャッシュカード利用限度額引下げのお知らせ'>キャッシュカード利用限度額引下げのお知らせ</a>";

news[2] = "<a href='http://kashin.co.jp/information/cat103/post_63.html' title='金融円滑化への取組みについて'>金融円滑化への取組みについて</a>";

news[3] = "<a href='http://kashin.co.jp/information/important/post_41.html' title='金融ＡＤＲ制度への対応について'>金融ＡＤＲ制度への対応について</a>";

news[4] = "<a href='http://kashin.co.jp/information/cat103/post_39.html' title='掲示「受取書」の発行に関するお知らせ'>掲示「受取書」の発行に関するお知らせ</a>";



var rand = Math.floor( Math.random() * news.length );

ii = rand;

// news
$(function(){
	if( news.length>0 ){
		chg_news();
	}
});

function chg_news(){
	$("#news_txt").html(news[ii]);

	if( ii==(news.length-1) ){
		ii=0;
	}else{
		ii++;
	}

	setTimeout(function(){
	},600);

	$('#news_txt').animate({ width:'500px' },500,function(){
		setTimeout(function(){
			$("#news_txt:visible").fadeOut(1000,chg_news),
			$("#news_txt").width(500);
		},2500);
	});
}
if( news.length>0 ){
	document.write('<p class="pickup"><span id="news_txt"></span></li>');
}

