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

// to link
jmp[0] = "/fx/redirect/index.php?id=fxonline";
jmp[1] = "/fx/redirect/index.php?id=moneypartners";
jmp[2] = "/fx/redirect/index.php?id=central";
jmp[3] = "/fx/redirect/index.php?id=mjnet";
jmp[4] = "/fx/redirect/index.php?id=fxhimawari";
jmp[5] = "/fx/redirect/index.php?id=tokyoforex";
jmp[6] = "/fx/redirect/index.php?id=traderssec";
jmp[7] = "/fx/redirect/index.php?id=dmm-fx2";
jmp[8] = "/fx/redirect/index.php?id=fxpromo";

// img address
img[0] = "http://www.accesstrade.net/at/r.html?rk=01001ov60030yw";
img[1] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=875946142";
img[2] = "http://www.accesstrade.net/at/r.html?rk=01000sgw0030yw";
img[3] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=875973364";
img[4] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=876426558";
img[5] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=875950368";
img[6] = "http://www.accesstrade.net/at/r.html?rk=01004md00030yw";
img[7] = "http://www.accesstrade.net/at/r.html?rk=01004iwa0030yw";
img[8] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2403866&pid=875942203";

// 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='' />");