ÿþv a r   m W = " 7 8 6 p x "   / / m a r q u e e   w i d t h  
 v a r   m H = " 1 8 p x "   / / m a r q u e e   h e i g h t  
 v a r   m S = 1   / / m a r q u e e   s p e e d   ( l a r g e r   i s   f a s t e r   1 - 1 0 )  
 v a r   m B G = " t r a n s p a r e n t "   / / m a r q u e e   b g c o l o r  
 v a r   p a u s e i t = 1   / / ( 0 = n o .   1 = y e s )  
  
 m S = ( d o c u m e n t . a l l ) ? m S : M a t h . m a x ( 1 , m S + 2 )  
 v a r   s p e e d = m S  
 v a r   p a u s e = ( p a u s e i t = = 0 ) ? s p e e d :   0  
 v a r   i e d o m = d o c u m e n t . a l l | | d o c u m e n t . g e t E l e m e n t B y I d  
 i f   ( i e d o m )  
 d o c u m e n t . w r i t e ( ' < s p a n   i d = " m T m p "   s t y l e = " v i s i b i l i t y : h i d d e n ;   p o s i t i o n : a b s o l u t e ;   t o p : - 1 0 0 p x ;   l e f t : - 9 0 0 0 p x ;   f o n t - w e i g h t : b o l d ;   f o n t - s i z e : 1 0 p t ; " > ' + m C o n t + ' < / s p a n > ' )  
 v a r   a c t W = ' '  
 v a r   m I E , m N S  
  
 f u n c t i o n   p o p u l a t e ( ) {  
 i f   ( i e d o m ) {  
 m I E = d o c u m e n t . g e t E l e m e n t B y I d ? d o c u m e n t . g e t E l e m e n t B y I d ( " i e m a r q u e e " ) : d o c u m e n t . a l l . i e m a r q u e e  
 m I E . s t y l e . l e f t = p a r s e I n t ( m W ) + 8 + " p x "  
 m I E . i n n e r H T M L = m C o n t  
 a c t W = d o c u m e n t . a l l ? m T m p . o f f s e t W i d t h : d o c u m e n t . g e t E l e m e n t B y I d ( " m T m p " ) . o f f s e t W i d t h  
 }  
 e l s e   i f   ( d o c u m e n t . l a y e r s ) {  
 m N S = d o c u m e n t . m N S . d o c u m e n t . m N S 2  
 m N S . l e f t = p a r s e I n t ( m W ) + 8  
 m N S . d o c u m e n t . w r i t e ( m C o n t )  
 m N S . d o c u m e n t . c l o s e ( )  
 a c t W = m N S . d o c u m e n t . w i d t h  
 }  
 l e f t t i m e = s e t I n t e r v a l ( " s c r o l l m a r q u e e ( ) " , 2 0 )  
 }  
  
 f u n c t i o n   s c r o l l m a r q u e e ( ) {  
 i f   ( i e d o m ) {  
 i f   ( p a r s e I n t ( m I E . s t y l e . l e f t ) > ( a c t W * ( - 1 ) + 8 ) )  
 m I E . s t y l e . l e f t = p a r s e I n t ( m I E . s t y l e . l e f t ) - s p e e d + " p x "  
 e l s e  
 m I E . s t y l e . l e f t = p a r s e I n t ( m W ) + 8 + " p x "  
  
 }  
 e l s e   i f   ( d o c u m e n t . l a y e r s ) {  
 i f   ( m N S . l e f t > ( a c t W * ( - 1 ) + 8 ) )  
 m N S . l e f t - = s p e e d  
 e l s e  
 m N S . l e f t = p a r s e I n t ( m W ) + 8  
 }  
 }  
  
 i f   ( i e d o m | | d o c u m e n t . l a y e r s ) {  
 w i t h   ( d o c u m e n t ) {  
 w r i t e ( ' < t a b l e   b o r d e r = 0   c e l l s p a c i n g = 0   c e l l p a d d i n g = 0 > < t r > < t d > ' )  
 i f   ( i e d o m ) {  
 w r i t e ( ' < d i v   s t y l e = " p o s i t i o n : r e l a t i v e ; w i d t h : ' + m W + ' ; h e i g h t : ' + m H + ' ; o v e r f l o w : h i d d e n " > ' )  
 w r i t e ( ' < d i v   s t y l e = " p o s i t i o n : a b s o l u t e ; w i d t h : ' + m W + ' ; h e i g h t : ' + m H + ' ; b a c k g r o u n d - c o l o r : ' + m B G + ' "   o n M o u s e o v e r = " s p e e d = p a u s e "   o n M o u s e o u t = " s p e e d = m S " > ' )  
 w r i t e ( ' < d i v   i d = " i e m a r q u e e "   s t y l e = " p o s i t i o n : a b s o l u t e ; l e f t : 0 p x ; t o p : 0 p x " > < / d i v > ' )  
 w r i t e ( ' < / d i v > < / d i v > ' )  
 }  
 e l s e   i f   ( d o c u m e n t . l a y e r s ) {  
 w r i t e ( ' < i l a y e r   w i d t h = ' + m W + '   h e i g h t = ' + m H + '   n a m e = " m N S "   b g C o l o r = ' + m B G + ' > ' )  
 w r i t e ( ' < l a y e r   n a m e = " m N S 2 "   l e f t = 0   t o p = 0   o n M o u s e o v e r = " s p e e d = p a u s e "   o n M o u s e o u t = " s p e e d = m S " > < / l a y e r > ' )  
 w r i t e ( ' < / i l a y e r > ' )  
 }  
 w r i t e ( ' < / t d > < / t r > < / t a b l e > ' )  
 }  
 }  
 i f   ( d o c u m e n t . a l l )   w i n d o w . a t t a c h E v e n t ( " o n l o a d " , p o p u l a t e )  
 e l s e   p o p u l a t e ( ) 
