//logo.js 
var how_many_ads = 4; 
var now = new Date() 
var sec = now.getSeconds() 
var ad = sec % how_many_ads; 
ad +=1; 
if (ad==1) { 
url="http://www.dangdang.com/lianmeng/league/login/login.asp?userid=P-1008061"; 
alt="当当书店"; 
banner="http://www.popbook.com/mz/yinxiang.gif"; 
width="350"; 
height="45"; 
}
if (ad==2) { 
url="https://www.paypal.com/row/mrb/pal=W9WLR7KFQMZ98"; 
alt="立即注册PayPal并开始接受信用卡付款。"; 
banner="http://www.popbook.com/ads/paypal_mrb_banner.gif"; 
width="468"; 
height="60"; 
}  
if (ad==3) { 
url="http://www.dangdang.com/lianmeng/league/login/login.asp?userid=P-1008061"; 
alt="当当书店"; 
banner="http://www.popbook.com/mz/yinxiang.gif"; 
width="350"; 
height="45"; 
}   
if (ad==4) { 
url="http://www.popbook.com/wenxue/"; 
alt="流行书站网络文学"; 
banner="http://www.popbook.com/ads/wenxue468.gif"; 
width="468"; 
height="60"; 
}   
document.write('<table border="0" width="468" id="table1" height="60" cellspacing="0" cellpadding="0">'); 
document.write('<tr><td><p align="center">'); 
document.write('<a href=\"' + url + '\" target=\"_blank\">'); 
document.write('<img src=\"'+ banner +'\"') 
document.write('width=' + width + ' height=' + height + ' '); 
document.write('alt=\"' + alt + '\" border=0>'); 
document.write('</a>');
document.write('</td><td width="115"><p align="center">'); 
document.write('<a href="http://union.dangdang.com/transfer/transfer.aspx?from=P-100806&backurl=http://product.dangdang.com/product.aspx?product_id=8867442">'); 
document.write('<img border="0" src="http://www.popbook.com/mz/red/gif/reddvd9.jpg" width="98" height="60"></a>'); 
document.write('</td></tr></table>'); 

