 function google_afs_request_done(google_ads)
			     {
			         /*
			          * Verify that there are actually ads to display.
			          */
			         var google_num_ads = google_ads.length;
			         if (google_num_ads <= 0)
			         {
			             return;
			         }

			         var wideAds = "";   // wide ad unit html text
			         var wideAdsTwo = "";   // wide ad unit html text
			         var narrowAds = "";   // narrow ad unit html text
					 var j = 0;
			         for(i = 0; i < google_num_ads; i++)
			         {

			             if (google_ads[i].type=="text/wide")
			             {
			                 // render a wide ad
			                 temp='<div class="wideAd ad_content_top"><span class="ad_header1"><b><a target="_blank" style="text-decoration:none" onmouseover="javascript:window.status=\'' +
			                         google_ads[i].url + '\';return true;" ' +
			                         'onmouseout="javascript:window.status=\'\';return true;" ' +
			                         'href="' + google_ads[i].url + '">' +

			                         '' + google_ads[i].line1 + '</a></b></span>' +

			                         '<span class="text">' + google_ads[i].line2 + '</span><br>' +

			                         '<a target="_blank" style="text-decoration:none" onmouseover="javascript:window.status=\'' +
			                         google_ads[i].url + '\';return true;" ' +
			                         'onmouseout="javascript:window.status=\'\';return true;" ' +
			                         'href="' + google_ads[i].url + '">' +

			                         '<span class="url">' + google_ads[i].visible_url + '</span></a></div>';

								if(j<4) {
									wideAds+=temp;
								}
								else {
									wideAdsTwo+=temp;
								}
								j++;
			             }

			             else
			             {
			                 // render a narrow ad
			                 narrowAds+='<div class="narrowAd ad_content_top"><span class="ad_header1"><b><a target="_blank" style="text-decoration:none" onmouseover="javascript:window.status=\'' +
			                         google_ads[i].url + '\';return true;" ' +
			                         'onmouseout="javascript:window.status=\'\';return true;" ' +
			                         'href="' + google_ads[i].url + '">' +

			                         '' + google_ads[i].line1 + '</a></b></span>' +

			                         '<span class="text">' + google_ads[i].line2 + '</span><br>' +

			                         '<span class="text">' + google_ads[i].line3 + '</span><br>' +

			                         '<a target="_blank" style="text-decoration:none" onmouseover="javascript:window.status=\'' +
			                         google_ads[i].url + '\';return true;" ' +
			                         'onmouseout="javascript:window.status=\'\';return true;" ' +
			                         'href="' + google_ads[i].url + '">' +

			                         '<span class="url">' + google_ads[i].visible_url + '</span></a></div>';
			             }
			         }

			         if (narrowAds != "")
			         {
			             narrowAds = '<a style="text-decoration:none" ' +
			                         'href="http://services.google.com/feedback/online_hws_feedback">' +
			                         '<span class="ad_header" style="text-align:left;margin-left:10px;">Google-Anzeigen</span><br></a>' + narrowAds;
			         }

			         if (wideAds != "")
			         {
			             wideAds = '<a style="text-decoration:none" ' +
			                       'href="http://services.google.com/feedback/online_hws_feedback">' +
			                       '<span class="ad_header" style="text-align:left;margin-left:10px;">Google-Anzeigen</span><br></a>' + wideAds;
			         }

               if (wideAdsTwo != "") {
			             wideAdsTwo = '<a style="text-decoration:none" ' +
			                       'href="http://services.google.com/feedback/online_hws_feedback">' +
			                       '<span class="ad_header" style="text-align:left">Google-Anzeigen</span><br></a>' + wideAdsTwo;
			         }
                            /*
                                 wideAds = '<div class=\"box_580_dunkel_oben\"></div><div class=\"box_580_dunkel_mitte\">'+wideAds+'</div><div class=\"box_580_dunkel_unten\"></div>';
                                 wideAdsTwo = '<div class=\"box_580_dunkel_oben\"></div><div class=\"box_580_dunkel_mitte\">'+wideAdsTwo+'</div><div class=\"box_580_dunkel_unten\"></div>';
                                 narrowAds = '<div class=\"box_190_dunkel_oben\"></div><div class=\"box_190_dunkel_mitte\">'+narrowAds+'</div><div class=\"box_190_dunkel_unten\"></div>';
                                 */
			         // Write HTML for wide and narrow ads to the proper <div> elements
			         document.getElementById("wide_ad_unit").innerHTML = wideAds;
			         document.getElementById("wide_ad_unit_two").innerHTML = wideAdsTwo;
			         document.getElementById("narrow_ad_unit").innerHTML = narrowAds;
			     }