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

// to link
jmp[0] = "/cashing/redirect/index.php?id=atloan";
jmp[1] = "/cashing/redirect/index.php?id=eloan";
jmp[2] = "/cashing/redirect/index.php?id=o-select";
jmp[3] = "/cashing/redirect/index.php?id=noloan";
jmp[4] = "/cashing/redirect/index.php?id=promise";
jmp[5] = "/cashing/redirect/index.php?id=acom";
jmp[6] = "/cashing/redirect/index.php?id=pocketbank";
//jmp[7] = "";
//jmp[8] = "";
//jmp[9] = "";
//jmp[10] = "";

//jmp[11] = "/cashing/redirect/index.php?id=surugabank";
//jmp[12] = "/cashing/redirect/index.php?id=mobit";

// img address
img[0] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=876256740";
img[1] = "http://www.accesstrade.net/at/r.html?rk=01001le20030yw";
img[2] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=876275689";
img[3] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=876542245";
img[4] = "http://srv2.trafficgate.net/t/b/2/290/160750_175286/";
img[5] = "http://www.accesstrade.net/at/r.html?rk=010049we0030yw";
img[6] = "http://www.accesstrade.net/at/r.html?rk=01003xkq0030yw";
//img[7] = "";
//img[8] = "";
//img[9] = "";
//img[10] = "";

//img[11] = "http://www.surugabank.co.jp/affiliate/base/anshin392_72.gif";
//img[12] = "http://www.mobit.ne.jp/LINK/468_60_70216S4.gif";

// impression
/*imp[0] = "";
imp[1] = "";
imp[2] = "";
imp[3] = "";
imp[4] = "";
imp[5] = "";*/

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