var mW="456px" //marquee width
var mH="18px" //marquee height
var mS=1 //marquee speed (larger is faster 1-10)
var mBG="#6985AD" //marquee bgcolor
var pauseit=1 //(0=no. 1=yes)

mS=(document.all)?mS:Math.max(1,mS+2)
var speed=mS
var pause=(pauseit==0)?speed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="mTmp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+mCont+'</span>')
var actW=''
var mIE,mNS

function populate(){
if (iedom){
mIE=document.getElementById?document.getElementById("iemarquee"):document.all.iemarquee
mIE.style.left=parseInt(mW)+8+"px"
mIE.innerHTML=mCont
actW=document.all?mTmp.offsetWidth:document.getElementById("mTmp").offsetWidth
}
else if (document.layers){
mNS=document.mNS.document.mNS2
mNS.left=parseInt(mW)+8
mNS.document.write(mCont)
mNS.document.close()
actW=mNS.document.width
}
lefttime=setInterval("scrollmarquee()",20)
}

function scrollmarquee(){
if (iedom){
if (parseInt(mIE.style.left)>(actW*(-1)+8))
mIE.style.left=parseInt(mIE.style.left)-speed+"px"
else
mIE.style.left=parseInt(mW)+8+"px"

}
else if (document.layers){
if (mNS.left>(actW*(-1)+8))
mNS.left-=speed
else
mNS.left=parseInt(mW)+8
}
}

if (iedom||document.layers){
with (document){
write('<table border=0 cellspacing=0 cellpadding=0><tr><td>')
if (iedom){
write('<div style="position:relative;width:'+mW+';height:'+mH+';overflow:hidden">')
write('<div style="position:absolute;width:'+mW+';height:'+mH+';background-color:'+mBG+'" onMouseover="speed=pause" onMouseout="speed=mS">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+mW+' height='+mH+' name="mNS" bgColor='+mBG+'>')
write('<layer name="mNS2" left=0 top=0 onMouseover="speed=pause" onMouseout="speed=mS"></layer>')
write('</ilayer>')
}
write('</td></tr></table>')
}
}
if (document.all) window.attachEvent("onload",populate)
else populate()