//scroller width: change to your own;
var swidth=300

//scroller height: change to your own;
var sheight=90

//background color: change to your own; 
var sbcolor="#FFEFDB"

//scroller's speed: change to your own;
var sspeed=2

var wholemessage=''

//text: change to your own

//preload one Image:
//srcpng1 = new Image();
//srcpng1.src = "http://members.rogers.com/bazil/internet.gif";

wholemessage='<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+
'&nbsp;&nbsp;&nbsp;&nbsp;'+
'<u>Upcoming events</u>'+
'<div align="left"><br><a href="shiva_schedule.html">Next SHIVA class on Sunday, Feb-02-2003</a></DIV>'+
'<div align="left"><br><a href="shivaratri.html">Shivaratri Festival on Sunday, Mar-09-2003</html></DIV>'
//-- end Parameters-->
//-- begin: Scroller's Algorithm -->

var resumesspeed=sspeed
function start_scroll(){
if (document.all) iemarquee(slider);
else if (document.getElementById)
ns6marquee(document.getElementById('slider'));
else if(document.layers)
ns4marquee(document.slider1.document.slider2);
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
iediv.innerHTML=wholemessage 
iediv.style.pixelTop=sheight
sizeup=iediv.offsetHeight
ieslide()
}
function ieslide(){
if (iediv.style.pixelTop>=sizeup*(-1)){
iediv.style.pixelTop-=sspeed
setTimeout("ieslide()",100)
}
else{
iediv.style.pixelTop=sheight
ieslide()
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
ns4layer.document.write(wholemessage)
ns4layer.document.close()
sizeup=ns4layer.document.height
ns4layer.top-=sizeup
ns4slide()
}
function ns4slide(){
if (ns4layer.top>=sizeup*(-1)){
ns4layer.top-=sspeed
setTimeout("ns4slide()",100)
}
else{
ns4layer.top=sheight
ns4slide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
ns6div.innerHTML=wholemessage
ns6div.style.top=sheight
sizeup=ns6div.offsetHeight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6slide()",100)
}
else{
ns6div.style.top=sheight
ns6slide()
}
}
