var google_adnum = 0;
function google_ad_request_done(google_ads) {
  var s = '';
  var i;
  if (google_ads.length == 0) {
    return;
  }
  if (google_ads.length == 1) {
    s += '<div style="padding-bottom:10px; font-family:verdana;"><a href=\"' +
    google_info.feedback_url + '\" style="font-size:11px; color:888888; text-decoration:none;"><b>Ads by Google</b></a><div style="padding-top:10px; padding-bottom:3px;"><a style="color:#333399; font-size:14px; text-decoration:none" href="' +
    google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
    google_ads[0].visible_url + '\';return true"> <span style="text-decoration:underline;"> <b>' +
    google_ads[0].line1 + '</b><br></span></a></div><div style="color:#333333;font-size:11px;line-height:13px">' +
    google_ads[0].line2 + ' ' +
    google_ads[0].line3 + '<br></div><a style="color:#888888;font-size:11px;text-decoration:none;" href="' +
    google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
    google_ads[0].visible_url + '\';return true">' +
    google_ads[0].visible_url + '</a></div>';
  
  } else if (google_ads.length > 1) {
  
    s += '<div style="padding-bottom:10px;"><a href=\"' + google_info.feedback_url + '\" style="font-family:verdana; font-size:11px; color:888888; text-decoration:none;"><b>Ads by Google</b></a></div>'
  
    for(i = 0; i < google_ads.length; ++i) {
      s += '<div style="font-family:verdana; padding-bottom:12px;"><div style="font-size:12px; padding-bottom:3px;"><a style="color:#333399; text-decoration:none" href="' +
      google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
      google_ads[i].visible_url + '\';return true"> <span style="text-decoration:underline"> <b>' +
      google_ads[i].line1 + '</b><br></span></a></div><div style="color:#333333; font-size:10px;line-height:12px">' +
      google_ads[i].line2 + ' ' +
      google_ads[i].line3 + '<br></div><a style="color:#888888; font-size:10px; text-decoration:none;" href="' +
      google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
      google_ads[i].visible_url + '\';return true">' +
      google_ads[i].visible_url + '</a></div>';
    }
  }
  if (google_ads[0].bidtype == "CPC") {  /* insert this snippet for each ad call */
  google_adnum = google_adnum + google_ads.length;
  }
  document.write(s);
  return;
}