function google_ad_request_done(google_ads) {
/*
* This function is required and is used to display
* the ads that are returned from the JavaScript
* request. You should modify the document.write
* commands so that the HTML they write out fits
* with your desired ad layout.
*/
var s = '';
var i;

/*
* Verify that there are actually ads to display.
*/
if (google_ads.length == 0  || google_ads[0].type == "flash" || google_ads[0].type == "image") {
	return;
}
/* VERSION 1 mit 2 Spalten
if (google_ads[0].type == "html") {
	s += google_ads[0].snippet;
} else {
	if (google_ads.length == 1) {
		s += '<a target="_blank" href=\"' +
    	google_info.feedback_url + '\" style="color:000000">Google-Anzeigen</a><br> <a target="_blank" style="text-decoration:none" href="' +
    	google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
    	google_ads[0].visible_url + '\';return true"> <span style="text-decoration:underline;font-size:20pt"> <b>' +
    	google_ads[0].line1 + '</b><br></span></a> <span style="color:#000000;font-size:16pt">' +
    	google_ads[0].line2 + '&nbsp;' +
    	google_ads[0].line3 + '<br></span> <span><a target="_blank" style="color:#008000;font-size:14pt;text-decoration:none" href="' +
    	google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
    	google_ads[0].visible_url + '\';return true">' +
    	google_ads[0].visible_url + '</span></a><br>';
	} else if (google_ads.length > 1) {
		s += '<div class="googleanzeige"><h3><a target="_blank" href=\"' + google_info.feedback_url + '\" >Google-Anzeigen</a></h3>'
		s+='<table width="600px"><tr>';
		for(i = 0; i < google_ads.length; ++i) {
			s += '<td width="50%" valign="top"><a target="_blank" class="g_headline" href="' +
			google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
			google_ads[i].visible_url + '\';return true"><b>' +
			google_ads[i].line1 + '</b></a><br />'+
			google_ads[i].line2 + '&nbsp;' +
			google_ads[i].line3 + '<br><a target="_blank" class="g_anzeigeurl" href="' +
			google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
			google_ads[i].visible_url + '\';return true">' +
			google_ads[i].visible_url + '</a><br/></td>';
		}
		s+='</tr></table></div>'
	}
}
document.write(s);
return;
}
*/
/* Version 2 mit 2 Zeilen */
if (google_ads[0].type == "html") {
	s += google_ads[0].snippet;
} else {
	if (google_ads.length == 1) {
		s += '<a target="_blank" href=\"' +
    	google_info.feedback_url + '\" style="color:000000">Google-Anzeigen</a><br> <a target="_blank" style="text-decoration:none" href="' +
    	google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
    	google_ads[0].visible_url + '\';return true"> <span style="text-decoration:underline;font-size:20pt"> <b>' +
    	google_ads[0].line1 + '</b><br></span></a> <span style="color:#000000;font-size:16pt">' +
    	google_ads[0].line2 + '&nbsp;' +
    	google_ads[0].line3 + '<br></span> <span><a target="_blank" style="color:#008000;font-size:14pt;text-decoration:none" href="' +
    	google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
    	google_ads[0].visible_url + '\';return true">' +
    	google_ads[0].visible_url + '</span></a><br>';
	} else if (google_ads.length > 1) {
		s+='<div class="googleanzeige3"><h3><a target="_blank" href=\"' + google_info.feedback_url + '\" >Google-Anzeigen</a></h3>'
		s+='<table width="600px">';
		for(i = 0; i < google_ads.length; ++i) {
			s+='<tr><td width="100%" valign="top">'+
			'<a target="_blank" class="g_headline" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
			google_ads[i].visible_url + '\';return true"><b>' +
			google_ads[i].line1 + '</b></a>&nbsp;&nbsp;<a target="_blank" class="g_anzeigeurl" href="' +
			google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
			google_ads[i].visible_url + '\';return true">' +
			google_ads[i].visible_url + '</a><br/>'+
			google_ads[i].line2 + '&nbsp;' + google_ads[i].line3 + '<br/></td></tr>';
	   }
		s+='</table></div>';
	}
}
document.write(s);
return;
}
