// random
jmp = new Array();
img = new Array();
imp = new Array();

// to link
jmp[0] = "/onlinedvd/redirect/index.php?id=tsutayadiscas";
jmp[1] = "/onlinedvd/redirect/index.php?id=posren";
jmp[2] = "/onlinedvd/redirect/index.php?id=dmm";
jmp[3] = "/onlinedvd/redirect/index.php?id=rakuten";
//jmp[4] = "/onlinedvd/redirect/index.php?id=astalavista";

// img address
//img[0] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=876096663";
img[0] = "http://www.accesstrade.net/at/r.html?rk=010018rr0030yw";
img[1] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=876100852";
//img[2] = "http://www.accesstrade.net/at/r.html?rk=01000o4d0030yw";
img[2] = "http://www.accesstrade.net/at/r.html?rk=01002oo90030yw";
//img[3] = "http://hbb.afl.rakuten.co.jp/hsb/06555ceb.912b072e.06555ced.9b11956d/";
img[3] = "http://srv2.trafficgate.net/t/b/10/2961/160750_175286/";
//img[4] = "http://srv2.trafficgate.net/t/b/7/2671/160750_175286/";

// impression
/*imp[0] = "http://track.affiliate-b.com/lead/f570O/a10366H/r5955Q";
imp[1] = "http://track.affiliate-b.com/lead/y590B/a10366H/e7260m";*/
//imp[2] = "http://track.affiliate-b.com/lead/P60q/a10366H/98296";

n = Math.floor(Math.random()*jmp.length);
document.write("<a href='"+jmp[n]+"' target='_blank'>");
document.write("<img src='"+img[n]+"' width='468' height='60' alt='' />");
document.write("</a>");
//document.write("<img src='"+imp[n]+"' width='1' height='1' alt='' />");