  //////  -- subject Homepage Board   -- ///////
 var speed = 2; // change scroll speed with this value /**  * Initialize the marquee, and start the marquee by calling the marquee function.  */

 function shp_init(){   
 var el = document.getElementById("marquee_replacement");   
 el.style.overflow = 'hidden';  
 var randomnumber = Math.floor(Math.random()*el.scrollHeight);    
 el.scrollTop = randomnumber;
 scrollFromBottom(); 
 }   

  var go = 0; 
  var timeout = ''; 
  /**  * This is where the scroll action happens.  * Recursive method until stopped.  */
 function scrollFromBottom(){  
 clearTimeout(timeout);  
 var el = document.getElementById("marquee_replacement");   
 if(el.scrollTop >= el.scrollHeight-170){     
 el.scrollTop = 0;   
 };   
 el.scrollTop = el.scrollTop + speed;   
 if(go == 0){     
 timeout = setTimeout("scrollFromBottom()",50);   
 }; 
 }    /**  * Set the stop variable to be true (will stop the marquee at the next pass).  */
 
 function shp_stop(){   
 go = 1; 
 }    
 /**  * Set the stop variable to be false and call the marquee function.  
 
 */function shp_start(){  
  go = 0;   
  scrollFromBottom(); 
 } 

