// ランダムに画像を表示する
jmp = new Array();
img = new Array();
// ジャンプ先のアドレス(数字は画像と対応)
jmp[0] = "http://www.obihiromap.com/banner/banner01.html";
jmp[1] = "http://www.obihiromap.com/banner/banner02.html";
jmp[2] = "http://www.obihiromap.com/banner/banner03.html";
jmp[3] = "http://www.obihiromap.com/banner/banner04.html";
jmp[4] = "http://www.obihiromap.com/banner/banner05.html";
jmp[5] = "http://www.obihiromap.com/banner/banner06.html";
// 画像のアドレス(数字はジャンプ先のアドレスと対応)
img[0] = "http://www.obihiromap.com/banner/hd_banner01.gif";
img[1] = "http://www.obihiromap.com/banner/hd_banner02.gif";
img[2] = "http://www.obihiromap.com/banner/hd_banner03.gif";
img[3] = "http://www.obihiromap.com/banner/hd_banner04.gif";
img[4] = "http://www.obihiromap.com/banner/hd_banner05.gif";
img[5] = "http://www.obihiromap.com/banner/hd_banner06.gif";
n1 = Math.floor(Math.random()*jmp.length);
document.write("<ul>");
document.write("<li><A href='"+jmp[n1]+"'>");
document.write("<IMG src='"+img[n1]+"' width='222' border='0'>");
document.write("</A></td>");
do{ n2 = Math.floor( Math.random() * jmp.length ); }while( n1==n2 );
document.write("<li><A href='"+jmp[n2]+"'>");
document.write("<IMG src='"+img[n2]+"' width='222' border='0'>");
document.write("</A></td>");
do { n3 = Math.floor( Math.random() * jmp.length ); }while( n1==n3 || n2==n3 );
document.write("<li><A href='"+jmp[n3]+"'>");
document.write("<IMG src='"+img[n3]+"' width='222' border='0'>");
document.write("</A></li>");
document.write("</ul>");

