var subimages = new Array(
	'<img src="/high_school/image/photo/b001.jpg" style="width: 180px;height: 180px;">',
	'<img src="/high_school/image/photo/b002.jpg" style="width: 180px;height: 180px;">',
	'<img src="/high_school/image/photo/b003.jpg" style="width: 180px;height: 180px;">',
	'<img src="/high_school/image/photo/b004.jpg" style="width: 180px;height: 180px;">',
	'<img src="/high_school/image/photo/b005.jpg" style="width: 180px;height: 180px;">');

//バナーの数を調べます。
var figure = subimages.length;

for (i=0; i<100; i++) //　100はシャッフルする回数
{
	n1 = Math.floor(Math.random() * figure);
	n2 = Math.floor(Math.random() * figure);
	n = subimages[n1];
	subimages[n1] = subimages[n2];
	subimages[n2] = n;
}

function putsubimage(cnt){
	document.write(subimages[cnt]);
}

//-->

