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