function google_ad_request_done(google_ads)
{
    var i;
    var s = '';
    var s_head = '';
    var s_bottom = '';
    var s_text_googleadslink_grey = '<a target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; font-size: 10px;" href="' + google_info.feedback_url + '">Google-Anzeigen</a>\n';

    var tr_style = '';

    s_head   += '<table width="100%" cellpadding="0" cellspacing="0" border="0">';
    s_bottom += '</table>\n';

    var s_googleadslinktag_grey = '<tr><td style="text-align:right;padding:6px 6px 0 0;">' + s_text_googleadslink_grey + '</td></tr>\n';

    google_ads_content_res_top = '';

    // Verify that there are actually ads to display.
    if (google_ads.length == 0) {return;}

    // build a string containing all of the ads and
    // then use a document.write() command to print that string.

    if (google_ads[0].type == "image") {
    } else {
        // For text ads, append each ad to the string.
        for(i = 0; i < google_ads.length; ++i)
        {
            tr_style = 'google_ads_text_fullwidth';
            s += '<tr><td class="' + tr_style + '">';
            s += '<div class="google_link_header">' +
                 '<a class="google_ad" target="_blank" onmouseover="javascript:window.status=\'' +
                 google_ads[i].url + '\';return true;" ' +
                 'onmouseout="javascript:window.status=\'\';return true;" ' +
                 'href="' + google_ads[i].url + '">' +
                 '<span style="text-decoration:underline; font-weight:bold; font-size:11px; line-height:14px;">' + google_ads[i].line1 + '</span></a></div>' +
                 '<div style="text-decoration:none;">' + google_ads[i].line2 +  google_ads[i].line3 + '</div>' +
                 '<div class="google_visibleurl"><a style="text-decoration:none" target="_blank" onmouseover="javascript:window.status=\'' +
                 google_ads[i].url + '\';return true;" ' +
                 'onmouseout="javascript:window.status=\'\';return true;" ' +
                 'href="' + google_ads[i].url + '">' +
                 '<span style="color:#7D7C7C; font-size:10px;">' + google_ads[i].visible_url + '</span></a></div>';
            s += '</td></tr>';
        } // end for i
        if (s != '') {
            google_ads_content_res_top = s_head + s_googleadslinktag_grey + s + s_bottom;
        }
        if (google_ads[0].bidtype == "CPC") {
            google_adnum = google_adnum + google_ads.length;
        }
    } // end google ads type
} // function

// parameters
var google_ad_client;
    google_ad_client = 'ca-scm-willhaben_js'; // substitute your client_id (pub-#)
var google_ad_channel;
    google_ad_channel = googleAdChannel_resultlist_top;
var google_ad_output;
    google_ad_output = 'js';
var google_max_num_ads;
    google_max_num_ads = adnumber_resultlist_top;
var google_ad_type;
    google_ad_type = 'text';
var google_feedback;
    google_feedback = 'on';
var google_language;
    google_language = 'de';
var google_skip;
    google_skip = google_adnum;
var google_adtest;
    google_adtest = googleAdTest_resultlist_top;
var google_hints;
    google_hints = googleHints_resultlist_top;
