
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;
}

/*
* If an image or flash ad is returned, display that ad.
* Otherwise, build a string containing all of the ads and
* then use a document.write() command to print that string.
*/

if (google_ads[0].type == "html") {

s += google_ads[0].snippet;

} else {

if (google_ads.length == 1) {
/*
* Partners should adjust text sizes
* so ads occupy the majority of ad space.
*/
s += '<DIV style="border:1px #BFC9D7 solid;background-color:#ffffff; padding:2px;margin:0px 0px 12px 0px"><a style="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="color:#0000ff;text-decoration:underline;font-size:13px;font-family:arial"> <b>' +
google_ads[0].line1 + '</b></span></a><br> <span style="color:#000000;font-size:11px;font-family:arial">' +
google_ads[0].line2 + ' ' +
google_ads[0].line3 + '</span><br><a style="color:#FF6600;text-decoration:none;font-size:10px;font-family:arial" 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="text-align:right;padding-right:5px; background-color:#FFFFFF;"><a href=\"' + google_info.feedback_url + '\" style="color:#000000; font-size:11px;font-family:arial; background-color:#FFFFFF; font-weight:bold">Ads by Google</a><br></div>'

  /*
  * For text ads, append each ad to the string.
  */

for(i = 0; i < google_ads.length; ++i) {

s += '<DIV style="border:1px #969695 solid;background-color:#FFFFFF; padding:2px;margin:0px 0px 12px 0px"><a style="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="color:#0000ff;text-decoration:underline;font-size:15px; font-weight:bold;font-family:verdana"> <b>' +
google_ads[i].line1 + '</b></span></a><br> <span style="color:#000000;font-size:11px; font-family:verdana">' +
google_ads[i].line2 + ' ' +
google_ads[i].line3 + '</span><br><a style="color:#FF6600;text-decoration:none; font-size:10px;font-family:verdana" 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>';
}
}
    }

    document.write(s);
    return;
  }

google_ad_client = 'pub-8525015516580200'; // substitute your client_id (pub-#)
google_ad_channel = '4661672697';
google_ad_output = 'js';
google_max_num_ads = '8';
google_ad_type = 'text';
google_feedback = 'on';
