// Distributed by http://www.hypergurl.com
// Scrollers width here (in pixels)
var scrollerwidth="541px"
// Scrollers height here
var scrollerheight="27px"
// Scrollers speed here (larger is faster 1-10)
var scrollerspeed=2
// Scrollers content goes here! Keep all of the message on the same line!
var pauseit=1
// Change nothing below!
scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
var actualwidth=''
var cross_scroller;
var pausespeed=(pauseit==0)? copyspeed: 0

function obj(id)
{
	return document.getElementById(id);
}

function populate(){
	if (iedom){
		cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
		cross_scroller.style.left=parseInt(scrollerwidth)+8+"px"
		cross_scroller.innerHTML=obj("ScrollContent").innerHTML
		actualwidth=obj("ScrollContent").offsetWidth
	}
	lefttime=setInterval("scrollscroller()",20)
}
window.onload=populate

function scrollscroller(){
	if (iedom){
		if (parseInt(cross_scroller.style.left)>(actualwidth*(-1)+8))
			cross_scroller.style.left=parseInt(cross_scroller.style.left)-copyspeed+"px"
		else
			cross_scroller.style.left=parseInt(scrollerwidth)+8+"px"
	}
}

if (iedom||document.layers){
	with (document){
		if (iedom){
			write('<div style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden; margin-left: 10px;" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">')
			write('<div id="iescroller" style="position:absolute;left:0px;top:0px;width:100%;white-space: nowrap;">')
			write('</div></div>')
		}
	}
}

