// JavaScript Document

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
						var copyspeed=marqueespeed
						var pausespeed=(pauseit==0)? copyspeed: 0
						var iedom=document.all||document.getElementById
						if (iedom)
						document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
						var actualheight=''
						var cross_marquee, ns_marquee
						 
						function populate(){
						if (iedom){
						cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
						cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
						cross_marquee.innerHTML=marqueecontent
						actualheight=document.all? temp.offsetHeight : document.getElementById("temp").offsetHeight
						var divheight=document.getElementById('iemarquee').offsetHeight;
						}
						else if (document.layers){
						ns_marquee=document.ns_marquee.document.ns_marquee2
						ns_marquee.top=parseInt(marqueeheight)+8
						ns_marquee.document.write(marqueecontent)
						ns_marquee.document.close()
						actualheight=ns_marquee.document.height
						}
						toptime=setInterval("scrollmarquee()",20)
						}
						
						
						function scrollmarquee(){
						if (iedom){
						divheight=document.getElementById('iemarquee').offsetHeight;
						if (parseInt(cross_marquee.style.top)>(divheight*(-1)+8))
						{
						cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
						}
						else
						cross_marquee.style.top=parseInt(marqueeheight)+0+"px"
						}
						}
						if (iedom||document.layers){
						with (document){
						document.write('<table width="95%" align="left" id="container" border="0" cellspacing="0" cellpadding="0" style="border-left:2px solid #B5B5B5; border-bottom:2px solid #B5B5B5; border-right:1px solid #EEEEEE; border-top:1px solid #EEEEEE;"><td align="center">')
						if (iedom){
						write('<div align="left" style="position:relative; left:5px; width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
						write('<div align="left" style="position:absolute; left:5px; width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'>')
						write('<div align="left" id="iemarquee" style="position:absolute; left:8px; top:0px; width:'+marqueewidth+'"></div>')
						write('</div></div>')
						}
						document.write('</td></table>')
						}
						}