google_ad_output = 'js';
google_max_num_ads = '5';
google_ad_type = 'text_image';
google_image_size = '728x90';
google_feedback = 'on';
google_alternate_ad_url = 'http://www.e-kodate.com/ad/alternative_google_728_90_kodate.html';


function google_ad_request_done(google_ads) {
var s = '';
var i;
if (google_ads.length == 0) {
return;
}
if (google_ads[0].type == "flash") {
   s += '<span  style="font-size:12px;"><a href=\"' + 
google_info.feedback_url + '\">Ads by Google</a>　<a href="http://www.e-mansion.co.jp/adsense_placement.html" target="_blank">e戸建てにgoogle広告を掲載</a></span><br>' + 
'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' +
' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="728" HEIGHT="90"> <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="728" HEIGHT="90" TYPE="application/x-shockwave-flash"' + 
' AllowScriptAccess="never" ' + 
' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';
} else if (google_ads[0].type == "image") {
   s += '<span  style="font-size:12px;"><a href=\"' + 
google_info.feedback_url + '\">Ads by Google</a>　<a href="http://www.e-mansion.co.jp/adsense_placement.html" target="_blank">e戸建てにgoogle広告を掲載</a></span><br> <a href="' + 
google_ads[0].url + '" target="_top" title="go to ' + 
google_ads[0].visible_url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\';return true"><img border="0" src="' + 
google_ads[0].image_url + '"width="728"height="79"></a>';
} else {
if (google_ads.length == 1) {
s += '<table width=980 height=90 cellspacing=0 cellpadding=0><tr><td height=18px valign=top style=font-size:12px;><a href=\"' + 
google_info.feedback_url + '\">Ads by Google</a>　<a href="http://www.e-mansion.co.jp/adsense_placement.html" target="_blank">e戸建てにgoogle広告を掲載</a></td></tr><tr><td align=center><a style="text-decoration:none" href="' + 
google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\';return true"><span style="font-size:20pt;"><b>' + 
google_ads[0].line1 + '</b></span></a><br><span style="color:#663300;font-size:13pt;">' +
google_ads[0].line2 + '&nbsp;' +
google_ads[0].line3 + '</span><br><span><a style="color:#CC6633;font-size:13px;text-decoration:none;" href="' + 
google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[0].visible_url + '\';return true">' + 
google_ads[0].visible_url + '</span></a></td></tr></table>';
} else if (google_ads.length > 1) {
s += '<table width=980 height=90 cellspacing=0 cellpadding=0 style=font-size:12px;><tr><td colspan=10 height=18px valign=top><a href=\"' + 
google_info.feedback_url + '\">Ads by Google</a>　<a href="http://www.e-mansion.co.jp/adsense_placement.html" target="_blank">e戸建てにgoogle広告を掲載</a></td></tr><tr>' 
for(i = 0; i < google_ads.length; ++i) {
s += '<td width=186 valign=top><a style="font-size:13px;" href="' + 
google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\';return true"> <span> <b>' + 
google_ads[i].line1 + '</b></span></a><br><span style="color:#663300;">' +
google_ads[i].line2 + '&nbsp;' +
google_ads[i].line3 + '</span><br><span><a style="color:#CC6633;text-decoration:none;" href="' + 
google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\';return true">' + 
google_ads[i].visible_url + '</span></a></td><td width=10></td>';
}
s += '</tr></table>';
}
    }
    document.write(s);
    return;aq
  }
