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