﻿
function google_ad_request_done(google_ads) {
    var s = ''; var i; var sHome = '';

    if (google_ads.length == 0) return;
    if (adsLocation == null) return;
    
    
    if (typeof (adsStyle) != "undefined") {
        sStyle = 'adsrow' + adsStyle;
        s += '<div class="right_tit">Enlaces patrocinados</div>';
    }
    else
    {
        sStyle = 'adsrow';
        s += '<div class="right col1">Enlaces patrocinados</div>';
    }


    for (i = 0; i < google_ads.length; ++i) {
        if (i == google_ads.length - 1) {
            s += '<div class="' + sStyle + ' last">';
        } else {
            s += '<div class="' + sStyle + '">';
        }
        s += '<div class="left nowrap oh col2">';
        if (navigator.appName.indexOf("Explorer") != -1) {
            s += '<div class="left" onmouseout="window.status=\'\'; return true;" onmouseover="window.status=\'Ir a http://' + google_ads[i].visible_url + '\'; return true;">';
        }
        else {
            s += '<div class="left">';
        }
        s += '<a target="_blank" href="' + google_ads[i].url;
        s += '">' + google_ads[i].line1 + '</a></div>';

        s += '<span class="left">' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</span>';

        s += '<span class="right" onmouseout="window.status=\'\'; return true;" onmouseover="window.status=\'Ir a http://' + google_ads[i].visible_url + '\'; return true;">';
        s += '<a target="_blank" href="' + google_ads[i].url;
        s += '">' + google_ads[i].visible_url + '</a></span>';

        s += '</div>';
        s += '</div>';
    }
    
    document.write(s);
    return;
}

google_ad_client = 'anuntis-formacion';
if (google_ad_channel == '')
{
    google_ad_channel = 'lectiva';
}
google_ad_output = 'js';
google_language = 'es';
google_page_url = document.location;
google_encoding = 'utf8';
google_safe = 'medium';
google_max_num_ads = '3';
google_hints = '';
google_targeting = 'site_content';

document.write('<SCRIPT language=\"JavaScript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n		<\/SCRIPT>');

