var how_many_ads = 1;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==12) {                   
url="http://www.okhere.net/shop/"   
alt="¿¼ÑÐÊéµê";
banner="http://www.okhere.net/images/BOOKSTORE_1.gif"
width="468";     
height="60";    
type=1
}

if (ad==1) {                   
url="http://shop.okhere.net/xlb-107-1/"   
alt="";
banner="http://www.okhere.net/images3/gongshi_ad1.gif"
width="468";     
height="60";    
type=1
}
if (type==2){
document.writeln('<center>');
document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="480" height="60"><param name=movie');
document.writeln('value=\"' + banner + '\"><param name=quality value=high>');
document.writeln('<embed src=\"' + banner + '\" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="480" height="60"></embed></object>')
document.writeln('</center>');
}
if (type==1){
document.writeln('<center>');
document.writeln('<a href=\"' + url + '\" target=\"_blank\">');
document.writeln('<img src=\"' + banner + '\" width=');
document.writeln(width + ' height=' + height + ' ');
document.writeln('alt=\"' + alt + '\" border=0><br>');
document.writeln('</a></center>');
}
