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

ranurl = new Array();
ranurl[0] = "ntt.php";
ranurl[1] = "ybb.php";
ranurl[2] = "country.php";
ranurl[3] = "hikkosi.php";
ranurl[4] = "onet.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>');