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