// JavaScript Document


// Scrollers width here (in pixels)
var scrollerwidth2="520px"

// Scrollers height here
var scrollerheight2="58px"

// Scrollers speed here (larger is faster 1-10)
var scrollerspeed2=1



// Scrollers content goes here! Keep all of the message on the same line!


var scrollercontent2=msggenp
var pauseit2=1


// Change nothing below!

scrollerspeed2=(document.all)? scrollerspeed2 : Math.max(1, scrollerspeed2-1) //slow speed down by 1 for NS
var copyspeed2=scrollerspeed2
var iedom2=document.all||document.getElementById
var actualheight2=''
var cross_scroller2, ns_scroller2
var pausespeed2=(pauseit2==0)? copyspeed2: 0

function populate2(){
if (iedom2){
cross_scroller2=document.getElementById? document.getElementById("iescroller2") : document.all.iescroller2
cross_scroller2.style.top=parseInt(scrollerheight2)+8+"px"
cross_scroller2.innerHTML=scrollercontent2
actualheight2=cross_scroller2.offsetHeight
}
else if (document.layers){
ns_scroller2=document.ns_scroller2.document.ns_scroller22
ns_scroller2.top=parseInt(scrollerheight2)+8
ns_scroller2.document.write(scrollercontent2)
ns_scroller2.document.close()
actualheight2=ns_scroller2.document.height
}
lefttime=setInterval("scrollscroller2()",80)
}

function scrollscroller2(){

if (iedom2){
if (parseInt(cross_scroller2.style.top)>(actualheight2*(-1)+8))
cross_scroller2.style.top=parseInt(cross_scroller2.style.top)-copyspeed2+"px"
else
cross_scroller2.style.top=parseInt(scrollerheight2)+8+"px"
}
else if (document.layers){
if (ns_scroller2.top>(actualheight2*(-1)+8))
ns_scroller2.top-=copyspeed2
else
ns_scroller2.top=parseInt(scrollerheight2)+8
}
}

if (iedom2||document.layers){
with (document){
if (iedom2){
write('<div style="position:relative;width:'+scrollerwidth2+';height:'+scrollerheight2+';overflow:hidden" onMouseover="copyspeed2=pausespeed2" onMouseout="copyspeed2=scrollerspeed2">')
write('<div id="iescroller2" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+scrollerwidth2+' height='+scrollerheight2+' name="ns_scroller2">')
write('<layer name="ns_scroller22" width='+scrollerwidth2+' height='+scrollerheight2+' left=0 top=0 onMouseover="copyspeed2=pausespeed2" onMouseout="copyspeed2=scrollerspeed2"></layer>')
write('</ilayer>')
}
}
}

