﻿/*cuando realice cambios a este script replicarlos en results_top.js*/
var google_adnum = 0;

function google_ad_request_done(google_ads) {
    if (google_ads.length > 0) {
        var s = '<div class="gGoogle"><a class="gGoogleLnk" href="' + google_info.feedback_url + '">Anuncios Google</a></div>';
        for (var i = 0; i < google_ads.length; ++i) {
            s += '<ul class="gridRow afc' + ((i == google_ads.length - 1) ? ' last' : '') + '">';
            s += '<li class="gLink"><a target="_blank" class="glTitle" href="' + google_ads[i].url + '" onmouseover="window.status=\'Ir a ' + google_ads[i].visible_url + '\';return true;" onmouseout="window.status=\'\'; return true;">' + google_ads[i].line1 + '</a>';
            s += '<br/>' + '<span class="text">' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</span>' + '</li>';
            s += '<li class="gLink2"><a class="glUrl" target="_blank" onmouseover="window.status=\'Ir a ' + google_ads[i].visible_url + '\';return true;" onmouseout="window.status=\'\'; return true;" href="' + google_ads[i].url + '">' + google_ads[i].visible_url + '</a>' + '</li>';
            s += '</ul>';
        }

        if (google_ads[0].bidtype == "CPC") { /* insert this snippet for each ad call */
            google_adnum = google_adnum + google_ads.length;
        }

        $(".divAdsenseGrid").html(s);
    }
    return;
}
google_ad_client = 'ca-pub-8787380312599651';
google_ad_channel = '5168512065';
google_ad_output = 'js';
google_max_num_ads = '3';
google_ad_type = 'text';
google_feedback = 'on';

google_ad_format = "728x90_as_new";
google_image_size = '728x90';

google_skip = google_adnum;



