  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)
      return;
    
	/*
	 * A hirdetesek kiiratasa. Amennyiben szukseges a kiiratas modjan valtoztatni, azt itt lehet megtenni.
	 */
	 
    if (google_ads[0].type == "text") {
     /* s += '<div style="text-align:left;font-weight:bold;font-size:10pt">Ads by Google</div>';*/

      if (google_ads.length == 1) {
	  
         /*
         * Partners should adjust text sizes
         * so ads occupy the majority of ad space.
         */
		 
         s += '<a href="' + google_ads[0].url + '" ' +
         'onmouseout="window.status=\'\'" ' +
          'onmouseover="window.status=\'go to ' +
          google_ads[0].visible_url + '\';return true;" ' +
           'style="text-decoration:none">' +
           '<span style="text-decoration:underline;">' +
           '<b>' + google_ads[0].line1 + '</b><br></span>' + 
           '<span style="color:#000000;">' +
           google_ads[0].line2 + ' ' +
           google_ads[0].line3 + '<br></span>' +
           '<span style="color:#ff341c;">' +
           google_ads[0].visible_url + '</span></a>';
        } 
        else if (google_ads.length > 1) {
         /*
         * For text ads, append each ad to the string.
         */
	 i = 0;
         for(google_showed_ads=google_showed_ads; google_showed_ads < google_ads.length; ++google_showed_ads) {
	   if(google_max_showed_ads == i) {
		break;
	   }
	   if(i > 0) {
		s += '<br>';
	   }
           s += '<a href="' + google_ads[google_showed_ads].url + '" ' +
           'onmouseout="window.status=\'\'" ' +
            'onmouseover="window.status=\'go to ' +
            google_ads[google_showed_ads].visible_url + '\';return true;" ' +
             'style="text-decoration:none">' +
             '<br><span style="text-decoration:underline">' +
             '<b>' + google_ads[google_showed_ads].line1 + '</b><br></span>' + 
             '<span style="color:#000000">' +
             google_ads[google_showed_ads].line2 + ' ' +
             google_ads[google_showed_ads].line3 + '<br></span>' +
             '<span style="color:#ff341c">' +
             google_ads[google_showed_ads].visible_url + '</span></a>';
	     i++;
            }
        }
    }
    document.write(s);
    return;
  }
