//入力箇所
lst = new Array();
lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN01&evicd=11591&evtcd=6618&imgcd=9492&redirect=http://www.beautychannel.jp/special/hospital01/01.html","shinagawa","品川美容外科特集","特集－品川美容外科"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN02&evicd=11592&evtcd=6618&imgcd=9493&redirect=http://www.beautychannel.jp/special/hospital02/01.html","lococo","ロココ美容外科特集","特集－ロココ美容外科"));
lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN03&evicd=11593&evtcd=6618&imgcd=9494&redirect=http://www.beautychannel.jp/special/hospital03/01.html","ritz","リッツ美容外科特集","特集－リッツ美容外科"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN04&evicd=11594&evtcd=6618&imgcd=9495&redirect=http://www.beautychannel.jp/special/hospital04/01.html","ikeda","池田ゆう子クリニック特集","特集－池田ゆう子クリニック"));
lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN11&evicd=27659&evtcd=6618&imgcd=22785&redirect=http://www.beautychannel.jp/special/hospital12/01.html","verite","ヴェリテクリニック特集","特集－ヴェリテクリニック"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN06&evicd=11596&evtcd=6618&imgcd=9497&redirect=http://www.beautychannel.jp/special/hospital07/01.html","chuo","中央クリニック特集","特集－中央クリニック"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN07&evicd=11598&evtcd=6618&imgcd=9498&redirect=http://www.beautychannel.jp/special/hospital08/01.html","shonan","湘南美容外科クリニック特集","特集－湘南美容外科クリニック"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN08&evicd=11599&evtcd=6618&imgcd=9500&redirect=http://www.beautychannel.jp/special/hospital09/01.html","ill","アイルクリニック特集","特集－アイルクリニック"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN09&evicd=11600&evtcd=6618&imgcd=9501&redirect=http://www.beautychannel.jp/special/hospital10/01.html","komuro","コムロ美容外科・歯科特集","特集－コムロ美容外科・歯科"));
//lst.push(new Array("http://ad.adplan-ds.com/click.ems/site=gmom01beauty&pid=biyouseikeiBN10&evicd=12679&evtcd=6618&imgcd=10450&redirect=http://www.beautychannel.jp/special/hospital11/01.html","kyoritsu","共立美容外科・歯科特集","特集－共立美容外科・歯科"));
lst.push(new Array("http://www.beautychannel.jp/special/hospital13/01.html","takasu","高須クリニック特集","特集－高須クリニック"));
//lst.push(new Array("http://www.beautychannel.jp/special/hospital14/01.html","isea","東京イセアクリニック特集","特集－東京イセアクリニック"));

//タグ書き出し
n = new Array();
i = 0;
while(i < lst.length){
	n[i] = i;
	i = i + 1;
}

i = 0;
while(i < n.length){
	ni = n[i];
	rn = Math.floor(Math.random()*n.length);
	n[i] = n[rn];
	n[rn] = ni;
	i = i + 1;
}

document.write('<ul class="clearfix">\n');
i = 0;
while(i < n.length){
	if(!lst[n[i]][3]){
		lst[n[i]][3] = lst[n[i]][2];
	}
	document.write('<li class="'+lst[n[i]][1]+'"><a href="'+lst[n[i]][0]+'">');
	document.write('<img src="/ad/pickup_'+lst[n[i]][1]+'.gif" width="280" height="95" border="0"');
	document.write('alt="'+lst[n[i]][2]+'" title="'+lst[n[i]][3]+'" /></a></li>'+"\n");
	i = i + 1;
}
document.write("</ul>\n");
