// ランダムに画像を表示する
function headimage()
{
img = new Array();

img[0] = "./image/00.jpg";
img[1] = "./image/01.jpg";
img[2] = "./image/02.jpg";
img[3] = "./image/03.jpg";
img[4] = "./image/04.jpg";
img[5] = "./image/05.jpg";
img[6] = "./image/06.jpg";
img[7] = "./image/07.jpg";
img[8] = "./image/08.jpg";
img[9] = "./image/09.jpg";
img[10] = "./image/10.jpg";
img[11] = "./image/11.jpg";
img[12] = "./image/12.jpg";
img[13] = "./image/13.jpg";
img[14] = "./image/14.jpg";
img[15] = "./image/15.jpg";
img[16] = "./image/16.jpg";
img[17] = "./image/17.jpg";
img[18] = "./image/18.jpg";
img[19] = "./image/19.jpg";
img[20] = "./image/20.jpg";


n0=Math.floor(Math.random()*21);
n1=(n0+Math.floor(Math.random()*20)+1)%21;
n2=(n1+Math.floor(Math.random()*20)+1)%21;
n3=(n2+Math.floor(Math.random()*20)+1)%21;
n4=(n3+Math.floor(Math.random()*20)+1)%21;
n5=(n4+Math.floor(Math.random()*20)+1)%21;
n6=(n5+Math.floor(Math.random()*20)+1)%21;
n7=(n6+Math.floor(Math.random()*20)+1)%21;
n8=(n7+Math.floor(Math.random()*20)+1)%21;
n9=(n8+Math.floor(Math.random()*20)+1)%21;
n10=(n9+Math.floor(Math.random()*20)+1)%21;
n11=(n10+Math.floor(Math.random()*20)+1)%21;
n12=(n11+Math.floor(Math.random()*20)+1)%21;
n13=(n12+Math.floor(Math.random()*20)+1)%21;
n14=(n13+Math.floor(Math.random()*20)+1)%21;
n15=(n14+Math.floor(Math.random()*20)+1)%21;
n16=(n15+Math.floor(Math.random()*20)+1)%21;
n17=(n16+Math.floor(Math.random()*20)+1)%21;
n18=(n17+Math.floor(Math.random()*20)+1)%21;
n19=(n18+Math.floor(Math.random()*20)+1)%21;
n20=(n19+Math.floor(Math.random()*20)+1)%21;

document.write("<img src='"+img[n0]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n1]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n2]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n3]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n4]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n5]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n6]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n7]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n8]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n9]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n10]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n11]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n12]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n13]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n14]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n15]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n16]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n17]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n18]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n19]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");
document.write("<img src='"+img[n20]+"' border='0' width='600' height='400' alt='オーケストラと友に音楽祭'>");

}
