// JavaScript Document
// ランダムに画像を表示する
img = new Array();
img[0] = "img/ntt.gif";
img[1] = "img/ybb.jpg";
img[2] = "img/country.jpg";

ranurl = new Array();
ranurl[0] = "ntt.php";
ranurl[1] = "ybb.php";
ranurl[2] = "country.php";

//n = Math.floor(Math.random()*img.length);
//document.write("<img src='./note/"+img[n]+"' />");

xx = Math.floor(ranurl.length*Math.random());
document.write('<a href="./note/'+ ranurl[xx] +'" target="_blank"><img src="./note/'+ img[xx] +'"></a>');