function google_ad_request_done(google_ads) {
    if (google_ads.length > 0) {
        var s = '<div class="publi adsense t' + ociomedia_publi_size + '">';
        var i;

        if (google_ads[0].type == "flash") {
            s +=    '<a class="google" href="' + google_info.feedback_url + '">Anuncios Google</a>' +
                    '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"' +
                        'width="' + google_ad.image_width + '" height="' + google_ad.image_height + '">' +
                        '<param name="movie" value="' + google_ad.image_url + '">' +
                        '<param name="quality" value="high">' +
                        '<param name="AllowScriptAccess" value="never">' +
                        '<embed src="' + google_ad.image_url + '" width="' + google_ad.image_width + '" height="' + google_ad.image_height +
                            '" type="application/x-shockwave-flash" AllowScriptAccess="never" ' +
                            'pluginspage="http://www.macromedia.com/go/getflashplayer">' +
                        '</embed>' +
                    '</object>';
        } else if (google_ads[0].type == "image") {
            s +=    '<a class="google" href="' + google_info.feedback_url + '">Anuncios Google</a>' +
                    '<a class="imagen" href="' + google_ads[0].url + '" title="Ir a ' + google_ads[0].visible_url +
                        '" onmouseout="window.status=\'\'" onmouseover="window.status=\'Ir a ' + google_ads[0].visible_url + '\';return true">' +
                        '<img src="' + google_ads[0].image_url + '" width="' + google_ads[0].image_width + '" height="' + google_ads[0].image_height + '" />' +
                    '</a>';
        } else if (google_ads[0].type == "html") {
            s +=	google_ads[0].snippet;
        } else {
            s +=    '<a class="google" href="' + google_info.feedback_url + '">Anuncios Google</a>' +
                    '<ul class="qty-' + google_ads.length + '">';
            if (google_ads.length == 1) {
                s +=    '<li>' +
                            '<a class="title" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'Ir a ' + google_ads[0].visible_url + '\';return true">' +
                                '<span>' + google_ads[0].line1 + '</span>' +
                            '</a>' +
                            '<span class="text">' + google_ads[0].line2 + ' ' + google_ads[0].line3 + '</span>' +
                            '<a class="url" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'Ir a ' +
                                google_ads[0].visible_url + '\';return true">' +
                                google_ads[0].visible_url +
                            '</a>' +
                        '</li>';
            } else {
                for(i = 0; i < google_ads.length; ++i) {
                    s +='<li>' +
                                '<a class="title" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'Ir a ' + google_ads[i].visible_url + '\';return true">' +
                                    '<span>' + google_ads[i].line1 + '</span>' +
                                '</a>' +
                                '<span class="text">' + google_ads[i].line2 + '<br />' + google_ads[i].line3 + '</span>' +
                                '<a class="url" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'Ir a ' +
                                    google_ads[i].visible_url + '\';return true">' +
                                    google_ads[i].visible_url +
                                '</a>' +
                        '</li>';
                }
            }
            s +=    '</ul>';
        }

        s +=    '</div>';
        document.write(s);
    }

    return;
}

