var Img = new Array();
var Link = new Array();
var Txt = new Array();
Link[0] = 'jumpcgi/jump.cgi?https://www.rabj.org/';
Img[0] = 'rabj.gif';
Txt[0] = '';
Link[1] = 'jumpcgi/jump.cgi?http://www.autobacs-hamasen.jp/service/oil.html';
Img[1] = 'autobacs-hamasen.gif';
Txt[1] = '';
Link[2] = 'jumpcgi/jump.cgi?http://www.tsuruya-dept.co.jp/';
Img[2] = 'tsuruya2008.gif';
Txt[2] = '';
Link[3] = 'jumpcgi/jump.cgi?http://www.kumanan-pcnet.co.jp/';
Img[3] = 'kumanan-pcnet.gif';
Txt[3] = '';
Link[4] = 'jumpcgi/jump.cgi?http://www.kumagaku.ac.jp/';
Img[4] = 'kumagaku.gif';
Txt[4] = '';
Link[5] = 'jumpcgi/jump.cgi?http://www.japanet.co.jp/jfn/';
Img[5] = 'japanet.gif';
Txt[5] = '';
Link[6] = 'jumpcgi/jump.cgi?http://applebee.jp/';
Img[6] = 'apple-bee.gif';
Txt[6] = '';
Link[7] = 'jumpcgi/jump.cgi?http://www.ntt-west.co.jp/kumamoto/';
Img[7] = 'ntt-west.gif';
Txt[7] = '';
//Link[8] = 'jumpcgi/jump.cgi?http://r.ca-mpr.jp/s/122/?i4a=106058';
//Img[8] = 'kumon2.jpg';
//Txt[8] = '';

var current_path = 'images/ja';

for(i = 0; i<8; i++) {
	var num = Math.floor(Math.random()*8);
	Stock_L = Link[i];
	Stock_I = Img[i];
	Stock_T = Txt[i];
	Link[i] = Link[num];
	Img[i] = Img[num];
	Txt[i] = Txt[num];
	Link[num] = Stock_L;
	Img[num] = Stock_I;
	Txt[num] = Stock_T;
}


function Rnd_Banner() {
	document.write('<table><tr>\n');
	for(i=0; i<5; i++){
		document.write('<td>\n');
		document.write('<a href="' + Link[i] + '" target="_blank">');
		document.write ('<img src="' + current_path + '/' + Img[i] + '" border="0">');
		document.write('</a><br>\n');
		document.write(Txt[i]);
		document.write('</td>\n');
	}
	document.write('</tr></table>');
}

