/*
copyright Dynamic Drive (www.dynamicdrive.com)
*/

//Specify the marquee's width (in pixels)
var marqueewidth=144
//Specify the marquee's height
var marqueeheight=130
//Specify the marquee's scroll speed (larger is faster)
var speed=1
//Specify the marquee contents
var marqueecontents='<DIV CLASS=sampletext style="{padding-left: 11px; font-size: 12px}">' +

'<P>21 PAŹDZIERNIKA'+'<P><b>1831</b> - Kapitulacja powstańczego Zamościa'+'<P><b>1947</b> - W obawie przed aresztowaniem Stanisław Mikołajczyk potajemnie opuszcza Polskę'+'<P><b>1966</b> - Leszek Kołakowski wygłasza odczyt, będący bezpośrednią przyczyną wykluczenia go z PZPR (31 X)'+'<P><b>1976</b> - Otwarto szosę szybkiego ruchu Warszawa-Katowice, zwaną "Gierkostradą"'+'<P><b>1987</b> - W imieniu "Solidarności" Lech Wałęsa wzywa do bojkotu referendum w sprawie reform gospodarczych'+'<P>'+'</FONT></DIV>'

if (document.all)
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}

function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write(marqueecontents)
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.height
scrollit()
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.top=marqueeheight
scrollit()
}
}

window.onload=regenerate2
