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