þÿ / /   J a v a S c r i p t   D o c u m e n t 
 
 s t a r t L i s t   =   f u n c t i o n ( )   { 
         i f   ( 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 )   { 
             n a v R o o t   =   d o c u m e n t . g e t E l e m e n t B y I d ( " n a v " ) ; 
               f o r   ( i = 0 ;   i < n a v R o o t . c h i l d N o d e s . l e n g t h ;   i + + )   { 
                     n o d e   =   n a v R o o t . c h i l d N o d e s [ i ] ; 
                   i f   ( n o d e . n o d e N a m e = = " L I " )   { 
                             n o d e . o n m o u s e o v e r = f u n c t i o n ( )   { 
                                     t h i s . c l a s s N a m e + = "   o v e r " ; 
                             } 
                                 n o d e . o n m o u s e o u t = f u n c t i o n ( )   { 
                                         t h i s . c l a s s N a m e = t h i s . c l a s s N a m e . r e p l a c e ( "   o v e r " ,   " " ) ; 
                                 } 
                         } 
                 }                                 n a v R o o t   =   d o c u m e n t . g e t E l e m e n t B y I d ( " n a v 2 " ) ; 
               f o r   ( i = 0 ;   i < n a v R o o t . c h i l d N o d e s . l e n g t h ;   i + + )   { 
                     n o d e   =   n a v R o o t . c h i l d N o d e s [ i ] ; 
                   i f   ( n o d e . n o d e N a m e = = " L I " )   { 
                             n o d e . o n m o u s e o v e r = f u n c t i o n ( )   { 
                                     t h i s . c l a s s N a m e + = "   o v e r " ; 
                             } 
                                 n o d e . o n m o u s e o u t = f u n c t i o n ( )   { 
                                         t h i s . c l a s s N a m e = t h i s . c l a s s N a m e . r e p l a c e ( "   o v e r " ,   " " ) ; 
                                 } 
                         } 
                 } 
                n a v R o o t   =   d o c u m e n t . g e t E l e m e n t B y I d ( " n a v 3 " ) ; 
               f o r   ( i = 0 ;   i < n a v R o o t . c h i l d N o d e s . l e n g t h ;   i + + )   { 
                     n o d e   =   n a v R o o t . c h i l d N o d e s [ i ] ; 
                   i f   ( n o d e . n o d e N a m e = = " L I " )   { 
                             n o d e . o n m o u s e o v e r = f u n c t i o n ( )   { 
                                     t h i s . c l a s s N a m e + = "   o v e r " ; 
                             } 
                                 n o d e . o n m o u s e o u t = f u n c t i o n ( )   { 
                                         t h i s . c l a s s N a m e = t h i s . c l a s s N a m e . r e p l a c e ( "   o v e r " ,   " " ) ; 
                                 } 
                         } 
                 } 
          }  
 } 
 w i n d o w . o n l o a d = s t a r t L i s t ;
