home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Internet 2001 September
/
MICD2001_09_NR1.iso
/
Www
/
WebHelp
/
pliki
/
files
/
Banery_dol.js
next >
Wrap
Text File
|
2001-08-01
|
1KB
|
42 lines
var n=7;
var rnd=Math.floor(n*Math.random());
var url="", img="", alt="";
if(rnd==0) {
url="http://www.webhelp.pl";
img="../files/bannery/banner.gif";
alt="Webhelp";
} else
if(rnd==1) {
url="../reklama/index.html";
img="../files/bannery/twojareklama.gif";
alt="Twoja reklama";
} else
if(rnd==2) {
url="http://www.4free.pl";
img="../files/bannery/4free.gif";
alt="www.4free.pl";
} else
if(rnd==3) {
url="http://www.webhelp.pl";
img="../files/bannery/baner.gif";
alt="Webhelp";
} else
if(rnd==4) {
url="../konkurs/regulamin.html";
img="../files/bannery/konkurs_www.gif";
alt="Konkurs WWW";
} else
if(rnd==5) {
url="http://www.webhelp.pl/katalog";
img="../files/bannery/katalog_www.gif";
alt="Katalog Webhelp";
} else
if(rnd==6) {
url="../reklama/index.html";
img="../files/bannery/twojareklama.gif";
alt="Reklama w Webhelp";
};
document.write('<p align="center"><a href="'+url+'">');
document.write('<img name="banlos" border="0" width="468" height="60" src="'+img);
document.writeln('" alt="'+alt+'"></a></p>');