marqueespeed1=(document.all)? marqueespeed1 : Math.max(1, marqueespeed1-1) //slow speed down by 1 for NS
var copyspeed1=marqueespeed1
var pausespeed1=(pauseit1==0)? copyspeed1: 0
var iedom1=document.all||document.getElementById
var actualheight1=''
var cross_marquee1, ns_marquee1

function populate1(){
	
if (iedom1){
cross_marquee1=document.getElementById? document.getElementById("iemarquee1") : document.all.iemarquee1
cross_marquee1.style.top=parseInt(marqueeheight1)+8+"px"
cross_marquee1.innerHTML=marqueecontent1
actualheight1=cross_marquee1.offsetHeight
}
else if (document.layers){
ns_marquee1=document.ns_marquee1.document.ns_marquee3
ns_marquee1.top=parseInt(marqueeheight1)+8
ns_marquee1.document.write(marqueecontent1)
ns_marquee1.document.close()
actualheight1=ns_marquee1.document.height
}
lefttime1=setInterval("scrollmarquee1()",20)
}
window.onload=populate1

function scrollmarquee1(){

	if (iedom1){
		if (parseInt(cross_marquee1.style.top)>(actualheight1*(-1)+8))
		cross_marquee1.style.top=parseInt(cross_marquee1.style.top)-copyspeed1+"px"
		else
		cross_marquee1.style.top=parseInt(marqueeheight1)+8+"px"
		}
		else if (document.layers){
		if (ns_marquee1.top>(actualheight1*(-1)+8))
		ns_marquee1.top-=copyspeed1
		else
		ns_marquee1.top=parseInt(marqueeheight1)+8
	}
}

if (iedom1||document.layers){
with (document){
if (iedom1){
	
write('<div style="position:relative;width:'+marqueewidth1+';height:'+marqueeheight1+';overflow:hidden" onMouseover="copyspeed1=pausespeed1" onMouseout="copyspeed1=marqueespeed1">')
write('<div id="iemarquee1" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth1+' height='+marqueeheight1+' name="ns_marquee1">')
write('<layer name="ns_marquee3" width='+marqueewidth1+' height='+marqueeheight1+' left=0 top=0 onMouseover="copyspeed1=pausespeed1" onMouseout="copyspeed1=marqueespeed1"></layer>')
write('</ilayer>')
}
}
}