// works for FireFox
// Scrollers width here (in pixels)
var scrollerwidth="100px"
// Scrollers height here
var scrollerheight="750px"
var scrollerspeed=-1
var pauseit=1

// Change nothing below!
scrollerspeed=(document.all)? scrollerspeed : -1 
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
var actualheight=''
var cross_scroller, ns_scroller
var pausespeed=(pauseit==0)? copyspeed: 0
	

function populate(scrollercontent){
	scrollercontent = scrollercontent.replace(/xx123/g,"http://");
	if (iedom){
		cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
		cross_scroller.style.bottom=parseInt(scrollerheight)+8+"px"
		cross_scroller.innerHTML=scrollercontent
		actualheight=cross_scroller.offsetHeight
	}
	else if (document.layers){
			ns_scroller=document.ns_scroller.document.ns_scroller2
			ns_scroller.bottom=parseInt(scrollerheight)+8
			ns_scroller.document.write(scrollercontent)
			ns_scroller.document.close()
			actualheight=ns_scroller.document.height
		}
		lefttime=setInterval("scrollscroller()",20)
	}

function scrollscroller(){
	if (iedom){
			if (parseInt(cross_scroller.style.bottom)<(actualheight-8)) 
			{
				cross_scroller.style.bottom=parseInt(cross_scroller.style.bottom)+copyspeed+"px"
				if(parseInt(cross_scroller.style.bottom) == (-1)*actualheight)
				{
					cross_scroller.style.bottom=parseInt(scrollerheight)+8+"px"
				}
			}
		}
		else if (document.layers){
				if (parseInt(ns_scroller.bottom)<(actualheight-8))
				{
					ns_scroller.bottom+=copyspeed
					if(parseInt(ns_scroller.bottom) == (-1)*actualheight)
					{
						ns_scroller.bottom=parseInt(scrollerheight)+8
					}
				}
			}
		}
		if (iedom||document.layers){
			with (document){
				if (iedom){
					write('<div style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">')
					write('<div id="iescroller" style="position:absolute;left:0px;bottom:0px;width:100%;">')
					write('</div></div>')
				}
				else if (document.layers){
					write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller">')
					write('<layer name="ns_scroller2" width='+scrollerwidth+' height='+scrollerheight+' left=0 bottom=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed"></layer>')
					write('</ilayer>')
				}
		}
	}
	