<!--
		//広告バナー・ランダム並べ替え表示スクリプト

function dtirandamscript2(x) {


		//fは掲載する広告数
		f = 5;

		
		var Num = new Array(f - 1);
		var Chk = new Array(f - 1);
		var Mess = new Array(f - 1);

		
		//***ここに広告表示HTMLの配列作成
		Mess[0] = '<a href="http://click.dtiserv2.com/Click501/1006002-6-66660" target="_blank"><img src="http://affiliate.dtiserv.com/image/carib/camp/700x200.jpg" border=0></a> ';
		Mess[1] = '<a href="http://click.dtiserv2.com/Click/1290001-290-66660" target="_blank"><img src="http://affiliate.dtiserv.com/image/carib_ppv/290-700-02.jpg" border=0></a> ';
		Mess[2] = '<a href="http://click.dtiserv2.com/Click/1292001-292-66660" target="_blank"><img src="http://affiliate.dtiserv.com/image/10musume/292-700-01.jpg" border=0></a> ';
		Mess[3] = '<a href="http://click.dtiserv2.com/Click2/2262001-262-66660" target="_blank"><img src="http://affiliate.dtiserv.com/auto/h4610/auto.gif" border=0></a>  ';
		Mess[4] = '<a href="http://click.dtiserv2.com/Click/2286001-286-66660" target="_blank"><img src="http://affiliate.dtiserv.com/auto/h0930/auto.gif" border=0></a>  ';
	
	//***ランダムで０～ｆ－１の値を並べ替え
	for (i=0;i<f;i++) //
	{
		Num[i] = Math.floor(Math.random()*f);
		if (Chk[Num[i]]  == 1){
			while(Chk[Num[i]] == 1){
			Num[i] = Math.floor(Math.random()*f);
			}
			Chk[Num[i]] = 1;
		}
		else {
			Chk[Num[i]] = 1;
		}
	}
	
              //ＨＴＭＬ作成部分
              document.write('');
              for (i=0;i<x;i++) //
              {
              document.write(Mess[Num[i]]);
              }

              document.write('');

		}
     
//--> 

