ÿþf u n c t i o n   O b j e c t A D ( )   {  
     / *   D e f i n e   V a r i a b l e s * /  
     t h i s . A D I D                 =   0 ;  
     t h i s . A D T y p e             =   0 ;  
     t h i s . A D N a m e             =   " " ;  
     t h i s . I m g U r l             =   " " ;  
     t h i s . I m g W i d t h         =   0 ;  
     t h i s . I m g H e i g h t       =   0 ;  
     t h i s . F l a s h W m o d e     =   0 ;  
     t h i s . L i n k U r l           =   " " ;  
     t h i s . L i n k T a r g e t     =   0 ;  
     t h i s . L i n k A l t           =   " " ;  
     t h i s . P r i o r i t y         =   0 ;  
     t h i s . C o u n t V i e w       =   0 ;  
     t h i s . C o u n t C l i c k     =   0 ;  
     t h i s . I n s t a l l D i r     =   " " ;  
     t h i s . A D D I R               =   " " ;  
 }  
  
 f u n c t i o n   P o p Z o n e A D ( _ i d )   {  
     / *   D e f i n e   C o m m o n   V a r i a b l e s * /  
     t h i s . I D                     =   _ i d ;  
     t h i s . Z o n e I D             =   0 ;  
     t h i s . Z o n e N a m e         =   " " ;  
     t h i s . Z o n e W i d t h       =   0 ;  
     t h i s . Z o n e H e i g h t     =   0 ;  
     t h i s . S h o w T y p e         =   1 ;  
     t h i s . D i v N a m e           =   " " ;  
     t h i s . D i v                   =   n u l l ;  
  
     / *   D e f i n e   U n i q u e   V a r i a b l e s * /  
     t h i s . P o p T y p e           =   0 ;  
     t h i s . L e f t                 =   0 ;  
     t h i s . T o p                   =   0 ;  
     t h i s . C o o k i e H o u r     =   0 ;  
  
     / *   D e f i n e   O b j e c t s   * /  
     t h i s . A l l A D               =   n e w   A r r a y ( ) ;  
     t h i s . S h o w A D             =   n u l l ;  
  
     / *   D e f i n e   F u n c t i o n s   * /  
     t h i s . A d d A D               =   P o p Z o n e A D _ A d d A D ;  
     t h i s . G e t S h o w A D       =   P o p Z o n e A D _ G e t S h o w A D ;  
     t h i s . C o o k i e C h e c k   =   P o p Z o n e A D _ C o o k i e C h e c k ;  
     t h i s . S h o w                 =   P o p Z o n e A D _ S h o w ;  
     t h i s . S t r u c t             =   P o p Z o n e A D _ S t r u c t ;  
     t h i s . W i n d o w             =   P o p Z o n e A D _ W i n d o w ;  
  
 }  
  
 f u n c t i o n   P o p Z o n e A D _ A d d A D ( _ A D )   {  
     t h i s . A l l A D [ t h i s . A l l A D . l e n g t h ]   =   _ A D ;  
 }  
  
 f u n c t i o n   P o p Z o n e A D _ G e t S h o w A D ( )   {  
     i f   ( t h i s . S h o w T y p e   >   1 )   {  
         t h i s . S h o w A D   =   t h i s . A l l A D [ 0 ] ;  
         r e t u r n ;  
     }  
     v a r   n u m   =   t h i s . A l l A D . l e n g t h ;  
     v a r   s u m   =   0 ;  
     f o r   ( v a r   i   =   0 ;   i   <   n u m ;   i + + )   {  
         s u m   =   s u m   +   t h i s . A l l A D [ i ] . P r i o r i t y ;  
     }  
     i f   ( s u m   < =   0 )   { r e t u r n   ; }  
     v a r   r n d N u m   =   M a t h . r a n d o m ( )   *   s u m ;  
     i   =   0 ;  
     j   =   0 ;  
     w h i l e   ( t r u e )   {  
         j   =   j   +   t h i s . A l l A D [ i ] . P r i o r i t y ;  
         i f   ( j   > =   r n d N u m )   { b r e a k ; }  
         i + + ;  
     }  
     t h i s . S h o w A D   =   t h i s . A l l A D [ i ] ;  
 }  
  
 f u n c t i o n   P o p Z o n e A D _ S h o w ( )   {  
     i f   ( ! t h i s . A l l A D )   {  
         r e t u r n ;  
     }   e l s e   {  
         t h i s . G e t S h o w A D ( ) ;  
     }  
  
     i f   ( t h i s . S h o w A D   = =   n u l l )   r e t u r n   f a l s e ;  
     i f   ( t h i s . C o o k i e C h e c k ( ) )   r e t u r n   f a l s e ;  
     t h i s . D i v N a m e   =   " P o p Z o n e A D _ D i v "   +   t h i s . Z o n e I D ;  
     i f   ( t h i s . S h o w A D . A D D I R = = " " )   t h i s . S h o w A D . A D D I R   =   " A D "  
     i f   ( t h i s . P o p T y p e   = =   3 )   {  
         w i n d o w . s h o w M o d e l e s s D i a l o g ( " "   +   t h i s . S h o w A D . I n s t a l l D i r   +   t h i s . S h o w A D . A D D I R   +   " / A D S h o w . a s p ? A D I D = "   +   t h i s . S h o w A D . A D I D   +   " " , " " , " s c r o l l : 0 ; s t a t u s : 0 ; h e l p : 0 ; t o o l b a r = 0 ; r e s i z a b l e : 0 ; d i a l o g T o p : "   +   t h i s . T o p   +   " p x ; d i a l o g L e f t : "   +   t h i s . L e f t   +   " p x ; d i a l o g W i d t h : "   +   t h i s . Z o n e W i d t h   +   " p x ; d i a l o g H e i g h t : "   +   t h i s . Z o n e H e i g h t   +   " p x " ) ;  
     }   e l s e   {  
         v a r   O K   =   t h i s . S t r u c t ( ) ;  
         i f   ( O K )   O K . d o c u m e n t . w r i t e ( t h i s . W i n d o w ( ) ) ;  
     }  
     i f   ( t h i s . S h o w A D . C o u n t V i e w )   {  
         d o c u m e n t . w r i t e   ( " < s c r i p t   s r c = ' "   +   t h i s . S h o w A D . I n s t a l l D i r   +   t h i s . S h o w A D . A D D I R   +   " / A D C o u n t . a s p ? A c t i o n = V i e w & A D I D = "   +   t h i s . S h o w A D . A D I D   +   " ' > < / s c r i p t > " )  
     }  
 }  
  
 f u n c t i o n   P o p Z o n e A D _ S t r u c t ( )   {  
     v a r   w i n w i d t h   =   ( t h i s . P o p T y p e = = 4 )   ?   ( s c r e e n . w i d t h   -   9 ) :   ( p a r s e I n t ( ( t h i s . S h o w A D . I m g W i d t h )   ?   t h i s . S h o w A D . I m g W i d t h   :   3 5 0 )   -   4 ) ;  
     v a r   w i n h e i g h t   =   ( t h i s . P o p T y p e = = 4 )   ?   ( s c r e e n . h e i g h t   -   5 6 ) :   ( p a r s e I n t ( ( t h i s . S h o w A D . I m g H e i g h t )   ?   t h i s . S h o w A D . I m g H e i g h t   :   2 5 0 )   -   4 ) ;  
     v a r   w i n l e f t   =   ( t h i s . P o p T y p e = = 4 )   ?   0 :   ( ( t h i s . L e f t )   ?   t h i s . L e f t   :   0 ) ;  
     v a r   w i n t o p   =   ( t h i s . P o p T y p e = = 4 )   ?   0 :   ( ( t h i s . T o p )   ?   t h i s . T o p   :   0 ) ;  
     r e t u r n   w i n d o w . o p e n ( " a b o u t : b l a n k " ,   " " , " t o o l b a r = n o , l o c a t i o n = n o , d i r e c t o r i e s = n o , s t a t u s = n o , m e n u b a r = n o , s c r o l l b a r s = n o , w i d t h = "   +   w i n w i d t h   +   " , h e i g h t = "   +   w i n h e i g h t   +   " , t o p = "   +   w i n t o p   +   " , l e f t = "   +   w i n l e f t ) ;  
 }  
  
 f u n c t i o n   P o p Z o n e A D _ W i n d o w ( )   {  
     v a r   s t r W i n ;  
     s t r W i n   =   " < h t m l > < h e a d > < m e t a   h t t p - e q u i v = ' c o n t e n t - t y p e '   c o n t e n t = ' t e x t / h t m l ;   c h a r s e t = g b 2 3 1 2 ' > < t i t l e > " ;  
     s t r W i n   + =   ( t h i s . P o p T y p e = = 4 )   ?   " ± ³ Í ¶ ¹ ã ¸ æ "   :   " P O P A D " ;  
     s t r W i n   + =   " < / t i t l e > " ;  
     i f   ( t h i s . P o p T y p e = = 2 | | t h i s . P o p T y p e = = 4 )   {  
         s t r W i n   + =   " \ n < S c r i p t   l a n g u a g e = ' J a v a s c r i p t ' > \ n " ;  
         s t r W i n   + =   " b l u r ( ) ; \ n " ;  
         s t r W i n   + =   " < \ / S c r i p t > " ;  
     }  
     s t r W i n   + =   " < / h e a d > < b o d y   s c r o l l = n o   s t y l e = ' m a r g i n : 0 ; b o r d e r : n o n e ' > " ;  
     s t r W i n   + =   A D _ C o n t e n t ( t h i s . S h o w A D ) ;  
     s t r W i n   + =   " < / b o d y > < / h t m l > " ;  
     r e t u r n   s t r W i n ;  
 }  
  
 f u n c t i o n   P o p Z o n e A D _ C o o k i e C h e c k ( )   {  
     i f   ( ! t h i s . C o o k i e H o u r )   r e t u r n   f a l s e ;  
     v a r   N o w   =   n e w   D a t e ( ) ;  
     v a r   s t r T o d a y   =   S t r i n g ( N o w . g e t Y e a r ( ) )   +   S t r i n g ( N o w . g e t M o n t h ( )   +   1 )   +   S t r i n g ( N o w . g e t D a t e ( ) ) ;  
     v a r   A D C o o k i e   =   " A D _ C o o k i e _ "   +   t h i s . Z o n e I D  
     i f   ( G e t C o o k i e ( A D C o o k i e )   = =   s t r T o d a y )  
         r e t u r n   t r u e ;  
     e l s e   {  
         N o w . s e t T i m e ( N o w . g e t T i m e ( )   +   ( p a r s e F l o a t ( t y p e o f ( t h i s . C o o k i e H o u r )   = =   " u n d e f i n e d "   ?   2 4   :   p a r s e F l o a t ( t h i s . C o o k i e H o u r ) )   *   6 0   *   6 0   *   1 0 0 0 ) ) ;  
         A D _ S e t C o o k i e ( A D C o o k i e ,   s t r T o d a y ,   N o w ) ;  
         r e t u r n   f a l s e ;  
     }  
 }  
  
 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   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   A D _ S e t C o o k i e ( n a m e ,   v a l u e )  
 {  
         v a r   a r g v   =   A D _ S e t C o o k i e . a r g u m e n t s ;  
         v a r   a r g c   =   A D _ S e t C o o k i e . a r g u m e n t s . l e n g t h ;  
         v a r   e x p i r e s   =   ( a r g c   >   2 )   ?   a r g v [ 2 ] :   n u l l ;  
         v a r   p a t h   =   ( a r g c   >   3 )   ?   a r g v [ 3 ] :   n u l l ;  
         v a r   d o m a i n   =   ( a r g c   >   4 )   ?   a r g v [ 4 ] :   n u l l ;  
         v a r   s e c u r e   =   ( a r g c   >   5 )   ?   a r g v [ 5 ] :   f a l s 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   = =   n u l l )   ?   " "   :   ( " ;   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   = =   n u l l )   ?   " "   :   ( " ;   p a t h = "   +   p a t h ) )   +   ( ( d o m a i n   = =   n u l l )   ?   " "   :   ( " ;   d o m a i n = "   +   d o m a i n ) )   +   ( ( s e c u r e   = =   t r u e )   ?   " ;   s e c u r e "   :   " " ) ;  
 }  
  
 f u n c t i o n   A D _ C o n t e n t ( o )   {  
     v a r   s t r   =   " " ;  
     i f   ( o . A D T y p e   = =   1   | |   o . A D T y p e   = =   2 )   {  
     i m g u r l   =   o . I m g U r l   . t o L o w e r C a s e ( )  
         i f   ( o . I n s t a l l D i r . i n d e x O f ( " h t t p : / / " )   ! =   -   1 )   i m g u r l   =   o . I n s t a l l D i r . s u b s t r ( 0 ,   o . I n s t a l l D i r . l e n g t h   -   1 )   +   i m g u r l ;  
         i f   ( i m g u r l . i n d e x O f ( " . s w f " )   ! =     -   1 )   {  
             s t r   =   " < o b j e c t   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 : / / 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 = 7 , 0 , 0 , 0 ' " ;  
             s t r   + =   "   n a m e = ' A D _ "   +   o . A D I D   +   " '   i d = ' A D _ "   +   o . A D I D   +   " ' " ;  
             s t r   + =   "   w i d t h = ' "   +   o . I m g W i d t h   +   " p x ' " ;  
             s t r   + =   "   h e i g h t = ' "   +   o . I m g H e i g h t   +   " p x ' " ;  
             i f   ( o . s t y l e )   s t r   + =   "   s t y l e = ' "   +   o . s t y l e   +   " ' " ;  
             i f   ( o . e x t f u n c )   s t r   + =   "   "   +   o . e x t f u n c   +   "   " ;  
             s t r   + =   " > " ;  
             s t r   + =   " < p a r a m   n a m e = ' m o v i e '   v a l u e = ' "   +   i m g u r l   +   " ' > " ;  
             i f   ( o . F l a s h W m o d e   = =   1 )   s t r   + =   " < p a r a m   n a m e = ' w m o d e '   v a l u e = ' T r a n s p a r e n t ' > " ;  
             i f   ( o . p l a y )   s t r   + =   " < p a r a m   n a m e = ' p l a y '   v a l u e = ' "   +   o . p l a y   +   " ' > " ;  
             i f   ( t y p e o f ( o . l o o p )   ! =   " u n d e f i n e d " )   s t r   + =   " < p a r a m   n a m e = ' l o o p '   v a l u e = ' "   +   o . l o o p   +   " ' > " ;  
             s t r   + =   " < p a r a m   n a m e = ' q u a l i t y '   v a l u e = ' a u t o h i g h ' > " ;  
             s t r   + =   " < e m b e d   " ;  
             s t r   + =   "   n a m e = ' A D _ "   +   o . A D I D   +   " '   i d = ' A D _ "   +   o . A D I D   +   " ' " ;  
             s t r   + =   "   w i d t h = ' "   +   o . I m g W i d t h   +   " p x ' " ;  
             s t r   + =   "   h e i g h t = ' "   +   o . I m g H e i g h t   +   " p x ' " ;  
             i f   ( o . s t y l e )   s t r   + =   "   s t y l e = ' "   +   o . s t y l e   +   " ' " ;  
             i f   ( o . e x t f u n c )   s t r   + =   "   "   +   o . e x t f u n c   +   "   " ;  
             s t r   + =   "   s r c = ' "   +   i m g u r l   +   " ' " ;  
             i f   ( o . F l a s h W m o d e   = =   1 )   s t r   + =   "   w m o d e = ' T r a n s p a r e n t ' " ;  
             i f   ( o . p l a y )   s t r   + =   "   p l a y = ' "   +   o . p l a y   +   " ' " ;  
             i f   ( t y p e o f ( o . l o o p )   ! =   " u n d e f i n e d " )   s t r   + =   "   l o o p = ' "   +   o . l o o p   +   " ' " ;  
             s t r   + =   "   q u a l i t y = ' a u t o h i g h ' "  
             s t r   + =   "   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 / s h o c k w a v e / d o w n l o a d / i n d e x . c g i ? P 1 _ P r o d _ V e r s i o n = S h o c k w a v e F l a s h '   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 ' > < / e m b e d > " ;  
             s t r   + =   " < / o b j e c t > " ;  
         }   e l s e   i f   ( i m g u r l . i n d e x O f ( " . g i f " )   ! =     -   1   | |   i m g u r l . i n d e x O f ( " . j p g " )   ! =     -   1   | |   i m g u r l . i n d e x O f ( " . j p e g " )   ! =     -   1   | |   i m g u r l . i n d e x O f ( " . b m p " )   ! =     -   1   | |   i m g u r l . i n d e x O f ( " . p n g " )   ! =     -   1 )   {  
             i f   ( o . L i n k U r l )   {  
                 i f   ( o . C o u n t C l i c k )   o . L i n k U r l   =   o . I n s t a l l D i r   +   o . A D D I R   +   " / A D C o u n t . a s p ? A c t i o n = C l i c k & A D I D = "   +   o . A D I D  
                 s t r   + =   " < a   h r e f = ' "   +   o . L i n k U r l   +   " '   t a r g e t = ' "   +   ( ( o . L i n k T a r g e t   = =   0 )   ?   " _ s e l f "   :   " _ b l a n k " )   +   " '   t i t l e = ' "   +   o . L i n k A l t   +   " ' > " ;  
             }  
             s t r   + =   " < i m g   " ;  
             s t r   + =   "   n a m e = ' A D _ "   +   o . A D I D   +   " '   i d = ' A D _ "   +   o . A D I D   +   " ' " ;  
             i f   ( o . s t y l e )   s t r   + =   "   s t y l e = ' "   +   o . s t y l e   +   " ' " ;  
             i f   ( o . e x t f u n c )   s t r   + =   "   "   +   o . e x t f u n c   +   "   " ;  
             s t r   + =   "   s r c = ' "   +   i m g u r l   +   " ' " ;  
             i f   ( o . I m g W i d t h )   s t r   + =   "   w i d t h = ' "   +   o . I m g W i d t h   +   " p x ' " ;  
             i f   ( o . I m g H e i g h t )   s t r   + =   "   h e i g h t = ' "   +   o . I m g H e i g h t   +   " p x ' " ;  
             s t r   + =   "   b o r d e r = ' 0 ' > " ;  
             i f   ( o . L i n k U r l )   s t r   + =   " < / a > " ;  
         }  
     }   e l s e   i f   ( o . A D T y p e   = =   3   | |   o . A D T y p e   = =   4 )   {  
         s t r   =   o . A D I n t r o  
     }   e l s e   i f   ( o . A D T y p e   = =   5 )   {  
         s t r   =   " < i f r a m e   i d = ' "   +   " A D _ "   +   o . A D I D   +   " '   m a r g i n w i d t h = 0   m a r g i n h e i g h t = 0   h s p a c e = 0   v s p a c e = 0   f r a m e b o r d e r = 0   s c r o l l i n g = n o   w i d t h = 1 0 0 %   h e i g h t = 1 0 0 %   s r c = ' "   +   o . A D I n t r o   +   " ' > w a i t < / i f r a m e > " ;  
     }  
     r e t u r n   s t r ;  
 }  
  
  
 v a r   Z o n e A D _ 1   =   n e w   P o p Z o n e A D ( " Z o n e A D _ 1 " ) ;  
 Z o n e A D _ 1 . Z o n e I D             =   1 ;  
 Z o n e A D _ 1 . Z o n e W i d t h       =   6 8 7 ;  
 Z o n e A D _ 1 . Z o n e H e i g h t     =   5 3 4 ;  
 Z o n e A D _ 1 . S h o w T y p e         =   1 ;  
 Z o n e A D _ 1 . P o p T y p e           =   1 ;  
 Z o n e A D _ 1 . L e f t                 =   1 0 0 ;  
 Z o n e A D _ 1 . T o p                   =   1 0 0 ;  
 Z o n e A D _ 1 . C o o k i e H o u r     =   0 ;  
  
 v a r   o b j A D   =   n e w   O b j e c t A D ( ) ;  
 o b j A D . A D I D                       =   1 ;  
 o b j A D . A D T y p e                   =   1 ;  
 o b j A D . A D N a m e                   =   " 0W@Wü[*‚" ;  
 o b j A D . I m g U r l                   =   " / k i n g s z u n / A D / U p l o a d A D P i c / 2 0 1 0 0 5 / 2 0 1 0 0 5 1 8 2 0 5 3 4 1 4 9 . g i f " ;  
 o b j A D . I n s t a l l D i r           =   " / k i n g s z u n / " ;  
 o b j A D . I m g W i d t h               =   6 8 7 ;  
 o b j A D . I m g H e i g h t             =   5 3 4 ;  
 o b j A D . F l a s h W m o d e           =   0 ;  
 o b j A D . A D I n t r o                 =   " 0W@Wü[*‚" ;  
 o b j A D . L i n k U r l                 =   " h t t p : / / x a - h g . c o m " ;  
 o b j A D . L i n k T a r g e t           =   1 ;  
 o b j A D . L i n k A l t                 =   " " ;  
 o b j A D . P r i o r i t y               =   1 ;  
 o b j A D . C o u n t V i e w             =   0 ;  
 o b j A D . C o u n t C l i c k           =   0 ;  
 o b j A D . A D D I R                     =   " A D " ;  
 Z o n e A D _ 1 . A d d A D ( o b j A D ) ;  
  
 Z o n e A D _ 1 . S h o w ( ) ;  
 
