				<!-- Container setup -->
				ie = document.all 
				iens6=document.all||document.getElementById
				ns4=document.layers
		
				<!-- Lower is faster -->
				var scrollspeed
				if (ie)
					scrollspeed = 40
				else
					scrollspeed = 40
				
				var step=1
				function preparar() {
					if (iens6){
						document.write('<div id="container" style="position:relative; width:128; height:150px; overflow:hidden; border:0px ridge white" >')
						document.write('<div id="content" style="position:relative; width:128; left:0; top:0" >')
					}
				}
				
				<!-- scroll down function -->
				function scrolldown() {
					if(window.scrolltimerup){
						clearTimeout(scrolltimerup)
						
					}
					if(iens6&&parseInt(contentobj.style.top)>=(contentheight*(-1)+100)){
						contentobj.style.top=parseInt(contentobj.style.top)-step
					}else 
					{
						stopall()
						if (iens6) {
							contentobj.style.top=0
						}else{
							contentobj.top=0
						}
					}
					if(ns4&&contentobj.top>=(contentheight*(-1)+100)){
						contentobj.top-=step
					}
					scrolltimerdown =  setTimeout("scrolldown()",scrollspeed)
				}
				<!-- scroll up function -->
				function scrollup() {
					if(window.scrolltimerdown){
						clearTimeout(scrolltimerdown)
					}
					if(iens6&&parseInt(contentobj.style.top)<=0){
						contentobj.style.top=parseInt(contentobj.style.top)+step
					}else if(ns4&&contentobj.top<=0){ 
						contentobj.top+=step
					}
					scrolltimerup = setTimeout("scrollup()",scrollspeed)	
				}
				<!-- function to stop all scroll timers -->
				function stopall() {
					if(window.scrolltimerup){
						clearTimeout(scrolltimerup)
					}
					if(window.scrolltimerdown){
						clearTimeout(scrolltimerdown)
					}
				}
				<!-- function that shifts the object to top -->
				function shifttotop(){
					stopall()
					if (iens6) {
						contentobj.style.top=0
					}else{
						contentobj.top=0
					}
					scrolldown()
					
				}
		
				function getcontent_height(){
					if (iens6)
					contentheight=contentobj.offsetHeight
				}
		
				function iniciar(){
					getcontent_height()
					scrolldown()
				}
