 
  
 v a r   i m g n a m e = n e w   A r r a y ( )   ;      
     i m g n a m e [ 0 ] = " i m a g e s / m e n u _ m u 8 _ 1 . g i f "   ;      
     i m g n a m e [ 1 ] = " i m a g e s / m e n u _ m u 8 _ 1 a . g i f " ;  
     i m g n a m e [ 2 ] = " i m a g e s / m e n u _ m u 8 _ 2 . g i f "   ;  
     i m g n a m e [ 3 ] = " i m a g e s / m e n u _ m u 8 _ 2 a . g i f "   ;  
     i m g n a m e [ 4 ] = " i m a g e s / m e n u _ m u 8 _ 3 . g i f " ;    
     i m g n a m e [ 5 ] = " i m a g e s / m e n u _ m u 8 _ 3 a . g i f " ;    
     i m g n a m e [ 6 ] = " i m a g e s / m e n u _ m u 8 _ 4 . g i f " ;    
     i m g n a m e [ 7 ] = " i m a g e s / m e n u _ m u 8 _ 4 a . g i f " ;    
      
     v a r     i m g p r e l o a d 1 ;  
     i m g p r e l o a d 1 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 1 . s r c = i m g n a m e [ 0 ] ;    
   v a r     i m g p r e l o a d 2 ;  
     i m g p r e l o a d 2 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 2 . s r c = i m g n a m e [ 1 ] ;    
       v a r     i m g p r e l o a d 3 ;  
     i m g p r e l o a d 3 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 3 . s r c = i m g n a m e [ 2 ] ;    
       v a r     i m g p r e l o a d 4 ;  
     i m g p r e l o a d 4 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 4 . s r c = i m g n a m e [ 3 ] ;    
       v a r     i m g p r e l o a d 5 ;  
     i m g p r e l o a d 5 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 5 . s r c = i m g n a m e [ 4 ] ;    
       v a r     i m g p r e l o a d 6 ;  
     i m g p r e l o a d 6 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 6 . s r c = i m g n a m e [ 5 ] ;    
         v a r     i m g p r e l o a d 7 ;  
     i m g p r e l o a d 7 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 7 . s r c = i m g n a m e [ 6 ] ;    
       v a r     i m g p r e l o a d 8 ;  
     i m g p r e l o a d 8 = n e w   I m a g e ( ) ;  
     i m g p r e l o a d 8 . s r c = i m g n a m e [ 7 ] ;    
   / /   v a r   C u r C l a s s I D ;  
        
 f u n c t i o n   c o n t e n t m e n u ( n a m e , i d , a l l N u m ) {  
 	                  
  
 	                          
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( n a m e + i d ) ! = n u 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 m e   +   i d ) . s t y l e . d i s p l a y = " " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( n a m e + " a "   +   i d ) ! = n u 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 m e + " a "   +   i d ) . s t y l e . d i s p l a y = " " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " c l s _ " + n a m e + i d ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " c l s _ " + n a m e + i d ) . c l a s s N a m e = " m e n u 1 " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k _ " + n a m e + i d ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k _ " + n a m e + i d ) . c l a s s N a m e = " l i n k _ b l u e " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k 2 _ " + n a m e + i d ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k 2 _ " + n a m e + i d ) . c l a s s N a m e = " l i n k _ r e d _ b " ;  
 	 	 	 }  
                 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " m e n u i m g _ " + n a m e + i d ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " m e n u i m g _ " + n a m e + i d ) . s r c = " i m a g e s / m e n u _ " + n a m e + i d + " a . g i f " ;  
 	 	 	 }  
 	 f o r ( i = 1 ; i < = a l l N u m ; i = i + 1 )   {  
 	 i f ( i ! = i d ) {  
  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( n a m e + i ) ! = n u 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 m e   +   i ) . s t y l e . d i s p l a y = " n o n e " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( n a m e   +   " a "   +   i ) ! = n u 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 m e   +   " a "   +   i ) . s t y l e . d i s p l a y = " n o n e " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " c l s _ " + n a m e + i ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " c l s _ " + n a m e + i ) . c l a s s N a m e = " m e n u 2 " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k _ " + n a m e + i ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k _ " + n a m e + i ) . c l a s s N a m e = " l i n k _ b l a c k " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k 2 _ " + n a m e + i ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " a l i n k 2 _ " + n a m e + i ) . c l a s s N a m e = " l i n k _ b l a c k " ;  
 	 	 	 }  
 	 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( " m e n u i m g _ " + n a m e + i ) ! = n u l l ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " m e n u i m g _ " + n a m e + i ) . s r c = " i m a g e s / m e n u _ " + n a m e + i + " . g i f " ;  
 	 	 	 }  
 	 	 }  
 	 } 	 	  
 }  
      
  
  
  
 / *  
  
 f u n c t i o n   t u r n i t ( f 1 0 m e n u , f 1 0 i m g )  
 {  
   i f   ( f 1 0 m e n u . s t y l e . d i s p l a y = = " n o n e " )    
     { f 1 0 m e n u . s t y l e . d i s p l a y = " b l o c k " ;  
       f 1 0 i m g . s r c = " i m a g e s / q u o t e _ a r r o w _ d o w n . g i f " ;  
 }  
   e l s e  
     { f 1 0 m e n u . s t y l e . d i s p l a y = " n o n e " ;    
       f 1 0 i m g . s r c = " i m a g e s / q u o t e _ a r r o w . g i f " ; }  
 }  
 * / 