
tgt = 'target="_blank"';  // リンクを開くターゲット（HTML書式）

//配列
img = new Array();

//配列は0から始まるため、最後の数字は、実際の数-1。max = 実際の数-1 = 配列の最後の数字
var max = 18;//画像枚数管理用の変数

//0から始まる数字は10進数と認識されない

//(00~10=11)
img[0] = "../common/image/107-0795_IMG_rev.gif";
img[1] = "../common/image/2_47color130_100.gif";
img[2] = "../common/image/107-0788_IMG_rev.gif";
img[3] = "../common/image/119_1939T130_100coror.gif";
img[4] = "../common/image/119_1960_130_100.gif";
img[5] = "../common/image/diving130_100.gif";
img[6] = "../common/image/PICT0157_rev.gif";
img[7] = "../common/image/uraomote130_100.gif";
img[8] = "../common/image/wat_110_1019_130_100.gif";
img[9] = "../common/image/wat_stoker_130_100.gif";
img[10] = "../common/image/103-0394face.gif";
img[11] = "../common/image/104-0426cut.gif";
img[12] = "../common/image/113-1301Twhite130_98.gif";
img[13] = "../common/image/112-1297Twhite130_98.gif";
img[14] = "../common/image/112-1295Twhite130_98.gif";
img[15] = "../common/image/112-1288_130_98.gif";
img[16] = "../common/image/uraomote130_100.gif";
img[17] = "../common/image/122_2230_122_100.gif";
img[18] = "../common/image/PICT0101_T_130_110.gif";



//pがmaxのときに、+1、+2、+3をするため、img[19]=img[0]、img[20]=img[1]、img[21]=img[2]を書く。if文でも良いが、・・・
img[19] = "../common/image/107-0795_IMG_rev.gif";
img[20] = "../common/image/2_47color130_100.gif";
img[21] = "../common/image/107-0788_IMG_rev.gif";
//
    p = Math.round(Math.random() * max);
    DOC = '<img src="' + img[p] + '" border="0">';
    DOC2 = '<img src="' + img[p+1] + '" border="0">';
    DOC3 = '<img src="' + img[p+2] + '" border="0">';
    DOC4 = '<img src="' + img[p+3] + '" border="0">';

