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

