function google_ad_request_done(google_ads)
{
    var i;
    var odd = true;
    var s = '';
    var s_head = '';
    var s_bottom = '';
    var s_text_googleadslink_blue = '<a class="google_ad" href="' + google_info.feedback_url + '" target="_blank">Google-Anzeigen</a><br/>\n';

    var tr_style = '';

    s_head   += '<table width="100%" cellpadding="0" cellspacing="0" border="0">';
    s_bottom += '</table>\n';

    var s_googleadslinktag_blue = '<thead><tr style="background-color: #CEDEF7;"><td class="google_ads_header">' + s_text_googleadslink_blue + '</td></tr></thead>\n';

    google_ads_content_res_bottom = '';

    // 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.
        // swap (start with white) at first (google) ad --%>
        for(i = 0; i < google_ads.length; ++i)
        {
            tr_style = 'google_ads_text';
            if (odd) {
                s += '<tr style="background-color: #E5EFFF"><td class="' + tr_style + '">\n';
            } else {
                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>';
            odd = !odd;
        } // end for i
        if (s != '') {
            google_ads_content_res_bottom = s_head + s_googleadslinktag_blue + 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_bottom;
var google_ad_output;
    google_ad_output = 'js';
var google_max_num_ads;
    google_max_num_ads = adnumber_resultlist_bottom;
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_bottom;
var google_hints;
    google_hints = googleHints_resultlist_bottom;
