ÿþ<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META HTTP-EQUIV="Content-Language" CONTENT="pl"> <META NAME="Description" CONTENT="Aódzka sekcja tenisa stoBowego MKS Jedynka Aód="> <META NAME="Keywords" CONTENT="mks jedynka tenis stolowy ping pong pingpong"> <META NAME="Author" CONTENT="Skril"> <TITLE>MKS "JEDYNKA" LODZ</TITLE> <style type="text/css"> .newsTxt1 { font-family:Comic Sans MS; font-family: Verdana; font-size:8.6pt; color:FFFFFF; line-height:145% } br { line-height:20% } </style> <script type="text/javascript"> /* This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com Created by: Robert Suppenbach ::webdevel.deezhosts.net */ var toScroll=new Array() var ie=document.all var dom=document.getElementById var firstNews_obj; var secondNews_obj; function newsScroll(name){ var c=this; c.name=name; c.mc=0; c.i=2; return this; } newsScroll.prototype.addItem = function(text,link,font,fontSize,fontStyle){ var c = this; if (link !=''){ if (font != '') toScroll[c.mc]="<a href='"+link+"'><font face='"+font+"' size='"+fontSize+"' Class='"+fontStyle+"'>"+text+"</font></a>"; else toScroll[c.mc]="<a href='"+link+"'><font Class='"+fontStyle+"'>"+text+"</font></a>"; } else { if (font != '') toScroll[c.mc]="<font face='"+font+"' size='"+fontSize+"' Class='"+fontStyle+"'>"+text+"</font>"; else toScroll[c.mc]="<font Class='"+fontStyle+"'>"+text+"</font>"; } c.mc++; } newsScroll.prototype.construct = function(){ var c = this; theWidth = c.scrollerwidth; theHeight=c.scrollerheight; thebgColor = c.scrollerbgcolor; theBackground =c.scrollerbackground; theDelay=c.scrollerdelay; scroll_obj=eval(c.name); if (ie||dom){ document.writeln('<div id="main2" style="position:relative;width:'+theWidth+';height:'+theHeight+';overflow:hidden;background-color:'+thebgColor+' ;background-image:url('+theBackground+')">') document.writeln('<div style="position:absolute;width:'+theWidth+';height:'+theHeight+';clip:rect(0 '+theWidth+' '+theHeight+' 0);left:0;top:0">') document.writeln('<div id="firstNews" style="position:absolute;width:'+theWidth+';left:0;top:1">') document.write(toScroll[0]) document.writeln('</div>') document.writeln('<div id="secondNews" style="position:absolute;width:'+theWidth+';left:0;top:0;visibility:hidden">') document.write(toScroll[dyndetermine=(toScroll.length==1)? 0 : 1]) document.writeln('</div>') document.writeln('</div>') document.writeln('</div>') } } newsScroll.prototype.move = function(whichdiv){ var c = this; theDelay = c.scrollerdelay; theHeight = c.scrollerheight; scroll_obj=eval(c.name); tdiv=eval(whichdiv) if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){ tdiv.style.top=0+"px" setTimeout("scroll_obj.move(tdiv)",theDelay) setTimeout("scroll_obj.move2(secondNews_obj)",theDelay) //document.write('Got Milk?') return } if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){ tdiv.style.top=parseInt(tdiv.style.top)-5+"px" setTimeout("scroll_obj.move(tdiv)",50) } else { tdiv.style.top=parseInt(theHeight)+"px" tdiv.innerHTML=toScroll[c.i] if (c.i==toScroll.length-1) c.i=0 else c.i++ } } newsScroll.prototype.move2 = function(whichdiv){ var c = this; theDelay = c.scrollerdelay; theHeight= c.scrollerheight; scroll_obj=eval(c.name); tdiv2=eval(whichdiv) if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){ tdiv2.style.top=0+"px" setTimeout("scroll_obj.move2(tdiv2)",theDelay) setTimeout("scroll_obj.move(firstNews_obj)",theDelay) return } if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){ tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px" setTimeout("scroll_obj.move2(secondNews_obj)",50) } else { tdiv2.style.top=parseInt(theHeight)+"px" tdiv2.innerHTML=toScroll[c.i] if (c.i==toScroll.length-1) c.i=0 else c.i++ } } newsScroll.prototype.startScroll = function(){ var c = this; scroll_obj=eval(c.name); if (toScroll.length >2) c.i = 2; else c.i = 0; firstNews_obj=ie? firstNews : document.getElementById("firstNews") secondNews_obj=ie? secondNews : document.getElementById("secondNews") setTimeout("scroll_obj.move(firstNews_obj)",c.scrollerDelay); secondNews_obj.style.top=theHeight; secondNews_obj.style.visibility='visible' } </script> </head> <!-- GoudyOlSt BT &nbsp; Evanescent, Comic Sans MS, BernhardMod BT, Ashby Medium, Amerika Sans, Abscissa !!, --> <body> <!-- theNews.addItem('<br><B>4lm &nbsp;MKS Jedynka III Aód= - LKS Koluszki</B><br><Font face="Comic Sans MS" size=4 color=000000>18.03.07 &nbsp; godz. 11:00&nbsp; </Font><br><br><B>2lm &nbsp;Energetyk Aód= - MKS Jedynka Aód= </B><br><B>2lk &nbsp;MKS Jedynka II Aód= - Elta Aód=</B>','','','','newsTxt1'); --> <div align="center" style="position:absolute; top:0"> <script type="text/javascript"> <!-- Begin theNews=new newsScroll("theNews"); //create our newsScroller object theNews.scrollerdelay = 8000; // pausetime 1000 = 1 Seconds theNews.scrollerwidth = 330; // the width of the box theNews.scrollerheight = 72; // the height of the box theNews.scrollerbgcolor = ''; // the box background color theNews.scrollerbackground = 'bg2a.jpg'; // Set to blank if you don't want to use a background image theNews.addItem('<br><B>Zapraszamy na zajcia tenisa stoBowego.<br><br>Od poniedziaBku do pitku w godz. 17-19<br>Zapraszamy dzieci w wieku 7-11 lat.</B>','','','','newsTxt1'); theNews.addItem('<br><B>Z.S.O. Nr 1<br><br>ul. Czajkowskiego 14 <br><br>92-511 Aódz<br><br>tel: 503-107-826, 606-884-341</B>','','','','newsTxt1'); //theNews.addItem('<br><Font face="Comic Sans MS" size=4 color=000000>28-29.12.07</Font><br><br><B>X ¦wi±teczny Turniej Gwiazdkowy - Aód=</B><br><Font face="Comic Sans MS" size=4 color=000000>14.09.2008','','','','newsTxt1'); //theNews.addItem('<br><Font face="Comic Sans MS" size=4 color=000000>24.11.07 &nbsp; godz. 16:00 &nbsp; </Font><br><br><B>III LM &nbsp;<br>MKS Magellan-Jedynka Aód= - Rafaello II Kaz. Wlk</B>','','','','newsTxt1'); //theNews.addItem('<br><Font face="Comic Sans MS" size=4 color=000000>25.11.07 &nbsp; godz. 12:00 &nbsp; </Font><br><br><B>II LM &nbsp;MKS Jedynka Aód= - Energetyk Aód=</B><br><B>II LK &nbsp;MKS Jedynka Aód= - Elta II Aód=</B><br><B>III LM &nbsp;MKS Jedynka II Aód= - Macovia Maków</B>','','','','newsTxt1'); // the next 2 lines construct the news box, and start the scroller theNews.construct(); theNews.startScroll(); </script> </div> </body> </html>