ÿþ/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / / B a n n e r   i n   N e t s c a p e   b a r   :   S c r o l l e r ( )  
 / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / *  
     v a r   x   =   0  
     v a r   y   =   0  
     v a r   z   =   1 4 0  
     v a r   d e l a y   =   7 0  
     v a r   t e x t   =   "                   W h a t e v e r   e x i s t s ,   o r   "  
 + " w h a t e v e r   d o e s   n o t   e x i s t   i s   a   m a t t e r   o f   t h o u g h t .   "  
 + " W e   c r e a t e   n o t h i n g .   "  
  
     	 w h i l e   ( y   + +   <   z )    
 	 {  
   	   t e x t   =   "   "   +   t e x t  
     	 }  
  
 f u n c t i o n   s c r o l l e r ( )    
 {  
 w i n d o w . s t a t u s   =   t e x t . s u b s t r i n g ( x + + ,   t e x t . l e n g t h ) ;  
     	 i f   ( x   = =   t e x t . l e n g t h )      
 	 {  
     	 x   =   0 ;  
     	 }  
 s e t T i m e o u t ( " s c r o l l e r ( ) " ,   d e l a y ) ;  
 }  
 s c r o l l e r ( ) ;  
  
 * /  
  
  
 / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / /   B a n n e r   i n s i d e   t h e   p a g e   :   B a n n e r ( )   :  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 v a r   m s g = '   - - - - - - -         #    (    *    +    ,    -    .    /    0    1    2    3    4    5    6    7    8    9    :    A    B    C    D    E    F    G    H    J  '  
 / / v a r   m s g = "                   E v e n   i f   y o u   d o   l e a r n   t o   "  
 / / + "   s p e a k   c o r r e c t   E n g l i s h ,   w h o m   a r e   y o u "  
 / / + "   g o i n g   t o   s p e a k   i t   t o   ? "  
  
 v a r   b a n T i m e 1 ;  
 f u n c t i o n   b a n n e r ( )  
 {  
 m s g = m s g . s u b s t r i n g ( 1 , m s g . l e n g t h ) + m s g . s u b s t r i n g ( 0 , 1 ) ;  
 d o c u m e n t . b a n n e r . t e x t . v a l u e = m s g ;  
 b a n T i m e 1 = s e t T i m e o u t ( " b a n n e r ( ) " , 1 0 0 ) ;  
 }  
  
  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
  
  
 / /   T o   p r e - l o a d   i m a g e s :  
 / / - - - - - - - - - - - - - - - - - -  
 v a r   S p e e d   =   3 0 0 0  
 / /   S p e e d   o f   a p e a r i n g   p i c t u r e s    
 v a r   P e r i o d   =   4  
 / /   P e r i o d   i n   s e c o n d s  
  
 v a r   P i c t u r e s =   n e w   A r r a y ( )    
 / /   S e t   o f   i m a g e s  
  
  
 P i c t u r e s [ 0 ]   =   ' I m a g e s / T h e P h r a s e . j p g '  
 P i c t u r e s [ 1 ]   =   ' I m a g e s / T h e P h r a s e 1 . j p g '  
 / *  
 P i c t u r e s [ 2 ]   =   ' T h e P h r a s e 3 . j p g '  
 P i c t u r e s [ 0 ]   =   ' C o r t o . g i f '  
 P i c t u r e s [ 1 ]   =   ' a b d e r . g i f '  
 P i c t u r e s [ 2 ]   =   ' e a r t h . j p g '  
 P i c t u r e s [ 3 ]   =   ' b u l l e t s . g i f '  
 P i c t u r e s [ 4 ]   =   ' l a b e l . j p g '  
 P i c t u r e s [ 5 ]   =   ' b o n n e v i l l e . j p g '  
 P i c t u r e s [ 6 ]   =   ' i s i W a y . j p g '  
 P i c t u r e s [ 7 ]   =   ' r u t h e r f o r d . g i f '  
 * /  
  
 v a r   T h i s T i m e  
 v a r   T h i s I m a g e   =   0  
 v a r   N u m b e r   =   P i c t u r e s . l e n g t h  
 v a r   T h e P i c t u r e   =   n e w   A r r a y ( )  
 f o r   ( i   =   0 ;   i   <   N u m b e r ;   i + + ) {  
 T h e P i c t u r e [ i ]   =   n e w   I m a g e ( )  
 T h e P i c t u r e [ i ] . s r c   =   P i c t u r e s [ i ]  
 }  
  
  
 f u n c t i o n   S h o w U p P i c t u r e ( )  
 {  
       	 i f   ( d o c u m e n t . a l l )  
 	 {  
             	 d o c u m e n t . i m a g e s . T h i s P i c t u r e . s t y l e . f i l t e r = " b l e n d T r a n s ( d u r a t i o n = 2 ) "  
             	 d o c u m e n t . i m a g e s . T h i s P i c t u r e . s t y l e . f i l t e r = " b l e n d T r a n s ( d u r a t i o n = P e r i o d ) "  
             	 d o c u m e n t . i m a g e s . T h i s P i c t u r e . f i l t e r s . b l e n d T r a n s . A p p l y ( )              
       	 }  
 	 d o c u m e n t . i m a g e s . T h i s P i c t u r e . s r c   =   T h e P i c t u r e [ T h i s I m a g e ] . s r c  
       	 i f   ( d o c u m e n t . a l l )  
 	 {  
             	 d o c u m e n t . i m a g e s . T h i s P i c t u r e . f i l t e r s . b l e n d T r a n s . P l a y ( )  
 	 }  
 T h i s I m a g e   =   T h i s I m a g e   +   1  
 i f   ( T h i s I m a g e   >   ( N u m b e r - 1 ) )   T h i s I m a g e   = 0  
 T h i s T i m e   =   s e t T i m e o u t ( ' S h o w U p P i c t u r e ( ) ' ,   S p e e d )  
 }  
  
  
  
 / /   S c r i p t s   f o r   c o n t e n t s :  
 / / - - - - - - - - - - - - - - - - - -  
 c o n t e n t 2 A r r a y   =   n e w   A r r a y ( " T I T L E 1 " , " T I T L E 2 " , " T I T L E 3 " , " T I T L E 3 M o r e " ) ;  
 c o n t e n t 3 A r r a y   =   n e w   A r r a y ( " T I T L E 1 1 " , " T I T L E 1 2 " , " T I T L E 1 4 " , " T I T L E 2 1 " , " T I T L E 2 2 " , " T I T L E 2 4 " ,  
 " T I T L E 3 1 " , " T I T L E 3 2 " , " T I T L E 3 4 " , " T I T L E 3 M o r e 1 " , " T I T L E 3 M o r e 2 " , " T I T L E 3 M o r e 4 " ) ;  
  
 f u n c t i o n   s h o w ( i d , w h i c h A r r a y )    
 {  
 	 i f   ( w h i c h A r r a y   = =   c o n t e n t 2 A r r a y )    
 	 {  
 	 	 f o r   ( i   i n   c o n t e n t 3 A r r a y )    
 	 	 {  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( c o n t e n t 3 A r r a y [ i ] ) . s t y l e . v i s i b i l i t y   =   " h i d d e n " ;  
 	 	 }  
 	 }  
 	 f o r   ( i   i n   w h i c h A r r a y )    
 	 {  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( w h i c h A r r a y [ i ] ) . s t y l e . v i s i b i l i t y   =   ( i d   = =   w h i c h A r r a y [ i ] )   ?   " v i s i b l e "   :   " h i d d e n " ;  
 	 }  
 }  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / /   P o p u p   W i n d o w s    
 v a r   n e w W i n ;  
 f u n c t i o n   p o p U p (   p a g e ,   n a m e ,   d e t a i l s )    
 {  
 n e w W i n = w i n d o w . o p e n ( p a g e ,   n a m e ,   d e t a i l s ) ;  
 n e w W i n . f o c u s ( ) ;  
 r e t u r n   f a l s e ;  
 }  
  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / /   U s i n g   i n   S e l e c t   a n d   O p t i o n   b o x e s :  
  
 	 f u n c t i o n   f o r m H a n d l e r ( f o r m )  
 	 {  
 	 v a r   U R L   =   f o r m . s i t e . o p t i o n s [ f o r m . s i t e . s e l e c t e d I n d e x ] . v a l u e ;  
 	 w i n d o w . l o c a t i o n . h r e f   =   U R L ;  
 	 }  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / /   S c r o l l i n g   t e x t .  
  
 v a r   s c r o l l e r w i d t h = " 5 0 0 p x "  
 v a r   s c r o l l e r h e i g h t = " 1 5 0 p x "  
 v a r   s c r o l l e r s p e e d = 1  
 / /   - - - - - - - - - - - - - - - - - - - - - - - -  
 v a r   s c r o l l e r c o n t e n t = ' < f o n t   f a c e = " H e l v e t i c a "   c o l o r = " y e l l o w "   s i z e = " 4 "   > < p   a l i g n = " c e n t e r " > < b > < b r >   T o   W h o m   I t   M a y   C o n c e r n : < b r >   I   a m   s e a r c h i n g   f o r   a   P h y s i c s   p o s i t i o n . < b r > I   a m   l o o k i n g   f o r w a r d   t o   h e a r i n g   f r o m   y o u . < b r > G l a n c e   a t : < a   h r e f = " h t t p : / / w w w 3 . s y m p a t i c o . c a / a j a j a / " > a j a j a . s y m p a t i c o . c a < / a >   F o r   m o r e   i n f o r m a t i o n < b r > < / b > < / p > < / f o n t > '  
 / /   - - - - - - - - - - - - - - - - - - - - - - - -  
 v a r   p a u s e i t = 1  
 s c r o l l e r s p e e d = ( d o c u m e n t . a l l ) ?   s c r o l l e r s p e e d   :   M a t h . m a x ( 1 ,   s c r o l l e r s p e e d - 1 )    
 v a r   c o p y s p e e d = s c r o l l e r s p e e d  
 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  
 v a r   a c t u a l h e i g h t = ' '  
 v a r   c r o s s _ s c r o l l e r ,   n s _ s c r o l l e r  
 v a r   p a u s e s p e e d = ( p a u s e i t = = 0 ) ?   c o p y s p e e d :   0  
  
 f u n c t i o n   p o p u l a t e ( )  
 {  
 	 i f   ( i e d o m )  
 	 {  
 	 c r o s s _ s c r o l l e r = 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 s c r o l l e r " )   :   d o c u m e n t . a l l . i e s c r o l l e r  
 	 c r o s s _ s c r o l l e r . s t y l e . t o p = p a r s e I n t ( s c r o l l e r h e i g h t ) + 8 + " p x "  
 	 c r o s s _ s c r o l l e r . i n n e r H T M L = s c r o l l e r c o n t e n t  
 	 a c t u a l h e i g h t = c r o s s _ s c r o l l e r . o f f s e t H e i g h t  
 	 }  
 	 e l s e   i f   ( d o c u m e n t . l a y e r s )  
 	 {  
 	 n s _ s c r o l l e r = d o c u m e n t . n s _ s c r o l l e r . d o c u m e n t . n s _ s c r o l l e r 2  
 	 n s _ s c r o l l e r . t o p = p a r s e I n t ( s c r o l l e r h e i g h t ) + 8  
 	 n s _ s c r o l l e r . d o c u m e n t . w r i t e ( s c r o l l e r c o n t e n t )  
 	 n s _ s c r o l l e r . d o c u m e n t . c l o s e ( )  
 	 a c t u a l h e i g h t = n s _ s c r o l l e r . d o c u m e n t . h e i g h t  
 	 }  
 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 s c r o l l e r ( ) " , 2 0 )  
 }  
 w i n d o w . o n l o a d = p o p u l a t e  
  
  
 f u n c t i o n   s c r o l l s c r o l l e r ( )  
 {  
 	 i f   ( i e d o m )  
 	 {  
 	 i f   ( p a r s e I n t ( c r o s s _ s c r o l l e r . s t y l e . t o p ) > ( a c t u a l h e i g h t * ( - 1 ) + 8 ) )  
 	 c r o s s _ s c r o l l e r . s t y l e . t o p = p a r s e I n t ( c r o s s _ s c r o l l e r . s t y l e . t o p ) - c o p y s p e e d + " p x "  
 	 e l s e  
 	 c r o s s _ s c r o l l e r . s t y l e . t o p = p a r s e I n t ( s c r o l l e r h e i g h t ) + 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   ( n s _ s c r o l l e r . t o p > ( a c t u a l h e i g h t * ( - 1 ) + 8 ) )  
 	 n s _ s c r o l l e r . t o p - = c o p y s p e e d  
 	 e l s e  
 	 n s _ s c r o l l e r . t o p = p a r s e I n t ( s c r o l l e r h e i g h t ) + 8  
 	 }  
 }  
  
 f u n c t i o n   W r i t i n g ( )  
 {  
 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 )  
 	 {  
 	 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 : ' + s c r o l l e r w i d t h + ' ; h e i g h t : ' + s c r o l l e r h e i g h t + ' ; o v e r f l o w : h i d d e n "   o n M o u s e o v e r = " c o p y s p e e d = p a u s e s p e e d "   o n M o u s e o u t = " c o p y s p e e d = s c r o l l e r s p e e d " > ' )  
 	 w r i t e ( ' < d i v   i d = " i e s c r o l l e r "   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 ; w i d t h : 1 0 0 % ; " > ' )  
 	 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 = ' + s c r o l l e r w i d t h + '   h e i g h t = ' + s c r o l l e r h e i g h t + '   n a m e = " n s _ s c r o l l e r " > ' )  
 	 w r i t e ( ' < l a y e r   n a m e = " n s _ s c r o l l e r 2 "   w i d t h = ' + s c r o l l e r w i d t h + '   h e i g h t = ' + s c r o l l e r h e i g h t + '   l e f t = 0   t o p = 0   o n M o u s e o v e r = " c o p y s p e e d = p a u s e s p e e d "   o n M o u s e o u t = " c o p y s p e e d = s c r o l l e r s p e e d " > < / l a y e r > ' )  
 	 w r i t e ( ' < / i l a y e r > ' )  
 	 }  
 	 }  
 }  
 }  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
        
  
  
 / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 
