function google_afs_request_done(google_ads){
	var google_num_ads = google_ads.length;
	if (google_num_ads <= 0){
	  return;
	}
	var wideAdsOben = "";
	for(i = 0; i < 4; i++){
		if (google_ads[i].type=="text/wide"){
			// render a wide ad
			wideAdsOben += "<div class=\"box_hellblau\" onmouseover='this.style.backgroundColor=\"#F0CBA9\";return true;' onmouseout='this.style.backgroundColor=\"\";return true;'><div class=\"ro\"> <div class=\"lo\"><div class=\"ru\"> <div class=\"lu\"><div class=\"inhalt\"><div style=\"width: 50%; float: left; margin: 0 0 3px 3px; font-family: verdana; font-size:11px; display: block; font-weight: normal;\"><a style=\"font-size: 15px; text-decoration: underline;\" href=\"#\" onMouseOver='self.status=\"" + 
			google_ads[i].visible_url + "\";return true;' onMouseOut='self.status=\"\";return true;' onClick=\"javascript:new_window=window.open('" + 
			google_ads[i].url + "');new_window.focus();\" class=\"g_afs_headline\">" + 
			google_ads[i].line1 + "</a></div>" + 
			"<div style=\"display: block; width: 49%; float: right; text-align: right;\"><a href=\"#\" style=\"color:#595959; font-size:11px; font-weight:normal;\" onMouseOver='self.status=\"" + 
			google_ads[i].visible_url + "\";return true;' onMouseOut='self.status=\"\";return true;' onClick=\"javascript:new_window=window.open('" + 
			google_ads[i].url + "');new_window.focus();\">" + 
			google_ads[i].visible_url + "</a></div><br style=\"clear: both;\" /><span style=\"font-size: 1.1em; margin: 0 0 3px 3px;\">" +
			google_ads[i].line2 + "</span></div></div></div></div></div></div></div><img src='img/d.gif' width=1 height=5><br />";
		}
	}
	if (wideAdsOben != ""){
		wideAdsObenPrefix = '<div class="noprint"><br></div>';
		/* google feedback */
		wideAdsObenPrefix += '<div align="left">';
		wideAdsObenPrefix += '<small><a href="https://www.google.com/adsense/support/bin/request.py?contact=afs_violation" target="_blank" class="google">Google-Anzeigen</a></small>';
		wideAdsObenPrefix += '</div>'; 
		wideAdsOben = wideAdsObenPrefix + wideAdsOben;
	}
	var wideAdsUnten = "";
	for(i = 4; i < 7; i++){
		if (google_ads[i].type=="text/wide"){
		  // render a wide ad
			wideAdsUnten += "<div onmouseover='this.style.backgroundColor=\"#F0CBA9\";return true;' onmouseout='this.style.backgroundColor=\"\";return true;' style=\"padding-left: 5px;\"><div><a href=\"#\" onMouseOver='self.status=\"" + 
			google_ads[i].visible_url + "\";return true;' onMouseOut='self.status=\"\";return true;' onClick=\"javascript:new_window=window.open('" + 
			google_ads[i].url + "');new_window.focus();\" class=\"titel_link\">" + 
			google_ads[i].line1 + "</a></div><div style=\"font-size: 1.1em; margin: 5px 0 5px 0px;\">" +
			google_ads[i].line2 + "</div><div><a href=\"#\" style=\"color:#595959; font-size:11px; font-weight:normal;\" onMouseOver='self.status=\"" + 
			google_ads[i].visible_url + "\";return true;' onMouseOut='self.status=\"\";return true;' onClick=\"javascript:new_window=window.open('" + 
			google_ads[i].url + "');new_window.focus();\">" + 
			google_ads[i].visible_url + "</a></div></div><img src='img/d.gif' width=1 height=5><hr>";
		
		}
	}
	if (wideAdsUnten != ""){
		/* google feedback */
		wideAdsUntenPrefix = '<div align="left" style="margin-bottom: 10px;">';
		wideAdsUntenPrefix += '<small><a href="https://www.google.com/adsense/support/bin/request.py?contact=afs_violation" target="_blank" class="google">Google-Anzeigen</a></small>';
		wideAdsUntenPrefix += '</div>'; 
		wideAdsUnten = wideAdsUntenPrefix + wideAdsUnten;
	}
  document.getElementById("wide_ad_unit_oben").innerHTML = wideAdsOben;
  document.getElementById("wide_ad_unit_unten").innerHTML = wideAdsUnten;
}