function isIE(){  return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);}
	
	// Distributed by http://www.hypergurl.com
	
	// DIV containing the scroller
	var theElement="scroll_box_inner"
	
	// Scrollers width here (in pixels)
	var scrollerwidth="450px"
	
	// Scrollers height here
	var scrollerheight="36px"
	
	// Scrollers speed here (larger is faster 1-10)
	var theSpeed=8
	
	// Pause on mouse-over?
	var pauseit=1
	
	//time to pause on content (milliseconds)
	var pauseTime=4000
	
	// Change nothing below! -----------------------------------------------------
	if (theSpeed<1 || theSpeed>10) {theSpeed=5}
	theSpeed=220-(theSpeed*20)
	var scrollerspeed=1
	var copyspeed=scrollerspeed
	var actualheight=''
	var cross_scroller, ns_scroller, mainPosition, timerVar
	var pausespeed=(pauseit==0)? copyspeed: 0

	function populate()
	{
		if (document.getElementById(theElement))
		{
			cross_scroller=document.getElementById? document.getElementById(theElement) : document.all.theElement
			
			//-32 below for instant show
			cross_scroller.style.top=parseInt(scrollerheight)+0+"px"			
			
			actualheight=cross_scroller.offsetHeight
			
			//initialize intervals
			if (isIE)
				{lefttime=setInterval("scrollscroller()",theSpeed-10)}
			else
				{lefttime=setInterval("scrollscroller()",theSpeed)}
		}
	}

	//window.onload=populate
		
	function scrollscroller()
	{		
		//increase position (scroll)
		if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+5))
			{cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"}
		else
			{cross_scroller.style.top=parseInt(scrollerheight)+0+"px"}		
	
		//if content is centered, then reinitialize inteval for 1.5 second
		mainPosition = cross_scroller.style.top
		if ((Math.abs(mainPosition.replace('px','')-5) % 41) == 0)
		{
			clearInterval(lefttime)
			lefttime=setInterval("scrollscroller()",pauseTime)
		}
		else
		{
			//content is no longer centered, continue regular speed
			clearInterval(lefttime)
			if (isIE)
				{lefttime=setInterval("scrollscroller()",theSpeed-10)}
			else
				{lefttime=setInterval("scrollscroller()",theSpeed)}
		}
	}	
