function google_afs_request_done(google_ads) {
alert('Aaaasss');
    /*
     * 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 wideAds2 = '';   //wide ad unit html text

    var headerText = '<div class="sponsored_box">' +
					 	'<div class="sponsored_head"></div>' +
			 			'<div class="sponsored_main"><span><a href="http://www.startlap.hu/sub/adatved.html">Szponzorált linkek</a></span>' +
                        '<span style="margin-left:415px;font-size:10px;"><a href="https://adwords.google.com/select/Login?hl=hu" target="_blank" style="color:#0066FF;">Hogyan kerülhet ide a hirdetésed?</a></span>';
	var footerText = 	'</div>' +
						'<div class="sponsored_foot"></div>' +
						'</div>';
 
     for(i = 0; i < Math.ceil(google_num_ads/2); i++) {
 	
        wideAds+='<div class="result">' +
					'<a href="' + google_ads[i].url + '" ' +
		  'onmouseout="window.status=\'\';return true" ' +
		  'onmouseover="window.status=\'go to ' +
		  google_ads[i].visible_url + '\';return true" ' +
		  '><span class="title">' + google_ads[i].line1 + '</span><br />' +
		  '<span class="desc">' + google_ads[i].line2 + '</span><br />' +
		  '<span class="url">' + google_ads[i].visible_url + '</span>' +
		  '</a>' +
		  '</div>';
    }
    
	for(i = Math.ceil(google_num_ads/2); i < google_num_ads; i++) {
		
        wideAds2+='<div class="result">' +
					'<a href="' + google_ads[i].url + '" ' +
		  'onmouseout="window.status=\'\';return true" ' +
		  'onmouseover="window.status=\'go to ' +
		  google_ads[i].visible_url + '\';return true" ' +
		  '><span class="title">' + google_ads[i].line1 + '</span><br />' +
		  '<span class="desc">' + google_ads[i].line2 + '</span><br />' +
		  '<span class="url">' + google_ads[i].visible_url + '</span>' +
		  '</a>' +
		  '</div>';
	}

    if (wideAds != "") {
      wideAds = headerText + wideAds + footerText;
    }

    if (wideAds2 != "") {
      wideAds2 = headerText + wideAds2 + footerText;
    }

    document.getElementById("wide_ad_unit_1").innerHTML = wideAds;
    document.getElementById("wide_ad_unit_2").innerHTML = wideAds2;
  }

