|
<script language="JavaScript">
<!--
var adsForLa = '';
var lastWindowStatus = '';
function trackBack(t) {
window.focus();
if (window.status && (window.status != lastWindowStatus)) {
if (window.status.indexOf('View ads about') != 0) {
lastWindowStatus=window.status;
trackClick2 = new Image();
trackClick2.src = 'http://www.googleadservices.com/pagead/conversion/1068382176/';
}
}
}
function google_ad_request_done(google_ads) {
// Proceed only if we have ads to display!
if (google_ads.length < 1 ) {
return;
}
// Get "Ads By Google" -- include link to Google feedback page if available
var ShowGoogleFeedback = '';
//alert(google_ads.feedback_url);
if (google_info.feedback_url) {
ShowGoogleFeedback = '<a href="' + google_info.feedback_url + '" class="showsp">Ads by Google</a><br>';
} else {
ShowGoogleFeedback = '<span class="showsp">Ads by Google</span><br>';
//ShowGoogleFeedback = '<a href="" style="text-transform:uppercase; text-decoration:none; font-size:11px; font-weight:bold; color:#999999;">Ads by Google</a><br>';
}
ShowGoogleFeedback = '<table width="100%" cellpadding=0 cellspacing=0 style="margin-left:0px;"><tr><td>' + ShowGoogleFeedback + '</td></tr></table>';
// Display ads in a table
document.write(ShowGoogleFeedback);
document.write('<table cellpadding=0 cellspacing=0 width="100%">');
document.write(' <tr>');
document.write(' <td style="width:100%; border:1px solid #6BFF9C; background-Color:#EBFFDF;">');
document.write(' ');
document.write(' <div style="float:right; padding:5px 5px 15px 25px;"><img src="/images/sp/thumb-.jpg" width="178" height="133" alt="" style="border:1px solid #6BFF9C;"></div>');
document.write(' ');
document.write(' <ul>');
// For text ads, display each ad in turn.
if (google_ads[0].type == 'text') {
for(i = 0; i < google_ads.length; ++i) {
if (i == 4 || i == 5) {
adsForLa += '<li style="margin-left:-40px; margin-top:15px; font-size:12px; padding-right:20px; cursor:hand;" OnClick="trackBack(\''+google_ads.visible_url+'\'); document.location=\'' + google_ads.url + '\';" name="custgoogiframe" OnMouseOver="window.status=\'go to ' + google_ads.visible_url + '\';" OnMouseOut="window.status=\' \';">';
adsForLa += ' <span class="adlink">' + google_ads.line1 + '</span><br> ';
adsForLa += ' ' + google_ads.line2 + ' ' + google_ads.line3 + '<br> ';
adsForLa += ' <span style="color:#339933">' + google_ads.visible_url + '</span><br> ';
adsForLa += '</li>';
} else {
document.write('<li style="margin-left:-10px; margin-top:15px; font-size:12px; padding-right:20px; cursor:hand;" OnClick="trackBack(\''+google_ads.visible_url+'\'); document.location=\'' + google_ads.url + '\';" name="custgoogiframe" OnMouseOver="window.status=\'go to ' + google_ads.visible_url + '\';" OnMouseOut="window.status=\' \';">');
document.write(' <span class="adlink">' + google_ads.line1 + '</span><br> ');
document.write(' ' + google_ads.line2 + ' ' + google_ads.line3 + '<br> ');
document.write(' <span style="color:#339933">' + google_ads.visible_url + '</span><br> ');
document.write('</li>');
}
}
}
// Finish up anything that needs finishing up
document.write(' </ul>');
document.write(' </td>');
document.write(' </tr>');
document.write('</table>');
//document.write(ShowGoogleFeedback);
document.write('<span class="showsp"> </span><br>');
}
google_ad_client = "xxxxxxxxx";
google_ad_channel = "0563202970";
google_ad_output = "js";
google_max_num_ads = 4;
google_ad_type = "text";
google_color_line = "ff0000";
-->
</script><script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
近日看到国外有不少网站如此调用google,改变了外观。
但观察了很久,他们也没被K,不知道是否允许 |
|