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