Skrypt do wyświetlania losowych banerów na stronie

<title>www.infoprog.pl</title><script language="JavaScript">

i=0;
var ads = new Object();
var header='<CENTER><TABLE CELLPADDING=0 CELLSPACING=1 BORDER=0><TR><TD '
+ 'ALIGN=CENTER><FONT SIZE=2 FACE=Arial>SimplytheBest DHTML Scripts & JavaScripts is sponsored by: ';
ads[i++] = header
+'<A HREF="http://planmagic.com" TARGET="_top">PlanMagic Corporation</A>'
+'</TD><TR></TR><TD><A HREF="http://planmagic.com/marketingplanning.html" TARGET'
+'="_top"><CENTER><IMG SRC="../banners/plmmarban.gif" width="468" height="60" BORDER=0 ALT="PlanMagic Marketing"></CENTER>'
+'</A></TD></TR></TABLE></CENTER>';
ads[i++] = header
+'<A HREF="http://planmagic.com" TARGET="_top">PlanMagic Corporation</A>'
+'<BR>OPEN THE DOOR TO THE WORLD OF WEB MARKETING</TD><TR></TR><TD><A HREF="http://webquestpro.com" TARGET'
+'="_top"><CENTER><IMG SRC="../banners/plmbiz.gif" width="468" height="60" BORDER=0 ALT="PlanMagic WebQuest Pro"></CENTER>'
+'</A></TD></TR></TABLE></CENTER>';
ads.length = i;
dat = new Date();
dat = (dat.getTime()+"").charAt(8);
if (dat.length == 1)
ad_num = dat%ads.length;
else
ad_num = 0;
document.write(ads[ad_num]);

</script>