function google_ad_request_done(google_ads) {  
    var s = '';
  
      s = '<div id="adsenseHeader">Ads by Google</div>\n<div id="adsenseBox">';
      if (google_ads.length == 1) {
        //Adjust text sizes when 1 ad is returned.
		s += '<div class="googlefixpadding"><span class="googletitle"> ' +
							'<a href="' + google_ads[0].url + '" ' +
                          'onmouseout="window.status=\'\'" ' +
                          'onmouseover="window.status=\'go to ' +
                          google_ads[0].visible_url + '\'" ' +
                          'style="text-decoration:none" target="_blank">' + google_ads[0].line1 + 
                          '</a></span><br><span class="googlecopy">' +
                          '' + google_ads[0].line2 + ' ' + google_ads[0].line3 + '</span><br>'+
						  '<span class="googlebottlink">' + '<a href="' + google_ads[i].url + '" ' +
                          'onmouseout="window.status=\'\'" ' +
                          'onmouseover="window.status=\'go to ' +
                          google_ads[0].visible_url + '\'" ' +
                          'style="text-decoration:none" target="_blank">'  + google_ads[0].visible_url + '</a></span></div>';
      } else if (google_ads.length > 1) {
        /*
         * For text ads, append each ad to the string.
         */
        for(i=0; i < google_ads.length; ++i) {
          s += '<div class="googlefixpadding"><span class="googletitle"> ' +
							'<a href="' + google_ads[i].url + '" ' +
                          'onmouseout="window.status=\'\'" ' +
                          'onmouseover="window.status=\'go to ' +
                          google_ads[i].visible_url + '\'" ' +
                          'style="text-decoration:none" target="_blank">' + google_ads[i].line1 + 
                          '</a></span><br><span class="googlecopy">' +
                   '' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</span><br>'+
						  '<span class="googlebottlink">' + '<a href="' + google_ads[i].url + '" ' +
                          'onmouseout="window.status=\'\'" ' +
                          'onmouseover="window.status=\'go to ' +
                          google_ads[i].visible_url + '\'" ' +
                          'style="text-decoration:none" target="_blank">'  + google_ads[i].visible_url + '</a></span></div>';
        }
    }
    document.write(s + '</div>');
    return;	
}  // Function
