// Scrollers width here (in pixels)
var scrollerwidth1="170px"

// Scrollers height here
var scrollerheight1="70px"

// Scrollers speed here (larger is faster 1-10)
var scrollerspeed1=2

// Scrollers content goes here! Keep all of the message on the same line!

var scrollercontent1='<div align="left" style="z-index:5; padding-top:2px;" class="Arial-12-grey"><li class="n-i"><a href="bl_quiz10.html" class="Arial-12-grey">Ad Club Business Line Quiz 2010<br /><span class="arial-11">Last date for entries - 31st Mar 2010</span></a></li><br /><li class="n-i"><a href="gallery.php?f=gy_260210" class="Arial-12-grey">Gyan Series Tea Meeting<br /> - February 2010</a></li><br /><li class="n-i">Tamizh Awards 2009<br><div style="padding-top:2px;"><a href="pdf/tamil-awards-09.pdf" target="_blank" class="arial-11">- View Details</a></div><div style="padding-top:2px;"><a href="pdf/tamil-awards-09_entryform.pdf" target="_blank" class="arial-11">- Download Entry Form</a></div></li><br /><li class="n-i"><a href="gallery.php?f=cric_09_ad" class="Arial-12-grey">Adclub-Sportstar Twenty /20 Cricket Tournament</a></li></div>';


var pauseit1=1


// Change nothing below!

scrollerspeed1=(document.all)? scrollerspeed1 : Math.max(1, scrollerspeed1-1) //slow speed down by 1 for NS
var copyspeed1=scrollerspeed1
var iedom1=document.all||document.getElementById
var actualheight1=''
var cross_scroller1, ns_scroller1
var pausespeed1=(pauseit1==0)? copyspeed1: 0

function populate1(){
if (iedom1){
cross_scroller1=document.getElementById? document.getElementById("iescroller1") : document.all.iescroller1
cross_scroller1.style.top=parseInt(scrollerheight1)+8+"px"
cross_scroller1.innerHTML=scrollercontent1
actualheight1=cross_scroller1.offsetHeight
}
else if (document.layers1){
ns_scroller1=document.ns_scroller1.document.ns_scroller3
ns_scroller1.top=parseInt(scrollerheight1)+8
ns_scroller1.document.write(scrollercontent1)
ns_scroller1.document.close()
actualheight1=ns_scroller1.document.height
}
lefttime=setInterval("scrollscroller1()",100)
}
window.onload=populate1

function scrollscroller1()
{
if (iedom1){
if (parseInt(cross_scroller1.style.top)>(actualheight1*(-1)+8))
cross_scroller1.style.top=parseInt(cross_scroller1.style.top)-copyspeed1+"px"
else
cross_scroller1.style.top=parseInt(scrollerheight1)+8+"px"
}
else if (document.layers1){
if (ns_scroller1.top>(actualheight1*(-1)+8))
ns_scroller1.top-=copyspeed1
else
ns_scroller1.top=parseInt(scrollerheight1)+8
}
}

if (iedom1||document.layers1){
with (document){
if (iedom1){
write('<div style="position:relative;width:'+scrollerwidth1+';height:'+scrollerheight1+';overflow:hidden" onMouseover="copyspeed1=pausespeed1" onMouseout="copyspeed1=scrollerspeed1">')
write('<div id="iescroller1" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers1){
write('<ilayer width='+scrollerwidth1+' height='+scrollerheight1+' name="ns_scroller1">')
write('<layer name="ns_scroller3" width='+scrollerwidth1+' height='+scrollerheight1+' left=0 top=0 onMouseover="copyspeed1=pausespeed1" onMouseout="copyspeed1=scrollerspeed1"></layer>')
write('</ilayer>')
}
}
}