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 (google_ads[0].type="text") {
        s += '<div class="google"><div class="anuncios floatFix"><div class="izquierda">Ads by Google</div><div class="derecha"><a href="https://adwords.google.com/select/Login?hl=es">Anuncie aquí</a></div></div><div class="floatFix" style="padding:10px 10px 0 10px;">';
            /*
             * For text ads, append each ad to the string.
             */
            for(i=0; i < google_ads.length; ++i) {
                s += '<div class="link"><a href="' + google_ads[i].url + '" ' +
					'target="_new" onmouseout="window.status=\'\'" ' +
					'onmouseover="window.status=\'go to ' +
					google_ads[i].visible_url + '\'" ' +
					'style="text-decoration:none"><span class="title">'+ google_ads[i].line1 +
					'</span><br /><span class="gris">' + google_ads[i].line2 +' '+ google_ads[i].line3 + 
					'</span><br /><span class="arial10">'+
					google_ads[i].visible_url +
					'</span></a></div>';
            }
		s += '</div></div>'
    }

    document.write(s);
    return;
 }
