function google_ad_request_done(google_ads) {

    // Proceed only if we have ads to display!
    if (google_ads.length < 1 )
      return;

    // Display ads in a table
    document.write("<div class=\"noprint\"><div align=\"right\"><small>Ads by Google:</small></div>");
 
   // Print "Ads By Google" -- include link to Google feedback page if available
   //    document.write("<div>");
   //   if (google_info.feedback_url) {
   //     document.write("<a href=\"" + google_info.feedback_url + 
   //       "\">Ads by Google</a>");
   //    } else {
   //      document.write("Ads By Google");
   //   }
   //   document.write("</div>");  
  
    // For text ads, display each ad in turn.
    // In this example, each ad goes in a new row in the table.
    if (google_ads[0].type == 'text') {
      for(i = 0; i < google_ads.length; ++i) {
        document.write("<div valign=\"center\" style=\"font-family: verdana; font-size:11px display: block; cursor:pointer;\" onMouseOver='this.style.backgroundColor=\"#F0CBA9\";self.status=\"" + google_ads[i].visible_url + "\";return true;' onMouseOut='this.style.backgroundColor=\"\";self.status=\"\";return true;' onClick=\"javascript:new_window=window.open('" + google_ads[i].url + "');new_window.focus();\"><span><img src=\"img/lupe.gif\">&nbsp;<a href=\"#\">" + google_ads[i].line1 + "</a></span> <br> <span>" + 
          google_ads[i].line2 + "&nbsp;" +
          google_ads[i].line3 + "</span>&nbsp;<span>" + 
          google_ads[i].visible_url +
          "</span> </div><img src='img/d.gif' width=1 height=5><br>"); 
      }
    }

    // For an image ad, display the image; there will be only one .
    if (google_ads[0].type == 'image') {
      document.write("<div align=\"center\">" +
        "<a href=\"" + google_ads[0].url + "\"style=\"text-decoration: none\">" +
        "<img src=\"" + google_ads[0].image_url + 
        "\" height=\"" + google_ads[0].height + 
        "\" width=\"" + google_ads[0].width +
        "\" border=\"0\"></a></div>");
    }

    // Finish up anything that needs finishing up
    document.write ("</div>");
  }


