function google_ad_request_done(google_ads) {
    var s = '<br clear=all>';
    var i;

    /*
     * Verify that there are actually ads to display.
     */
    if (google_ads.length == 0) {
      return;
    }



   if (google_ads[0].type="text") {
        s += '<div style="height:10px; font:0; border-top:1px solid #E4E4E4;"></div><div style="width:522px;" align="center"><table width=500 border=0><tr><td align=center><table width=500 border=0 cellpadding=2 cellspacing=0 border=0><td bgcolor="#F5F5F5">';
		s += '<a href="http://www.google.co.kr/ads" target=_blank><font color="#FF8000"><b>Sponsor Link</b></font></a></td></tr><tr><td height=15></td></tr><tr><td style="font-size:9pt;">';
        if (google_ads.length == 1) {
            /*
             * Partners should adjust text sizes
             * so ads occupy the majority of ad space.
             */
            s += '<a href="' + google_ads[0].url + '" target=_blank><font color="#400000"><b>' +
                            google_ads[0].line1 + '</b></font></a>&nbsp;' +
                            '<a href="' + google_ads[0].url + '" target=_blank><font color="#804000">' + google_ads[0].visible_url + '</font></a><br>' + ' ' + 
                            '<a href="' + google_ads[0].url + '" target=_blank>' + '<font color="#6E6E6E">' + google_ads[0].line2 + 
                            google_ads[0].line3 + '</a><br>';
        } else if (google_ads.length > 1) {
            /*
             * For text ads, append each ad to the string.
             */
            for(i=0; i < google_ads.length; ++i) {
               s += '<p><a href="' + google_ads[i].url + '" target=_blank><font color="#400000"><b>' +
                            google_ads[i].line1 + '</b></font></a>&nbsp;' +
                            '<a href="' + google_ads[i].url + '" target=_blank><font color="#804000">' + google_ads[i].visible_url + '</font></a><br>' + ' ' + 
                            '<a href="' + google_ads[0].url + '" target=_blank>' + '<font color="#6E6E6E">' + google_ads[i].line2 + 
                            google_ads[i].line3 + '</a>';
            }
        }
		s += '</td></tr></table></td></tr></table></div>';
    }
    //document.write(s);
    return;
  }
  
google_ad_client = 'ca-yonhap-english_js'; // substitute your client_id
google_ad_output = 'js';
google_max_num_ads = '4';
google_ad_type = 'text';
google_language = 'en';
google_encoding = 'iso-88591';
google_safe = '';
google_adtest = 'off';
google_hints = '';
google_contents = '';
google_ad_section = 'default';


