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="870px"
	
	// Scrollers height here
	var theHeight = 15	
	
	if ((navigator.appVersion).indexOf("Macintosh")!=-1)
	{theHeight = theHeight-1}
	
	var scrollerheight = theHeight + 'px'
	
	// 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
			
			//-(element height) below for instant show, 0 for delayed show
			cross_scroller.style.top=parseInt(scrollerheight)-theHeight+"px"			
			
			actualheight=cross_scroller.offsetHeight
			
			//use for delayed show
			//if (isIE)
				//{lefttime=setInterval("scrollscroller()",theSpeed-10)}
			//else
				//{lefttime=setInterval("scrollscroller()",theSpeed)}
				
			//use for instant show (along with element height line above)
			lefttime=setInterval("scrollscroller()",pauseTime)
		}
	}

	//window.onload=populate
		
	function scrollscroller()
	{		
		//increase position (scroll)
		if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+0))
			{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','')-0) % theHeight) == 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)}
		}
	}	

