ÿþ/ / C h r i s t o p h   B e r g m a n n / /  
 v a r   m a x = 0 ;  
 f u n c t i o n   t e x t l i s t ( )  
 {  
 m a x = t e x t l i s t . a r g u m e n t s . l e n g t h ;  
 f o r   ( i = 0 ;   i < m a x ;   i + + )  
 t h i s [ i ] = t e x t l i s t . a r g u m e n t s [ i ] ;  
 }  
  
 t l = n e w   t e x t l i s t    
 (  
 " W a l d   m i t   6 6 9   %   i n   1 5   J a h r e n " ,  
 " S o l a r f o n d s   i n   F r a n k r e i c h   v e r f ü g b a r " ,  
 " I n d i e n :   H o t e l p r o j e k t   o h n e   Z w i s c h e n f o n d s   m i t   s t i l l e n   R e s e r v e n " ,  
 " W a s s e r k r a f t   i n   d e r   T ü r k e i "  
 ) ;  
  
 v a r   x = 0 ;   p o s = 0 ;   v a r   l = t l [ 0 ] . l e n g t h ;      
  
 f u n c t i o n   t e x t t i c k e r ( )  
 {  
 d o c u m e n t . f o r m 1 . t e x t f e l d . v a l u e = t l [ x ] . s u b s t r i n g ( 0 , p o s ) + " _ " ;  
 i f ( p o s + + = = l )  
 {  
 p o s = 3 ;  
 s e t T i m e o u t ( " t e x t t i c k e r ( ) " , 1 0 0 0 ) ;  
 x + + ;  
 i f ( x = = m a x )  
 x = 0 ;  
 l = t l [ x ] . l e n g t h ;  
 }   e l s e    
 s e t T i m e o u t ( " t e x t t i c k e r ( ) " , 5 4 ) ;  
 }  
 
