|
<script language="JavaScript">
<!--
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") {
if (google_ads.length > 0) {
/*
* For text ads, append each ad to the string.
*/
s +='<div class="todayCommend">';
s +='<div class="title"><h5>Google提供的广告</h5></div>';
s +='<div class="adRtext2"><ul>';
for(i=0; i < 3; i++) {
s +='<li><a href="' + google_ads.url + '">' + google_ads.line1 + '</a>';
s +='<br /><DIV style="ADDING-TOP: 3px">'+google_ads.line2+google_ads.line3+'</DIV>';
s +='<a href="' + google_ads.url + '"><span style="color:#f00;">'+ google_ads.visible_url + '</span></a></li>';
}
s +='</ul></div></div>';
}
}
document.write(s);
return;
}
google_ad_client = 'ca-netease_js'; // 'ca-netease_js' is your client_id
google_ad_channel = 'biz';
google_ad_output = 'js';
google_max_num_ads = '3';
google_page_url = 'http://biz.163.com';
google_language = 'zh-CN';
google_encoding = 'GB2312';
google_safe = 'high';
google_adtest = 'on';
// google_hints = '';
google_gl = 'CN';
// google_kw = 'flowers, red roses';
// google_kw_type = 'broad';
// google_contents = '';
google_ad_section = 'default';
// -->
</script>
<!--
/*
* The JavaScript returned from the following page uses
* the parameter values assigned above to populate an array
* of ad objects. Once that array has been populated,
* the JavaScript will call the google_ad_request_done
* function to display the ads.
*/
-->
<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div> |
|