// スタイルシート
document.write('<style type="text/css">');
document.write('ul.ul_newsList2 {margin: 0 0 0 25px !important;padding:0 !important;}');
document.write('ul.ul_newsList2 li {position:relative;line-height:150%;list-style-image:url("http://img.47news.jp/images/dsicon.gif");padding:0 !important;margin:0 0 3px;}');
document.write('</style>');

//document.write('<link rel="stylesheet" href="http://img.47news.jp/news/image_list.css" type="text/css" />') ;

// Googleアドセンス（新バージョン)
document.write('<div id="googleAdsense"></div>');
function google_ad_request_done(google_ads) {
	var s = '';
	var i;

	if (google_ads.length == 0) {
		return;
	}

	if (google_ads[0].type == "image") {
		s += '<a target="_blank" href="' + google_ads[0].url +
			'" target="_top" title="go to ' + google_ads[0].visible_url +
			'"><img border="0" src="' + google_ads[0].image_url +
			'"width="' + google_ads[0].image_width +
			'"height="' + google_ads[0].image_height + '"></a>';
	} else if (google_ads[0].type == "flash") {
		s += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' +
			' codebase="http://download.macromedia.com/pub/shockwave/abs/flash/swflash.cab#version=6,0,0,0"' +
			' WIDTH="' + google_ad.image_width +
			'" HEIGHT="' + google_ad.image_height + '">' +
			'<PARAM NAME="movie" VALUE="' + google_ad.image_url + '">' +
			'<PARAM NAME="quality" VALUE="high">' +
			'<PARAM NAME="AllowScriptAccess" VALUE="never">' +
			'<EMBED src="' + google_ad.image_url +
			'" WIDTH="' + google_ad.image_width +
			'" HEIGHT="' + google_ad.image_height +
			'" TYPE="application/x-shockwave-flash"' +
			' AllowScriptAccess="never" ' +
			' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';
	} else if (google_ads[0].type == "html") {
		s += google_ads[0].snippet;
	} else if (google_ads[0].type == "text") {
		s += '<div class="box_semi_title clearfix"><div style="float: left;"><strong><a target="_blank" href="' + google_info.feedback_url + '">Ads by Google</a></strong></div></div>';
		if (google_ads.length == 1) {
			s += '<a target="_blank" href="' + google_ads[0].url + '" ' +
				'onmouseout="window.status=\'\'" ' +
				'onmouseover="window.status=\'go to ' +
				google_ads[0].visible_url + '\';return true;" ' +
				'style="text-decoration:none">' +
				'<span style="text-decoration:underline;font-size:20pt">' +
				'<b>' + google_ads[0].line1 + '</b><br></span>' +
				'<span style="color:#000000;font-size:16pt">' +
				google_ads[0].line2 + ' ' +
				google_ads[0].line3 + '<br></span>' +
				'<span style="color:#008000;font-size:14pt">' +
				google_ads[0].visible_url + '</span></a><br>';
		} else if (google_ads.length > 1) {
			//s += '<div style="padding: 14px 0pt 0pt 0px; width: 644px;"><ul class="ul_newsList">' ;
			s += '<div style="padding: 0px 0pt 0pt 0px; width: 644px;"><ul class="ul_newsList2">' ;

			for (i = 0; i < google_ads.length; ++i) {
				s += '<li><a target="_blank" href="' + google_ads[i].url + '" ' +
					'onmouseout="window.status=\'\'" ' +
					'onmouseover="window.status=\'go to ' +
					google_ads[i].visible_url + '\';return true;" ' +
					'style="text-decoration:none">' +
					'<span style="text-decoration:underline">' +
					google_ads[i].line1 + '</span>&nbsp;' +
					'<span style="color:#008000">' +
					google_ads[i].visible_url + '</span><br>' +
					'<span style="color:#000000">' +
					google_ads[i].line2 + '&nbsp;' +
					google_ads[i].line3 + '</span></a></li>';
			}
				s += '</ul></div>' ;
		}
	}

	document.getElementById('googleAdsense').innerHTML = s;
	return;
}
google_ad_client = 'ca-kyodo_js';
google_ad_channel = '47topics';
google_ad_output = 'js';
google_max_num_ads = '5';
google_ad_type = 'text';
google_language = 'ja';
google_feedback = 'on';
google_image_size = '468x60';
google_encoding = 'utf-8';
google_safe = 'high';
//google_ad_test = 'on';
document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>');
//document.write('<br />');

