Скрин:
При каждом обновлении сраницы будут появляться разные баннеры.
Вставьте следующий код в нужном месте вашей страницы между тегами
Code
<script>
rand = Math.floor(Math.random() * 19);
if (rand == 1) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-1 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-1/$file/ph468-1.jpg alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 2) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-2 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-2/$file/ph468-2.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 3) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-3 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-3/$file/ph468-3.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 4) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-4 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-4/$file/ph468-4.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 5) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-6 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-6/$file/ph468-6.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 6) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-7 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-7/$file/ph468-7.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 7) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-8 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-8/$file/ph468-8.jpg alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 8) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-9 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-9/$file/ph468-9.jpg alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 9) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-10 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-10/$file/ph468-10.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 10) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-11 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-11/$file/ph468-11.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 11) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-12 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-12/$file/ph468-12.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 12) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-13 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-13/$file/ph468-13.jpg alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 13) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=prolog468-1 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/prolog468-1/$file/prolog468-1.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 14) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ta468-1 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ta468-1/$file/ta468-1.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 15) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=loto468 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/loto468/$file/loto468.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 16) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=loto468-1 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/loto468-1/$file/loto468-1.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 17) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=loto468-2 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/loto468-2/$file/loto468-2.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else if (rand == 18) {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=loto468-3 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/loto468-3/$file/loto468-3.gif alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
else {
document.write("<a href=http://www.loto.ru/partner.nsf/visit?OpenAgent&ref=www.programmings.h1.ru&bid=ph468-14 target=_top><img src=http://www.loto.ru/partner.nsf/Lookup/ph468-14/$file/ph468-14.GIF alt='affiliate.loto.ru - сервис партнерских программ' border=0 height=60 width=468></a>");
}
</script>
В каждом из 18 разделов ссылки на банеры меняете на свои и соответствено надпись-affiliate.loto.ru - сервис партнерских программ-тоже меняете на свою.