function google_ad_request_done(google_ads) {

    var s = '';
    var i;

    if (google_ads.length == 0) {
      return;
    }

     s += '<h5 class=\"h2-header-10\" title=\"Google Anzeigen\"><a href=\"' + google_info.feedback_url + '\" style=\"color:#FFF;text-decoration:none;\"  title=\"Google Anzeige\" target=\"_blank\">Google Anzeige</a></h5>'  +
     '<div id="googleleftcontainer"><table width=\"164\" cellspacing=\"0\" border=\"0\" cellpadding=\"0\" bgcolor=\"#E5ECF9\">';

    if (google_ads[0].type == "image") {
      s += '<a href="' + google_ads[0].url +
              '" target="_top" title="go to ' + google_ads[0].visible_url +
              '"><img style="border:none;" src="' + google_ads[0].image_url +
              '"width="' + google_ads[0].image_width +
              '"height="' + google_ads[0].image_height + '"/></a>';

    } else {

     if (google_ads.length == 1) {
        s += '<tr onmouseover="this.style.backgroundColor=\'#F5F7FD\';"  onmouseout="this.style.backgroundColor=\'#E5ECF9\';">' +
        '<td align="center">' +
        '<div style="float:left;text-align:left;padding-top:54px;padding-bottom:54px;overflow:hidden;"><div style="float:left;width:130px;margin-left:10px;margin-right:10px;">' +
        '<a style=\"cursor:pointer;cursor:hand;text-decoration:none\" target=\"_blank\" href="' + google_ads[0].url  +'" onClick=\"this.blur()\" onmouseover="status=\'gehe zu ' + google_ads[0].visible_url + '\';return true;" onmouseout=\"status=\'\';return true;">' +
        '<span style="text-decoration: underline;font: bold 16px arial, sans-serif;color:#003366;">' + google_ads[0].line1 + '</span></a><br/>' +
        '<span style="color: #434343;font: normal 14px arial, sans-serif;">'  + google_ads[0].line2 + '&nbsp;' + google_ads[0].line3 + '</span><br/>' +
        '<a style=\"cursor:pointer;cursor:hand;text-decoration:none\" target=\"_blank\" href="' + google_ads[0].url  +'" onClick=\"this.blur()\" onmouseover="status=\'gehe zu ' + google_ads[0].visible_url + '\';return true;" onmouseout=\"status=\'\';return true;">' +
        '<span style="color: #E10202;font: normal 11px arial, sans-serif;">' + google_ads[0].visible_url +'</span></a>' +
        '</div></div>' +
        '</td>' +
        '</tr>';

      } else if (google_ads.length > 1) {
        for(i=0; i < google_ads.length; ++i) {
        s += '<tr onmouseover="this.style.backgroundColor=\'#F5F7FD\';"  onmouseout="this.style.backgroundColor=\'#E5ECF9\';">' +
        '<td>' +
        '<div style="text-align:left;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;overflow:hidden;width:144px;">' +
        '<a style=\"cursor:pointer;cursor:hand;text-decoration:none\" target=\"_blank\" href="' + google_ads[i].url  +'" onClick=\"this.blur()\" onmouseover="status=\'gehe zu ' + google_ads[i].visible_url + '\';return true;" onmouseout=\"status=\'\';return true;">' +
        '<span style="text-decoration: underline;font: bold 11px arial, sans-serif;color:#003366;">' + google_ads[i].line1 + '</span></a><br/>' +
        '<span style="color: #434343;font: normal 11px arial, sans-serif;">'  + google_ads[i].line2 + '&nbsp;' + google_ads[i].line3 + '</span><br>' +
        '<a style=\"cursor:pointer;cursor:hand;text-decoration:none\" target=\"_blank\" href="' + google_ads[i].url  +'" onClick=\"this.blur()\" onmouseover="status=\'gehe zu ' + google_ads[i].visible_url + '\';return true;" onmouseout=\"status=\'\';return true;">' +
        '<span style="color: #E10202;font: normal 9px arial, sans-serif;">' + google_ads[i].visible_url +'</span></a>' +
        '</div>' +
        '</td>' +
        '</tr>';
        }
      }
    }

        // Finish up anything that needs finishing up
    s += '</table></div>';

    document.write(s);
    return;
  }
