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