function google_ad_request_done(google_ads) {

var s = '';
var i;

/*
* Vergewissern Sie sich, dass Anzeigen zum Schalten vorhanden sind.
*/
if (google_ads.length == 0) {
return;
}

/*
* Wenn eine Image- oder Flash-Anzeige zurückgegeben wird, wird diese Anzeige geschaltet.
* Erstellen Sie andernfalls eine Zeichenfolge, die alle Anzeigen enthält, und
* drucken Sie mithilfe eines "document.write()"-Befehls anschließend die Zeichenfolge.
*/


if (google_ads[0].type == "flash") {


   s += '<a href=\"' + google_info.feedback_url + '\" style="color:515151">Google-Anzeigen</a><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="' + google_ad.image_width +
'" HEIGHT="' + google_ad.image_height + '">' +
'<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="' + google_ad.image_width +
'" HEIGHT="' + google_ad.image_height + 
'" TYPE="application/x-shockwave-flash"' + 
' AllowScriptAccess="never" ' + 
' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';


} else if (google_ads[0].type == "image") {


   s += '<a href=\"' + google_info.feedback_url + '\" style="color:515151">Google-Anzeigen</a><br>' + 

'<a href="' + google_ads[0].url +
'" target="_top" title="go to ' + google_ads[0].visible_url +
'"><img border="0" src="' + google_ads[0].image_url +
'"width="' + google_ads[0].image_width +
'"height="' + google_ads[0].image_height + '"></a>';


} else {

   s += '<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="468"><tr><td width=468 height=24 background=leistemittegrau.jpg class=text3><img src="leer.gif" width=15 height=1><b><a href=\"' + google_info.feedback_url + '\" class="ad_line1">Google-Anzeigen</a></b></td></tr><tr><td width=468 valign=top>' 

  /*
  * Hängen Sie bei Textanzeigen jede Anzeige an die Zeichenfolge an.
  */

for(i = 0; i < google_ads.length; ++i) {


s += '<table BORDER=0 CELLSPACING=5 CELLPADDING=0 WIDTH="100%" onMouseover="this.style.backgroundColor=\'#e5ebf2\';" onMouseout="this.style.backgroundColor=\'#FFFFFF\';"><tr><td><a href="' + google_ads[i].url + '" ' + 
'onmouseout="window.status=\'\'" ' +
'onmouseover="window.status=\'go to ' +
google_ads[i].visible_url + '\'" ' +
'style="text-decoration:none">' +
'<span class="ad_line2">' +
'<b>' + google_ads[i].line1 + '</b><br></span>' + 
'<span class="ad_text2">' +
google_ads[i].line2 + ' ' +
google_ads[i].line3 + '<br></span>' +
'<span class="ad_url2">' +
google_ads[i].visible_url + '</span></a><br></td></tr></table>';
if (i+1 < google_ads.length) {
	s += '<center><img SRC="liniegrau.jpg" height=1 width=468></center>';
}
}
s += '</td></tr></table>';

    }

    document.write(s);
    return;
  }