var h_ord=Math.floor(Math.random()*10000000000);
var h_tile=1;

function google_ad_request_done(google_ads) 
{
  var s = "";
  var i;
  if (google_ads.length == 0)
    return;

  if (google_ads[0].type == "text") 
  {
    for (i = 0; i < google_ads.length; ++i) 
    {
      var description = google_ads[i].line2 + ' ' + google_ads[i].line3;
      var url_text = google_ads[i].visible_url;

      if (max_length_description > 0)
        description = description.substring (0, max_length_description);

      if (max_length_url > 0)
        url_text = url_text.substring(0, max_length_url);

      s += '<div '+holderclass+'><p><a rel="nofollow" href="' + google_ads[i].url + '" ' +
        'onmouseout="window.status=\'\'" ' +
        'onmouseover="window.status=\'go to ' +
        google_ads[i].visible_url + '\';return true;" '+ line1class +'>' +        
        google_ads[i].line1 + '</a><br /><span '+ line2class +'>'+
        description + '<br /></span><a rel="nofollow" href="' + google_ads[i].url + '" ' +
        'onmouseout="window.status=\'\'" ' +
        'onmouseover="window.status=\'go to ' +
        google_ads[i].visible_url + '\';return true;"' +line3class+ '>' +
        url_text + '</a></p></div>';
    }
  }
  document.write(s);
  return;
}