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