function Disp_logo(){
	var mado;
	for(i=0;i<=num;i++){	
		if(target[i]=="blank"){mado=' target="blank_"';}
		else{mado='';}
		if(link[i] && logo[i]){	
			content = '<a href="'+link[i]+'"'+mado+'><img src="'+logo[i]+'" width='+img_width+' border="0" alt="'+alt[i]+'"><\/a>';//---リンク有り	
			document.write(content);	
			document.write('<img src="img/spacer.gif" alt="□" width="191" height="3"><br>\n');
		}else if(!link[i] && logo[i]){		
			content = '<img src="'+logo[i]+'" width='+img_width+' alt="'+alt[i]+'">';//画像のみ？	
			document.write(content);
			document.write('<img src="img/spacer.gif" alt="□" width="191" height="3"><br>\n');	
		}else if(link[i] && !logo[i]){
			document.write('<table width="198" height="28" border="0" cellpadding="0" cellspacing="0">\n');
			document.write('<tr>\n');
			document.write('<td height="28" rowspan="3" valign="top">\n');
			document.write('<img name="button_left" src="img/button_left.gif" width="26" height="28" border="0" id="button_left" alt="矢印"></td>\n');
			document.write('<td valign="top"><img name="button_top" src="img/button_top.gif" width="157" height="2" border="0" id="button_top" alt=""></td>\n');
			document.write('<td height="28" rowspan="3" valign="top">\n');
			document.write('<img name="button_right" src="img/button_right.gif" width="15" height="28" border="0" id="button_right" alt=""></td>\n');
			document.write('</tr>\n');
			document.write('<tr>\n');
			document.write('<td width="157" height="24" align="left" background="img/button_bac.gif"><div align="left"><span class="style1">\n');
			content = '<a href="'+link[i]+'"'+mado+'><font color="#666666">'+alt[i]+'</font><\/a>';//---画像なし
			document.write(content);
			document.write('</span></font></div></td>\n');
			document.write('</tr> \n');  
			document.write('<tr>\n');
			document.write('<td height="2" valign="top">\n');
			document.write('<img name="button_under" src="img/button_under.gif" width="156" height="2" border="0" id="button_under" alt=""></td>\n');
			document.write('</tr>\n');
			document.write('</table>\n');
			document.write('<img src="img/spacer.gif" alt="□" width="191" height="3"><br>\n');
		}else{
			document.write('<table width="198" height="28" border="0" cellpadding="0" cellspacing="0">\n');
			document.write('<tr>\n');
			document.write('<td height="28" rowspan="3" valign="top">\n');
			document.write('<img name="button_left" src="img/button_left.gif" width="26" height="28" border="0" id="button_left" alt="矢印"></td>\n');
			document.write('<td valign="top"><img name="button_top" src="img/button_top.gif" width="157" height="2" border="0" id="button_top" alt=""></td>\n');
			document.write('<td height="28" rowspan="3" valign="top">\n');
			document.write('<img name="button_right" src="img/button_right.gif" width="15" height="28" border="0" id="button_right" alt=""></td>\n');
			document.write('</tr>\n');
			document.write('<tr>\n');
			document.write('<td width="157" height="24" align="left" background="img/button_bac.gif"><div align="left"><span class="style1">\n');
			content = alt[i];//---画像なしリンクなし
			document.write(content);
			document.write('</span></font></div></td>\n');
			document.write('</tr> \n');  
			document.write('<tr>\n');
			document.write('<td height="2" valign="top">\n');
			document.write('<img name="button_under" src="img/button_under.gif" width="156" height="2" border="0" id="button_under" alt=""></td>\n');
			document.write('</tr>\n');
			document.write('</table>\n');
			document.write('<img src="img/spacer.gif" alt="□" width="191" height="3"><br>\n');
		}
		
		if(comment[i]){
			document.write('<div class="comment">'+comment[i]+'<\/div>');
		}	
	}
}

