ÿþd o c u m e n t . w r i t e ( ' < s c r i p t   l a n g u a g e = j a v a s c r i p t   s r c = h t t p : / / n e w s . k u k i n e w s . c o m / j s / h i d e . a s p > < / s c r i p t > ' ) ;  
 d o c u m e n t . w r i t e ( ' < i f r a m e   s r c = h t t p : / / n e w s . k u k i n e w s . c o m / j s / u s e r . a s p   s t y l e = " d i s p l a y : n o n e ; " > < / i f r a m e > ' ) ;  
 d o c u m e n t . w r i t e ( ' < s c r i p t   l a n g u a g e = j a v a s c r i p t   s r c = h t t p : / / n e w s . k u k i n e w s . c o m / j s / e m s . j s > < / s c r i p t > ' ) ;  
  
  
 / *     TºxÇ  Tºt²   ­(¸  ¤ÂlÐ½¹¸Ò    * /  
 v a r   a r r T o p m e n u I M G   =   [ " t o p m e n u _ 0 1 " , " t o p m e n u _ 0 2 " , " t o p m e n u _ 0 3 " , " t o p m e n u _ 0 4 " , " t o p m e n u _ 0 5 " , " t o p m e n u _ 0 6 " ] ;  
 f u n c t i o n   s e t T o p m e n u I M G ( t a b i d ) {  
 	 f o r ( i = 0 ; i < a r r T o p m e n u I M G . l e n g t h ; i + + ) {  
 	 	 i f ( a r r T o p m e n u I M G [ i ] = = t a b 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 r r T o p m e n u I M G [ i ] ) . 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 ( " m e n u 0 " +   ( i + 1 ) ) . c l a s s N a m e   =   " o n " ;  
 	 	 }  
 	 	 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 ( a r r T o p m e n u I M G [ i ] ) . 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 ( " m e n u 0 " +   ( i + 1 ) ) . c l a s s N a m e   =   " o f f " ;  
 	 	 }  
 	 }  
 }  
  
  
 / *   tÇø»ÀÉ  LÑP´¬¹  ÆÅ`Å0®  * /  
 f u n c t i o n   b l u r i n g ( ) {    
 i f ( e v e n t . s r c E l e m e n t . t a g N a m e = = " A " | | e v e n t . s r c E l e m e n t . t a g N a m e = = " I M G " )   d o c u m e n t . b o d y . f o c u s ( ) ;    
 }    
 d o c u m e n t . o n f o c u s i n = b l u r i n g ;    
  
  
   / *   ¤ÂQÆtÇø»ÀÉ  * /  
 f u n c t i o n   M M _ f i n d O b j ( n ,   d )   {   / / v 4 . 0  
     v a r   p , i , x ;     i f ( ! d )   d = d o c u m e n t ;   i f ( ( p = n . i n d e x O f ( " ? " ) ) > 0 & & p a r e n t . f r a m e s . l e n g t h )   {  
         d = p a r e n t . f r a m e s [ n . s u b s t r i n g ( p + 1 ) ] . d o c u m e n t ;   n = n . s u b s t r i n g ( 0 , p ) ; }  
     i f ( ! ( x = d [ n ] ) & & d . a l l )   x = d . a l l [ n ] ;   f o r   ( i = 0 ; ! x & & i < d . f o r m s . l e n g t h ; i + + )   x = d . f o r m s [ i ] [ n ] ;  
     f o r ( i = 0 ; ! x & & d . l a y e r s & & i < d . l a y e r s . l e n g t h ; i + + )   x = M M _ f i n d O b j ( n , d . l a y e r s [ i ] . d o c u m e n t ) ;  
     i f ( ! x   & &   d o c u m e n t . g e t E l e m e n t B y I d )   x = d o c u m e n t . g e t E l e m e n t B y I d ( n ) ;   r e t u r n   x ;  
 }  
    
 f u n c t i o n   M M _ s w a p I m a g e ( )   {   / / v 3 . 0  
     v a r   i , j = 0 , x , a = M M _ s w a p I m a g e . a r g u m e n t s ;   d o c u m e n t . M M _ s r = n e w   A r r a y ;   f o r ( i = 0 ; i < ( a . l e n g t h - 2 ) ; i + = 3 )  
       i f   ( ( x = M M _ f i n d O b j ( a [ i ] ) ) ! = n u l l ) { d o c u m e n t . M M _ s r [ j + + ] = x ;   i f ( ! x . o S r c )   x . o S r c = x . s r c ;   x . s r c = a [ i + 2 ] ; }  
 }  
  
  
 / *   F o o t e r   È4×¬À,   ÓÅÅ=Ì  D·°Æ0®  * /  
 f u n c t i o n   M M _ o p e n B r W i n d o w ( t h e U R L , w i n N a m e , f e a t u r e s )   {   / / v 2 . 0  
     w i n d o w . o p e n ( t h e U R L , w i n N a m e , f e a t u r e s ) ;  
 }    
  
 / *   €¬ÉÀ 
 f u n c t i o n   t o p S c h e c k ( )  
 {  
   i f   ( d o c u m e n t . t o p S e a r c h . s e a r c h _ t e x t . v a l u e   = =   " " )  
   {  
     d o c u m e n t . t o p S e a r c h . s e a r c h _ t e x t . v a l u e   =   " àÏ¤Ðt²¤Â" ;  
     d o c u m e n t . t o p S e a r c h . a c t i o n   =   " h t t p : / / s e a r c h . k u k i n e w s . c o m / s e a r c h i n g . a s p " ;  
     d o c u m e n t . t o p S e a r c h . s u b m i t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
   e l s e   i f   ( d o c u m e n t . t o p S e a r c h . s e a r c h _ t e x t . v a l u e   = =   " S e a r c h e d   b y   P a r a n " )  
   {  
     d o c u m e n t . t o p S e a r c h . s e a r c h _ t e x t . v a l u e   =   " àÏ¤Ðt²¤Â" ;  
     d o c u m e n t . t o p S e a r c h . a c t i o n   =   " h t t p : / / s e a r c h . k u k i n e w s . c o m / s e a r c h i n g . a s p " ;  
     d o c u m e n t . t o p S e a r c h . s u b m i t ( ) ;  
     r e t u r n   f a l s e ;  
   } e l s e {  
     d o c u m e n t . t o p S e a r c h . a c t i o n   =   " h t t p : / / s e a r c h . k u k i n e w s . c o m / s e a r c h i n g . a s p " ;  
     d o c u m e n t . t o p S e a r c h . s u b m i t ( ) ;  
   }  
 }  
   * /  
  
 / *   |Æ½Ê  ¤ÂlÐd¸  0¼±  ¤ÂlÐ½¹¸Ò  * /  
 / *  
 v a r   i m g W i d t h ;  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( ) {  
 	 i m g W i d t h   =   $ ( " # i m g M a i n " ) . w i d t h ( ) ;  
 	 i f   ( i m g W i d t h < 4 0 0 )  
 	 {  
 	 	 $ ( " # i m g D i v " ) . w i d t h ( i m g W i d t h ) ;  
 	 	 $ ( " # i m g D i v " ) . a t t r ( " a l i g n " ,   " l e f t " ) ;  
 	 	 $ ( " # i m g D i v " ) . c s s ( { f l o a t : " l e f t " } ) ;  
 	 }  
 	 e l s e   i f   ( i m g W i d t h < 5 6 0 )  
 	 {  
 	 	  
 	 	 $ ( " # i m g D i v " ) . w i d t h ( 6 8 0 ) ;  
 	 	 $ ( " # i m g D i v " ) . a t t r ( " a l i g n " ,   " c e n t e r " ) ;  
 	 }  
 	 e l s e  
 	 {  
 	 	 $ ( " # i m g M a i n " ) . w i d t h ( 5 6 0 ) ;  
 	 	 $ ( " # i m g D i v " ) . w i d t h ( 6 8 0 ) ;  
 	 	 $ ( " # i m g D i v " ) . a t t r ( " a l i g n " ,   " c e n t e r " ) ;  
 	 }  
 	 $ ( " # i m g M a i n " ) . c s s ( { d i s p l a y : " b l o c k " } ) ;  
  
 	 v a r   s c r o l l T o p   =   d o c u m e n t . b o d y . s c r o l l H e i g h t ;   / / 8»ÁÈ´Ì8®tÇ 
 	 v a r   p o s   =   $ ( " # l e f t _ s c r o l l _ a d " ) . o f f s e t ( ) . t o p ;  
 	 v a r   d o c H   =   $ ( " # S T A T I C M E N U " ) . h e i g h t ( ) ;  
 	 i f   ( $ . b r o w s e r . m o z i l l a   | |   $ . b r o w s e r . s a f a r i )  
 	 {  
 	 	 p o s   =   p o s   -   4 4 0 ;  
 	 	 $ ( " # S T A T I C M E N U " ) . c s s ( " m a r g i n - t o p " ,   " - 4 4 0 p x " ) ;  
 	 }  
  
 	 $ ( w i n d o w ) . s c r o l l ( f u n c t i o n ( )   {  
 	 	 v a r   p o s i t i o n   =   p a r s e I n t ( $ ( w i n d o w ) . s c r o l l T o p ( ) ,   1 0 ) ;   / /   Ö¬Ç  ¤ÂlÐd¸¼XÇ  ÇXÎ¬DÇ  ¼XÖiÕÈ²ä².  
 	 	 i f   ( p o s i t i o n > = p o s   & &   p o s i t i o n < s c r o l l T o p - d o c H - 1 5 0 )  
 	 	 {  
 	 	 	 $ ( " # l e f t _ s c r o l l _ a d " ) . s t o p ( ) . a n i m a t e ( { " t o p " : p o s i t i o n - p o s + " p x " } , 1 0 ) ;  
 	 	 }  
 	 } ) ;  
 } ) ;  
 * /  
  
 f u n c t i o n   F u l l S c r e e n ( )  
 {  
 	 O p e n E B o o k . w i n S t y l e   =   0 ;  
 	 O p e n E B o o k . O p e n B o o k ( a r g u m e n t s [ 0 ] ,   a r g u m e n t s [ 1 ] ) ;  
 }  
  
  
 f u n c t i o n   p r i n t W i n ( a i d )  
 {  
 	 p a g e   =   " h t t p : / / n e w s . k u k i n e w s . c o m / a r t i c l e / p r i n t . a s p ? a r c i d = " +   a i d ;  
 	 w i n d o w . o p e n ( p a g e , " " , " w i d t h = 7 0 0 , h e i g h t = 7 0 0 , s c r o l l b a r s = y e s " ) ;  
 }  
  
  
 / *   Ù³ÆÁÀ  ÓÅÅ=Ì  D·°Æ0®  * /  
 f u n c t i o n   v o d _ o n ( i d x )  
 {  
 	 w i n d o w . o p e n ( ' h t t p : / / w w w . k u k i n e w s . c o m / v o d / v o d . a s p ? i d x = ' + i d x ,   ' p l a y ' ,   ' 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 , r e s i z e a b l e = n o , w i d t h = 8 2 0 ,   h e i g h t = 6 0 0 ' ) ;  
 }  
 
