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

