ÿþ 
 v a r    
 	 o I n t e r v a l S l i d e r P r o g r e s s P e r i o d ,    
 	 o I n t e r v a l S l i d e r D r a g P e r i o d   =   1 0 0 ,    
 	 o I n t e r v a l S l i d e r P r o g r e s s T i m e   =   n u l l ,    
 	 o I n t e r v a l S l i d e r P r o g r e s s   =   n u l l ,    
 	 o I n t e r v a l S l i d e r D r a g ,    
 	 s l i d e r I s D r a g g e d   =   f a l s e ,    
 	 c o e f P r o g r e s s S l i d e r   =   n u l l ,    
 	 i s B u f f e r i n g   =   f a l s e ,    
 	 o I n t e r v a l B u f f e r i n g   =   1 ,    
 	 o I n t e r v a l S l i d e r V o l u m e P r o g r e s s P e r i o d ,    
 	 o I n t e r v a l S l i d e r V o l u m e D r a g P e r i o d   =   1 0 0 ,    
 	 o I n t e r v a l S l i d e r V o l u m e P r o g r e s s   =   n u l l ,    
 	 o I n t e r v a l S l i d e r V o l u m e D r a g ,    
 	 s l i d e r V o l u m e I s D r a g g e d   =   f a l s e ,    
 	 c o e f P r o g r e s s S l i d e r V o l u m e   =   n u l l ,    
 	 I s N S   =   n a v i g a t o r . a p p N a m e   = =   " N e t s c a p e " ,    
 	 I s N S A X W M P   =   f a l s e ,    
 	 e l B P T e x t   =   d o c u m e n t . g e t E l e m e n t B y I d ( " b p t e x t " ) ,    
 	 e l O b j P l a y e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( " o b j P l a y e r " ) ,  
 	 o b j C u r r e n t M e d i a   =   e l O b j P l a y e r   = =   n u l l   ?   n u l l   :   e l O b j P l a y e r . c u r r e n t M e d i a ,    
 	 o I n t e r v a l P e r m a n e n t P l a y e r S t a t e C h e c k   =   n u l l ,    
 	 i n t S V S h i f t D   =   0 ,   i n t S V S h i f t C   =   0 ,   i n t S S h i f t D   =   0 ,   i n t S S h i f t C   =   0 ,  
 	 I s C t x t M e n u T r i g g e r   =   f a l s e ;  
 	  
 c o e f P r o g r e s s S l i d e r   =   n u l l ,  
 c o e f P r o g r e s s S l i d e r V o l u m e   =   n u l l ;  
 s l i d e r I s D r a g g e d   =   f a l s e ;  
 s l i d e r V o l u m e I s D r a g g e d   =   f a l s e ;  
 o I n t e r v a l B u f f e r i n g   =   n u l l ;  
  
 i f   ( t y p e o f ( I s P r e s e n t e d S l i d e r ) = = ' u n d e f i n e d ' ) I s P r e s e n t e d S l i d e r   =   f a l s e ;  
 i f   ( t y p e o f ( I s P r e s e n t e d S l i d e r V o l u m e ) = = ' u n d e f i n e d ' ) I s P r e s e n t e d S l i d e r V o l u m e   =   f a l s e ;  
 i f   ( t y p e o f ( I s M u t e d ) = = ' u n d e f i n e d ' ) I s M u t e d   =   f a l s e ;  
 i f   ( t y p e o f ( I s A u t o S t a r t ) = = ' u n d e f i n e d ' ) I s A u t o S t a r t   =   f a l s e ;  
 i f   ( t y p e o f ( I s C l i p H o u r D i s p l a y ) = = ' u n d e f i n e d ' ) I s C l i p H o u r D i s p l a y   =   f a l s e ;  
 i f   ( t y p e o f ( i t C l i p W i d t h ) = = ' u n d e f i n e d ' ) i t C l i p W i d t h   =   n u l l ;  
 i f   ( t y p e o f ( i t C l i p H e i g h t ) = = ' u n d e f i n e d ' ) i t C l i p H e i g h t   =   n u l l ;  
 i f   ( t y p e o f ( s z U R L M e d i a ) = = ' u n d e f i n e d ' ) s z U R L M e d i a   =   n u l l ;  
 i f   ( t y p e o f ( I s T i m e R e v e r s e d ) = = ' u n d e f i n e d ' ) I s T i m e R e v e r s e d   =   f a l s e ;  
 i f   ( t y p e o f ( I s L i v e ) = = ' u n d e f i n e d ' ) I s L i v e   =   f a l s e ;    
 i f   ( t y p e o f ( s e n d P l a y ) = = ' u n d e f i n e d ' ) s e n d P l a y   =   n u l l ;    
 i f   ( t y p e o f ( i n t S S h i f t C N S ) = = ' u n d e f i n e d ' ) i n t S S h i f t C N S     =   0 ;    
 i f   ( t y p e o f ( i n t S S h i f t C I E ) = = ' u n d e f i n e d ' ) i n t S S h i f t C I E     =   0 ;    
 i f   ( t y p e o f ( i n t S S h i f t D N S ) = = ' u n d e f i n e d ' ) i n t S S h i f t D N S     =   0 ;    
 i f   ( t y p e o f ( i n t S S h i f t D I E ) = = ' u n d e f i n e d ' ) i n t S S h i f t D I E     =   0 ;    
 i f   ( t y p e o f ( i n t S V S h i f t C N S ) = = ' u n d e f i n e d ' ) i n t S V S h i f t C N S   =   0 ;    
 i f   ( t y p e o f ( i n t S V S h i f t C I E ) = = ' u n d e f i n e d ' ) i n t S V S h i f t C I E   =   0 ;    
 i f   ( t y p e o f ( i n t S V S h i f t D N S ) = = ' u n d e f i n e d ' ) i n t S V S h i f t D N S   =   0 ;    
 i f   ( t y p e o f ( i n t S V S h i f t D I E ) = = ' u n d e f i n e d ' ) i n t S V S h i f t D I E   =   2 ;    
  
 i f   ( I s N S )   {  
 	 v a r   _ e m p t y T a g s   =   {  
 	       " I M G " :       t r u e ,  
 	       " B R " :         t r u e ,  
 	       " I N P U T " :   t r u e ,  
 	       " M E T A " :     t r u e ,  
 	       " L I N K " :     t r u e ,  
 	       " P A R A M " :   t r u e ,  
 	       " H R " :         t r u e  
 	 } ;  
 	  
 	 H T M L E l e m e n t . p r o t o t y p e . _ _ d e f i n e G e t t e r _ _ ( " o u t e r H T M L " ,   f u n c t i o n   ( )   {  
 	       v a r   a t t r s   =   t h i s . a t t r i b u t e s ;  
 	       v a r   s t r   =   " < "   +   t h i s . t a g N a m e ;  
 	       f o r   ( v a r   i   =   0 ;   i   <   a t t r s . l e n g t h ;   i + + )  
 	             s t r   + =   "   "   +   a t t r s [ i ] . n a m e   +   " = \ " "   +   a t t r s [ i ] . v a l u e   +   " \ " " ;  
  
 	       i f   ( _ e m p t y T a g s [ t h i s . t a g N a m e ] )  
 	             r e t u r n   s t r   +   " > " ;  
  
 	       r e t u r n   s t r   +   " > "   +   t h i s . i n n e r H T M L   +   " < / "   +   t h i s . t a g N a m e   +   " > " ;  
 	 } ) ;  
  
 	 H T M L E l e m e n t . p r o t o t y p e . _ _ d e f i n e S e t t e r _ _ ( " o u t e r H T M L " ,   f u n c t i o n   ( s H T M L )   {  
 	       v a r   r   =   t h i s . o w n e r D o c u m e n t . c r e a t e R a n g e ( ) ;  
 	       r . s e t S t a r t B e f o r e ( t h i s ) ;  
 	       v a r   d f   =   r . c r e a t e C o n t e x t u a l F r a g m e n t ( s H T M L ) ;  
 	       t h i s . p a r e n t N o d e . r e p l a c e C h i l d ( d f ,   t h i s ) ;  
 	 } ) ;  
 	 d o c u m e n t . o n m o u s e d o w n = n e w   F u n c t i o n   ( " r e t u r n   f a l s e " ) ;  
 	 d o c u m e n t . o n m o u s e u p = n e w   F u n c t i o n   ( " r e t u r n   f a l s e " ) ;  
 }  
  
 f u n c t i o n   g e t O u t e r H T M L 4 O b j E l I E ( e l )   {  
 	 v a r   s t r   =   e l . o u t e r H T M L ;  
 	 v a r   e l s   =   e l . n e x t S i b l i n g ;  
 	 i f ( s t r . t o L o w e r C a s e ( ) . i n d e x O f ( " < / "   +   e l . t a g N a m e . t o L o w e r C a s e ( )   +   " > " )   = =   - 1 )   {  
 	 	 w h i l e   ( e l s . t a g N a m e ! = ( " / "   +   e l . t a g N a m e ) )   {  
 	 	 	 s t r   + =   e l s . o u t e r H T M L ;  
 	 	 	 e l s   =   e l s . n e x t S i b l i n g ;  
 	 	 }  
 	 	 s t r   + =   ( " < / "   +   e l . t a g N a m e   +   " > " ) ;  
 	 }  
 	 r e t u r n   s t r ;  
 }  
  
 f u n c t i o n   d o C h a n g e T a g N a m e ( e l ,   s z N e w T a g N a m e )   {  
 	 v a r   s z H T M L   =   I s N S   ?   e l . o u t e r H T M L   :   g e t O u t e r H T M L 4 O b j E l I E ( e l ) ;  
 	 s z H T M L   =   s z H T M L . r e p l a c e ( " < "   +   e l . t a g N a m e   +   "   " ,   " < "   +   s z N e w T a g N a m e   +   "   " ) . r e p l a c e ( " < / "   +   e l . t a g N a m e   +   " > " ,   " < / "   +   s z N e w T a g N a m e   +   " > " ) ;  
 	 e l . o u t e r H T M L   =   s z H T M L ;  
 	 s z H T M L   =   n u l l ;   s z N e w T a g N a m e   =   n u l l ;  
 }  
  
 f u n c t i o n   u p d a t e C u r r e n t P o s i t i o n R e f l e c t i o n ( )  
 {  
 	 v a r   s   =   n u l l ;    
 	 t r y 	 {    
 	 	 v a r   o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;    
 	 	 i f   ( I s T i m e R e v e r s e d   = =   t r u e ) 	 {    
 	 	 	 v a r    
 	 	 	 	 o b j C u r r e n t M e d i a   =   e l O b j P l a y e r . c u r r e n t M e d i a ,    
 	 	 	 	 d u r a t i o n   =   o b j C u r r e n t M e d i a . d u r a t i o n ,  
 	 	 	 	 c u r r e n t P o s i t i o n   =   o b j C o n t r o l s . c u r r e n t P o s i t i o n ,  
 	 	 	 	 d   =   d u r a t i o n   -   c u r r e n t P o s i t i o n ;    
 	 	 	 s   =   d o G e t T i m e S t r F r o m P l a y e r ( d ) ;    
 	 	 	 o b j C u r r e n t M e d i a   =   n u l l ;   d u r a t i o n   =   n u l l ;   c u r r e n t P o s i t i o n   =   n u l l ;     d   =   n u l l ;  
 	 	 }    
 	 	 e l s e   {    
 	 	 	 v a r   c u r r e n t P o s i t i o n S t r i n g   =   o b j C o n t r o l s . c u r r e n t P o s i t i o n S t r i n g ;    
 	 	 	 s   =   c u r r e n t P o s i t i o n S t r i n g ;    
 	 	 	 c u r r e n t P o s i t i o n S t r i n g   =   n u l l ;  
 	 	 }  
 	 	 o b j C o n t r o l s   =   n u l l ;  
 	 }    
 	 c a t c h ( e ) { e = n u l l ; }    
 	 i f   ( s = = " " ) s = n u l l ;    
 	 i f   ( s ! = n u l l ) 	  
 	 {  
 	 	 i f   ( ( s . l e n g t h = = 5 ) & & I s C l i p H o u r D i s p l a y ) s =   " 0 0 : "   +   s ;  
 	 	 t r y   {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n T i m e C u r r e n t P o s i t i o n " ) [ I s N S   ?   " t e x t C o n t e n t "   :   " i n n e r T e x t " ]   =   s ;  
 	 	 } c a t c h ( e ) { e   =   n u l l ; }  
 	 }  
 	 s   =   n u l l ;  
 }  
  
 f u n c t i o n   d o G e t T i m e S t r F r o m P l a y e r ( n )  
 {  
 	 v a r   n _ o l d   =   n ;  
 	 v a r   i n t S e c   =   M a t h . f l o o r ( n   %   6 0 ) ;   n   =   M a t h . f l o o r ( n   /   6 0 ) ;   v a r   s z S e c   =   i n t S e c   <   1 0   ?   ( " 0 "   +   i n t S e c )   :   ( " "   +   i n t S e c ) ;  
 	 v a r   i n t M i n   =   M a t h . f l o o r ( n   %   6 0 ) ;   n   =   M a t h . f l o o r ( n   /   6 0 ) ;   v a r   s z M i n   =   i n t M i n   <   1 0   ?   ( " 0 "   +   i n t M i n )   :   ( " "   +   i n t M i n ) ;  
 	 v a r   i n t H u r   =   M a t h . f l o o r ( n ) ; 	   v a r   s z H u r   =   i n t H u r   <   1 0   ?   ( " 0 "   +   i n t H u r )   :   ( " "   +   i n t H u r ) ;  
 	 v a r   s z D u r a t i o n   =   s z D u r a t i o n   =   s z M i n   +   " : "   +   s z S e c ;  
 	 v a r   s z D u r a t i o n   =   s z H u r   +   " : "   +   s z D u r a t i o n ;  
 	 n _ o l d   =   n u l l ;   n   =   n u l l ;   i n t S e c   =   n u l l ;   i n t M i n     =   n u l l ;   i n t H u r   =   n u l l ;   s z S e c   =   n u l l ;   s z M i n   =   n u l l ;   s z H u r   =   n u l l ;  
 	 r e t u r n   s z D u r a t i o n ;  
 }  
  
  
 f u n c t i o n   d o C h e c k V e r s i o n ( )  
 {  
 	 t r y  
 	 {  
 	 	 v a r    
 	 	 	 i n t V e r s i o n   =   p a r s e I n t ( e l O b j P l a y e r . v e r s i o n I n f o . c h a r A t ( 0 ) ) ;  
 	 	 i f ( ( i n t V e r s i o n = = 8 ) | | ( i n t V e r s i o n = = 7 ) )  
 	 	 {  
 	 	 	 v a r    
 	 	 	 	 s z U R L O l d   =   o b j P l a y e r . U R L ,  
 	 	 	 	 i   =   s z U R L O l d . l a s t I n d e x O f ( " / " ) ,  
 	 	 	 	 s z U R L N e w   =   s z U R L O l d . s u b s t r i n g ( i ) ,  
 	 	 	 	 s z L o c a t i o n   =   l o c a t i o n . t o S t r i n g ( ) ;  
 	 	 	 i   =   s z L o c a t i o n . i n d e x O f ( " / p l a y e r s / " ) ;  
 	 	 	 s z L o c a t i o n   =   s z L o c a t i o n . s u b s t r i n g ( 0 ,   i ) ;  
 	 	 	 o b j P l a y e r . U R L   =   s z L o c a t i o n   +   s z U R L N e w ;  
 	 	 }  
 	 }  
 	 c a t c h ( e ) { }  
 }    
  
 f u n c t i o n   f i n d U R L E l e m e n t H R e f ( )  
 {  
 	 v a r   a r r P a r a m s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " p a r a m " ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   a r r P a r a m s . l e n g t h ;   i + + )  
 	 {  
 	 	 i f   ( ( i   ! =   " l e n g t h " )   & &   ( a r r P a r a m s [ i ] . n a m e . t o L o w e r C a s e ( )   = =   " u r l " ) )  
 	 	 	 r e t u r n   a r r P a r a m s [ i ] . v a l u e ;  
 	 }  
 	 r e t u r n   n u l l ;  
 }  
  
 f u n c t i o n   d o P l a y e r I n i t ( )    
 {  
 	 e l B P T e x t   =   d o c u m e n t . g e t E l e m e n t B y I d ( " b p t e x t " ) ;    
 	 i f   ( e l O b j P l a y e r   = =   n u l l )   e l O b j P l a y e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( " o b j P l a y e r " ) ;    
 	 i f   ( n a v i g a t o r . a p p N a m e   = =   " M i c r o s o f t   I n t e r n e t   E x p l o r e r " )  
 	 {  
 	 	 d o C h a n g e T a g N a m e ( e l O b j P l a y e r ,   " O B J E C T " ) ;    
 	 	 e l O b j P l a y e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( " o b j P l a y e r " ) ;    
 	 }  
 	 o I n t e r v a l P e r m a n e n t P l a y e r S t a t e C h e c k   =   w i n d o w . s e t I n t e r v a l ( ' p l a y e r S t a t e C h e c k ( ) ' ,   3 0 0 0 ) ;    
 	 v a r    
 	 	 o b j C u r r e n t M e d i a   =   e l O b j P l a y e r . c u r r e n t M e d i a ,    
 	 	 o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ,    
 	 	 o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;    
 	 I s N S A X W M P   =   o b j C o n t r o l s   ! =   n u l l   ?   t r u e   :   f a l s e ;    
 	  
 	 i f   ( s z U R L M e d i a   = =   n u l l )  
 	 {  
 	 	  
 	 	 t r y  
 	 	 {  
 	 	 	 s z U R L M e d i a   =   f i n d U R L E l e m e n t H R e f ( ) ;  
 	 	 	  
 	 	 }  
 	 	 c a t c h ( e )  
 	 	 {  
 	 	  
 	 	 }  
 	 	  
 	 }  
 	 i f   ( I s N S A X W M P )    
 	 {  
 	 	 v a r    
 	 	 	 a u t o S t a r t   =   o b j S e t t i n g s . a u t o S t a r t ,    
 	 	 	 p l a y S t a t e   =   e l O b j P l a y e r . p l a y S t a t e ,    
 	 	 	 l o c   =   d o c u m e n t . l o c a t i o n ,  
 	 	 	 s z U R L P a g e   =   l o c . t o S t r i n g ( ) ,  
 	 	 	 i   =   s z U R L P a g e . l a s t I n d e x O f ( " / " ) ;  
 	 	 i f   ( ( s z U R L M e d i a . i n d e x O f ( " : / / " )   = =   - 1 ) & & ( s z U R L M e d i a . i n d e x O f ( " / " )   >   0 ) )  
 	 	 {  
 	 	 	 s z U R L M e d i a   =   s z U R L P a g e . s u b s t r i n g ( 0 ,   i   +   1 )   +   s z U R L M e d i a ;  
 	 	 	 e l O b j P l a y e r . u r l   =   s z U R L M e d i a ;  
 	 	 }  
 	 	 e l s e   i f   ( s z U R L M e d i a . i n d e x O f ( " / " )   = =   0 )  
 	 	 {  
 	 	 	 s z U R L M e d i a   =   l o c . p r o t o c o l   +   " / / "   +   l o c . h o s t n a m e   +   s z U R L M e d i a ;  
 	 	 	 e l O b j P l a y e r . u r l   =   s z U R L M e d i a ;  
 	 	 }  
 	 	 i f   ( I s P r e s e n t e d S l i d e r V o l u m e )   i n i t S l i d e r V o l u m e ( ) ;    
 	 	 i f   ( a u t o S t a r t   | |   I s A u t o S t a r t ) t r y { o b j C o n t r o l s . p l a y ( ) ; } c a t c h ( e ) { e   =   n u l l ; }  
 	 	 o n P l a y S t a t e C h a n g e ( p l a y S t a t e ) ;  
 	 	  
 	 	 o I n t e r v a l S l i d e r P r o g r e s s T i m e   =   w i n d o w . s e t I n t e r v a l ( ' u p d a t e C u r r e n t P o s i t i o n R e f l e c t i o n ( ) ' ,   1 0 0 0 ) ;  
 	 	 i f   ( ! I s N S )    
 	 	 {  
 	 	 	 e l O b j P l a y e r . a t t a c h E v e n t ( ' c l i c k ' ,   P l a y e r C l i c k e d ) ;    
 	 	 	 e l O b j P l a y e r . a t t a c h E v e n t ( ' M o u s e M o v e ' ,   P l a y e r M o u s e M o v e ) ;  
 	 	 	 e l O b j P l a y e r . o n m o u s e l e a v e   =   P l a y e r M o u s e L e a v e ;  
 	 	 }  
 	 	 e l O b j P l a y e r [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] . o n c l i c k   =   d o P l a y F r o m S c r e e n C l i c k ;  
 	 	 e l O b j P l a y e r [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] . s t y l e . c u r s o r   =   I s N S   ?   " p o i n t e r "   :   " h a n d " ;  
 	 	 a u t o S t a r t   =   n u l l ;   p l a y S t a t e   =   n u l l ;   l o c   =   n u l l ;   s z U R L P a g e   =   n u l l ;   i   =   n u l l ; 	  
 	 }  
 	 e l s e    
 	 {  
 	 	  
 	 	 e l O b j P l a y e r . s t y l e . h e i g h t   =   " 0 p x " ;  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) . 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 ( " d i v N o t S u p p o r t e d " ) . s t y l e . d i s p l a y   =   " " ;  
 	 	 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 o t S u p p o r t e d " ) [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] . s t y l e . c u r s o r   =   " " ;  
 	 	 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 o t S u p p o r t e d " ) [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] . o n c l i c k   =   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 ( " a C l i p " ) . h r e f   =   s z U R L M e d i a ;  
 	 	 w i n d o w . c l e a r I n t e r v a l ( o I n t e r v a l P e r m a n e n t P l a y e r S t a t e C h e c k ) ;  
 	 }  
 	 i f   ( I s N S )  
 	 {  
 	 	 d o c u m e n t . o n k e y p r e s s   =   p r e p a r e P l a y e r C h e c k P o i n t C o n t e x t M e n u ;  
 	 }  
 	 e l s e  
 	 {  
 	 	 d o c u m e n t . b o d y . o n k e y p r e s s   =   p r e p a r e P l a y e r C h e c k P o i n t C o n t e x t M e n u ;  
 	 	 e l O b j P l a y e r . a t t a c h E v e n t ( " o n c o n t e x t m e n u " ,   g e t C h e c k P o i n t P l a y e r C o n t e x t M e n u ) ;  
 	 }  
 	 d o C h e c k V e r s i o n ( ) ;  
 	 o b j C u r r e n t M e d i a   =   n u l l ; 	 o b j S e t t i n g s   =   n u l l ; 	 o b j C o n t r o l s   =   n u l l ;  
 	 a u t o S t a r t   =   n u l l ;   p l a y S t a t e   =   n u l l ; 	 u r l   =   n u l l ;   s   =   n u l l ;  
 }  
  
 f u n c t i o n   p l a y e r S t a t e C h e c k ( )  
 {  
 	 v a r   p l a y S t a t e   =   e l O b j P l a y e r . p l a y S t a t e ;  
 	 t r y  
 	 {  
 	 	 i f   ( p l a y S t a t e   = =   3 )  
 	 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( e l O b j P l a y e r ,   d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ) ;  
 	 }  
 	 c a t c h ( e ) { e = n u l l ; }  
 	 i f   ( ( i t C l i p W i d t h ! = n u l l ) & & ( p a r s e I n t ( e l O b j P l a y e r . s t y l e . w i d t h ) ! =   i t C l i p W i d t h ) )  
 	 	 e l O b j P l a y e r . s t y l e . w i d t h   =   i t C l i p W i d t h   +   " p x " ;  
 	 i f   ( ( i t C l i p H e i g h t ! = n u l l ) & & ( p a r s e I n t ( e l O b j P l a y e r . s t y l e . h e i g h t ) ! =   i t C l i p H e i g h t ) )  
 	 	 e l O b j P l a y e r . s t y l e . h e i g h t   =   i t C l i p H e i g h t   +   " p x " ;  
 	 / *  
 	 s t a t u s   =   e l O b j P l a y e r . w i d t h ;  
 	 i f   ( ( ! I s N S ) & & ( e l O b j P l a y e r . w i d t h   ! =   " " ) & & ( e l O b j P l a y e r . w i d t h   ! =   " 0 " ) & & ( e l O b j P l a y e r . w i d t h   ! =   0 ) & & ( e l O b j P l a y e r . w i d t h   ! =   " 0 p x " ) )  
 	 {  
 	 	 e l O b j P l a y e r . s t y l e . w i d t h   =   e l O b j P l a y e r . w i d t h   + " p x " ;  
 	 }  
 	 * /  
 	 i n i t S l i d e r ( t r u e ) ;  
 	 p l a y S t a t e   =   n u l l ;  
 }  
  
 f u n c t i o n   S l i d e r S t a r t S t o p D r a g ( e v e n t )  
 {  
 	 i f   ( ! s l i d e r I s D r a g g e d )  
 	 {  
 	 	 d o c u m e n t . b o d y . o n m o u s e m o v e   =   S l i d e r P o i n t D r a g U p d a t e ;    
 	 	 d o c u m e n t . b o d y . o n m o u s e u p   =   S l i d e r S t a r t S t o p D r a g ;    
 	 }    
 	 e l s e    
 	 {    
 	 	 i f ( I s N S )   {    
 	 	 	 e v e n t . p r e v e n t D e f a u l t ( ) ;    
 	 	 	 e v e n t . s t o p P r o p a g a t i o n ( ) ;    
 	 	 }  
 	 	 d o c u m e n t . b o d y . o n m o u s e m o v e = n u l l ;  
 	 	 d o c u m e n t . b o d y . o n m o u s e u p   =   I s N S   ?   n e w   F u n c t i o n ( " r e t u r n   f a l s e ; " )   :   n u l l ;  
 	 	 v a r    
 	 	 	 o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ,    
 	 	 	 S l i d e r P o s i t i o n   =    
 	 	 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) . s t y l e . l e f t ,   1 0 )   +    
 	 	 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) . c l i e n t W i d t h ,   1 0 )   /   2 ;    
 	 	 o b j C o n t r o l s . c u r r e n t P o s i t i o n   =   c o e f P r o g r e s s S l i d e r   *   S l i d e r P o s i t i o n ;    
 	 	 o b j C o n t r o l s   =   n u l l ;   S l i d e r P o s i t i o n   =   n u l l ;    
 	 }    
 	 s l i d e r I s D r a g g e d   =   ! s l i d e r I s D r a g g e d ;    
 }  
  
 f u n c t i o n   S l i d e r V o l u m e S t a r t S t o p D r a g ( e v e n t )  
 {  
 	 i f   ( ! I s N S A X W M P )   r e t u r n ;  
 	 i f   ( ! s l i d e r V o l u m e I s D r a g g e d )  
 	 {  
 	 	 d o c u m e n t . b o d y . o n m o u s e m o v e = S l i d e r V o l u m e P o i n t D r a g U p d a t e ;  
 	 	 d o c u m e n t . b o d y . o n m o u s e u p = S l i d e r V o l u m e S t a r t S t o p D r a g ;  
 	 }  
 	 e l s e  
 	 { 	 	 	 	 	  
 	 	 d o c u m e n t . b o d y . o n m o u s e m o v e   =   n u l l ;  
 	 	 d o c u m e n t . b o d y . o n m o u s e u p   =   I s N S   ?   n e w   F u n c t i o n ( " r e t u r n   f a l s e ; " )   :   n u l l ;  
 	 	 v a r   S l i d e r V o l u m e P o s i t i o n   =    
 	 	 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) . s t y l e . l e f t ,   1 0 )   +    
 	 	 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) . c l i e n t W i d t h ,   1 0 )   /   2 ,  
 	 	 	 o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ,    
 	 	 	 v o l u m e   =   o b j S e t t i n g s . v o l u m e ;    
 	 	 v o l u m e   =   c o e f P r o g r e s s S l i d e r V o l u m e   *   S l i d e r V o l u m e P o s i t i o n ;    
 	 	 w i n d o w . s t a t u s   =   " V o l u m e   "   +   o b j S e t t i n g s . v o l u m e   +   "   %   "   +   ( I s M u t e d   ?   " ( m u t e d ) "   :   " " ) ;    
 	 	 S l i d e r V o l u m e P o s i t i o n   =   n u l l ;   o b j S e t t i n g s   =   n u l l ;   v o l u m e   =   n u l l ;  
 	 }    
 	 s l i d e r V o l u m e I s D r a g g e d   =   ! s l i d e r V o l u m e I s D r a g g e d ;    
 }    
    
 f u n c t i o n   d o G e t E l e m e n t O f f s e t L e f t ( e l )    
 {    
 	 v a r   e l P a r e n t   =   e l [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] ,    
 	 	 i t O f f s e t L e f t   =   p a r s e I n t ( e l P a r e n t . o f f s e t L e f t ,   1 0 ) ;  
 	 w h i l e ( e l P a r e n t . t a g N a m e   ! =   " B O D Y " )   {    
 	 	 e l P a r e n t   =   e l P a r e n t [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] ;    
 	 	 i t O f f s e t L e f t   + =   p a r s e I n t ( e l P a r e n t . o f f s e t L e f t ,   1 0 ) ;  
 	 }    
 	 e l P a r e n t   =   n u l l ;    
 	 r e t u r n   i t O f f s e t L e f t ;    
 }    
  
 f u n c t i o n   d o G e t S l i d e r C o m m o n P o s i t i o n ( s p n S l i d e r C o m m o n P o i n t ,   i t S l i d e r R i g h t S h i f t ,   e v e n t )    
 { 	  
 	 i f   ( ( t y p e o f ( i t S l i d e r R i g h t S h i f t ) = = ' u n d e f i n e d ' ) | | ( i t S l i d e r R i g h t S h i f t = = n u l l ) ) i t S l i d e r R i g h t S h i f t   =   0 ;    
 	 v a r 	 i t O f f s e t L e f t   =   d o G e t E l e m e n t O f f s e t L e f t ( s p n S l i d e r C o m m o n P o i n t ) ;    
 	 i f   ( e v e n t . c l i e n t X   >   ( i t O f f s e t L e f t   +   s p n S l i d e r C o m m o n P o i n t [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] . c l i e n t W i d t h ) )    
 	 {  
 	 	 r e t u r n   s p n S l i d e r C o m m o n P o i n t [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] . c l i e n t W i d t h   -   i t S l i d e r R i g h t S h i f t ;    
 	 }  
 	 e l s e   i f   ( e v e n t . c l i e n t X   <   i t O f f s e t L e f t )    
 	 	 r e t u r n   0 ;    
 	 e l s e    
 	 	 r e t u r n   e v e n t . c l i e n t X   -   i t O f f s e t L e f t ;    
 	 i t O f f s e t L e f t   =   n u l l ;    
 	 r e t u r n   e v e n t . c l i e n t X ;    
 }    
  
 f u n c t i o n   S l i d e r P o i n t D r a g U p d a t e ( e v e n t )  
 {  
 	 i f   ( t y p e o f ( e v e n t ) = = ' u n d e f i n e d ' )   e v e n t   =   w i n d o w . e v e n t ;  
 	 s e t S l i d e r P o s i t i o n ( d o G e t S l i d e r C o m m o n P o s i t i o n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) ,   0 ,   e v e n t ) ) ;  
 }  
  
 f u n c t i o n   S l i d e r V o l u m e P o i n t D r a g U p d a t e ( e v e n t )  
 {  
 	 i f   ( t y p e o f ( e v e n t ) = = ' u n d e f i n e d ' )   e v e n t   =   w i n d o w . e v e n t ;  
 	 v a r   S l i d e r V o l u m e P o s i t i o n   =   d o G e t S l i d e r C o m m o n P o s i t i o n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) ,   0 ,   e v e n t ) ;  
 	 s e t S l i d e r V o l u m e P o s i t i o n ( S l i d e r V o l u m e P o s i t i o n ,   0 ,   e v e n t ) ;  
 	 v a r   o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ,   v o l u m e   =   o b j S e t t i n g s . v o l u m e ;  
 	 o b j S e t t i n g s . v o l u m e   =   c o e f P r o g r e s s S l i d e r V o l u m e   *   S l i d e r V o l u m e P o s i t i o n ;    
 	 o b j S e t t i n g s . m u t e   =   I s M u t e d ;  
 	 w i n d o w . s t a t u s   =   " V o l u m e   "   +   v o l u m e   +   "   %   "   +   ( I s M u t e d   ?   " ( m u t e d ) "   :   " " ) ;  
 	 S l i d e r V o l u m e P o s i t i o n   =   n u l l ;   o b j S e t t i n g s   =   n u l l ;   v o l u m e   =   n u l l ;  
 }  
  
 f u n c t i o n   S l i d e r A r e a C l i c k ( s e n d e r ,   e v e n t )  
 {  
 	 i f   ( ! I s P r e s e n t e d S l i d e r )   r e t u r n ;  
 	 i f   ( ( s l i d e r I s D r a g g e d = = t r u e ) | | ( I s N S   & &   ( e v e n t ! = n u l l )   & &   ( e v e n t . t a r g e t . i d   = =   " s p n S l i d e r P o i n t " ) ) )   r e t u r n ;  
 	 s e t S l i d e r P o s i t i o n ( s e n d e r ,   e v e n t ) ;  
 }  
  
 f u n c t i o n   S l i d e r V o l u m e A r e a C l i c k ( s e n d e r ,   e v e n t )  
 {  
 	 i f   ( ! I s P r e s e n t e d S l i d e r V o l u m e )   r e t u r n ;  
 	 i f   ( ( s l i d e r V o l u m e I s D r a g g e d = = t r u e ) | | ( I s N S   & &   ( e v e n t ! = n u l l )   & &   ( e v e n t . t a r g e t . i d   = =   " s p n S l i d e r V o l u m e P o i n t " ) ) )   r e t u r n ;  
 	 s e t S l i d e r V o l u m e P o s i t i o n ( s e n d e r ,   e v e n t ) ;  
 }  
  
 f u n c t i o n   s e t S l i d e r P o s i t i o n ( s e n d e r ,   e v e n t )  
 {  
 	 i f   ( ! I s N S A X W M P )   r e t u r n ;  
 	 v a r   S l i d e r P o s i t i o n   =    
 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) . s t y l e . l e f t ,   1 0 )   +    
 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) . c l i e n t W i d t h ,   1 0 )   /   2 ,  
 	 	 o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;    
 	 i f   ( ( s e n d e r . t a g N a m e ) & & ( e v e n t [ I s N S   ?   " t a r g e t "   :   " s r c E l e m e n t " ]   ! =   d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) ) )   {    
 	 	 i n t O f s   =   e v e n t [ I s N S   ?   " l a y e r X "   :   " o f f s e t X " ] ;  
 	 	 S l i d e r P o s i t i o n   =   i n t O f s   -   i n t S S h i f t C   +   1 ;    
 	 	 i n t O f s   =   n u l l ;  
 	 	 o b j C o n t r o l s . c u r r e n t P o s i t i o n   =   c o e f P r o g r e s s S l i d e r   *   S l i d e r P o s i t i o n ;    
 	 }    
 	 e l s e   i f   ( ! i s N a N ( s e n d e r ) )   {  
 	 	 S l i d e r P o s i t i o n   =   s e n d e r   +   ( s l i d e r I s D r a g g e d   ?   i n t S S h i f t D I E   :   0 ) ;  
 	 }  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) . s t y l e . l e f t     =   ( S l i d e r P o s i t i o n   -   p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r P o i n t " ) . c l i e n t W i d t h ,   1 0 )   /   2 )   +   " p x " ;  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r T r a i l " ) . s t y l e . w i d t h   =   S l i d e r P o s i t i o n . t o S t r i n g ( )   +   " p x " ;  
 	 S l i d e r P o s i t i o n   =   n u l l ;   o b j C o n t r o l s   =   n u l l ;   c u r r e n t P o s i t i o n   =   n u l l ;   s e n d e r   =   n u l l ;   e v e n t   =   n u l l ;  
 }  
  
 f u n c t i o n   s e t S l i d e r V o l u m e P o s i t i o n ( s e n d e r ,   e v e n t )    
 {    
 	 i f   ( ! I s N S A X W M P )   r e t u r n ;  
 	 i f   ( t y p e o f ( e v e n t ) = = ' u n d e f i n e d ' )   e v e n t   =   w i n d o w . e v e n t ;  
 	 v a r   S l i d e r V o l u m e P o s i t i o n   =    
 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) . s t y l e . l e f t ,   1 0 )   +    
 	 	 p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) . c l i e n t W i d t h ,   1 0 )   /   2 ,  
 	 	 o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ;  
 	 i f   ( ( s e n d e r . t a g N a m e ) & & ( e v e n t [ I s N S   ?   " t a r g e t "   :   " s r c E l e m e n t " ]   ! =   d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) ) )    
 	 {    
 	 	 S l i d e r V o l u m e P o s i t i o n   =    
 	 	 	 (  
 	 	 	 	 I s N S   ?  
 	 	 	 	 e v e n t . l a y e r X   -   d o G e t E l e m e n t O f f s e t L e f t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e A r e a " ) )   :  
 	 	 	 	 e v e n t . o f f s e t X  
 	 	 	 )   -   i n t S V S h i f t C   +   1 ;  
 	 	 i n i t S l i d e r V o l u m e ( ) ;  
 	 	 o b j S e t t i n g s . v o l u m e   =   c o e f P r o g r e s s S l i d e r V o l u m e   *   S l i d e r V o l u m e P o s i t i o n ;    
 	 	 o b j S e t t i n g s . m u t e   =   I s M u t e d ;  
 	 	 w i n d o w . s t a t u s   =   " V o l u m e   "   +   e l O b j P l a y e r . s e t t i n g s . v o l u m e   +   "   %   "   +   ( I s M u t e d   ?   " ( m u t e d ) "   :   " " ) ;    
 	 }    
 	 e l s e   i f   ( ! i s N a N ( s e n d e r ) )    
 	 	 S l i d e r V o l u m e P o s i t i o n   =   s e n d e r   +   ( s l i d e r V o l u m e I s D r a g g e d   ?   i n t S V S h i f t D I E   :   0 ) ;    
 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) . s t y l e . l e f t   =   ( S l i d e r V o l u m e P o s i t i o n   -   p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e P o i n t " ) . c l i e n t W i d t h ,   1 0 )   /   2 )   +   " p x " ;    
 	 S l i d e r V o l u m e P o s i t i o n   =   n u l l ;   o b j S e t t i n g s   =   n u l l ;    
 }    
  
 f u n c t i o n   S l i d e r P o i n t P r o g r e s s U p d a t e ( )  
 { 	  
 	 v a r   o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ,   c u r r e n t P o s i t i o n   =   o b j C o n t r o l s . c u r r e n t P o s i t i o n ,   p r o g r e s s   =   c u r r e n t P o s i t i o n   /   c o e f P r o g r e s s S l i d e r ;  
 	 t r y   {  
 	 	 i f   ( i s N a N ( p r o g r e s s ) )   p r o g r e s s   =   0 ;  
 	 	 S l i d e r A r e a C l i c k ( p r o g r e s s ,   n u l l ) ;  
 	 }  
 	 c a t c h ( e ) { e   =   n u l l ; }  
 	 o b j C o n t r o l s   =   n u l l ;   c u r r e n t P o s i t i o n   =   n u l l ;    
 }  
  
 f u n c t i o n   S l i d e r V o l u m e P o i n t P r o g r e s s U p d a t e ( )  
 { 	  
 	 / / S l i d e r V o l u m e A r e a C l i c k ( o b j P l a y e r . s e t t i n g s . v o l u m e   /   c o e f P r o g r e s s S l i d e r V o l u m e ) ;  
 }  
  
 f u n c t i o n   i n i t S l i d e r ( b l R e c a l c u l a t e C o e f )    
 {    
 	 i f   ( ! I s N S A X W M P )   r e t u r n ;  
 	 i f   (    
 	 	 ( t y p e o f ( I s P r e s e n t e d S l i d e r ) = = ' u n d e f i n e d ' )   | |    
 	 	 ! I s P r e s e n t e d S l i d e r   | |    
 	 	 ( ! b l R e c a l c u l a t e C o e f   & &   c o e f P r o g r e s s S l i d e r ! = n u l l )    
 	 	 )   r e t u r n ;    
 	 v a r   n e w C f c   =   c o e f P r o g r e s s S l i d e r ,   o b j C u r r e n t M e d i a   =   e l O b j P l a y e r . c u r r e n t M e d i a ,   d u r a t i o n   =   o b j C u r r e n t M e d i a   = =   n u l l   ?   n u l l   :   o b j C u r r e n t M e d i a . d u r a t i o n ;    
 	 i f   ( d u r a t i o n ! = n u l l )  
 	 {  
 	 	 t r y   {    
 	 	 	 n e w C f c   =   d u r a t i o n   /   d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r A r e a " ) . c l i e n t W i d t h ;    
 	 	 }    
 	 	 c a t c h ( e )   {    
 	 	 	 e   =   n u l l ;    
 	 	 }    
 	 	 i f   ( n e w C f c   ! =   c o e f P r o g r e s s S l i d e r )    
 	 	 {    
 	 	 	 c o e f P r o g r e s s S l i d e r   =   n e w C f c ;    
 	 	 	 i f   ( ( c o e f P r o g r e s s S l i d e r ! = n u l l ) & & ( c o e f P r o g r e s s S l i d e r   >   0 ) )   {    
 	 	 	 	 o I n t e r v a l S l i d e r P r o g r e s s P e r i o d   =   5 0 0 0   *   c o e f P r o g r e s s S l i d e r ;    
 	 	 	 	 w i n d o w . c l e a r I n t e r v a l ( o I n t e r v a l S l i d e r P r o g r e s s ) ;    
 	 	 	 	 o I n t e r v a l S l i d e r P r o g r e s s   =   w i n d o w . s e t I n t e r v a l ( ' S l i d e r P o i n t P r o g r e s s U p d a t e ( ) ' ,   o I n t e r v a l S l i d e r P r o g r e s s P e r i o d ) ; 	  
 	 	 	 	 S l i d e r P o i n t P r o g r e s s U p d a t e ( ) ;    
 	 	 	 }    
 	 	 }    
 	 }  
 	 n e w C f c   =   n u l l ;   o b j C u r r e n t M e d i a   =   n u l l ;   d u r a t i o n   =   n u l l ;    
 }    
    
 f u n c t i o n   i n i t S l i d e r V o l u m e ( )    
 {    
 	 i f   ( ( c o e f P r o g r e s s S l i d e r V o l u m e ! = n u l l ) & & ( c o e f P r o g r e s s S l i d e r V o l u m e ! = I n f i n i t y ) & & ( t y p e o f ( c o e f P r o g r e s s S l i d e r V o l u m e ) ! = ' u n d e f i n e d ' ) )   r e t u r n ;    
 	 c o e f P r o g r e s s S l i d e r V o l u m e   =   1 0 0   /   p a r s e I n t ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n S l i d e r V o l u m e A r e a " ) . c l i e n t W i d t h ,   1 0 ) ;    
 	  
 	 i f ( I s P r e s e n t e d S l i d e r V o l u m e )   {  
 	 	 v a r   o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ,   v o l u m e   =   o b j S e t t i n g s . v o l u m e ;  
 	 	 s e t S l i d e r V o l u m e P o s i t i o n ( v o l u m e   /   c o e f P r o g r e s s S l i d e r V o l u m e ) ;  
 	 	 o b j S e t t i n g s   =   n u l l ;   v o l u m e   =   n u l l ;  
 	 }  
 }    
    
 f u n c t i o n   o n B u f f e r i n g ( S t a r t )  
 {  
 	 i s B u f f e r i n g   =   S t a r t ;  
 	 i f   ( S t a r t )  
 	 {    
 	 	 o I n t e r v a l B u f f e r i n g   =   w i n d o w . s e t I n t e r v a l ( ' u p d a t e b p ( ) ' ,   2 5 0 ) ;    
 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ,   e l O b j P l a y e r ) ;  
 	 }    
 	 e l s e   {  
 	 	 w i n d o w . c l e a r I n t e r v a l ( o I n t e r v a l B u f f e r i n g ) ;  
 	 	 o I n t e r v a l B u f f e r i n g   =   n u l l ;  
 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( e l O b j P l a y e r ,   d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ) ;  
 	 	 e l B P T e x t . i n n e r H T M L   =   " " ;  
 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y = ' h i d d e n ' ;  
 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 }  
 	 S t a r t   =   n u l l ;  
 }  
  
 f u n c t i o n   o n P l a y S t a t e C h a n g e ( N e w S t a t e )  
 {  
 	 s w i t c h   ( N e w S t a t e )  
 	 {  
 	         c a s e   0 :  
 	                 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   " " ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " n o n e " ;  
                  c a s e   1 :  
                         e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   " " ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 	 t r y   {  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " P l a y e r B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " P l a y e r B t n P l a y S t a t e " ) . s r c ,   " P l a y e r B t n P S S t o p p e d P a u s e d " ) ;  
 	 	 	 } c a t c h ( e ) { e = n u l l ; }  
 	 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ,   e l O b j P l a y e r ) ; 	  
 	 	 	 b r e a k ;    
 	 	 c a s e     2 :  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " P l a y e r B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " P l a y e r B t n P l a y S t a t e " ) . s r c ,   " P l a y e r B t n P S S t o p p e d P a u s e d " ) ;  
 	 	 	 b r e a k ; 	 	  
 	 	 c a s e     3 :  
 	 	 	 v a r   o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ,   v o l u m e   =   o b j S e t t i n g s . v o l u m e ;  
 	 	 	 i f ( I s P r e s e n t e d S l i d e r V o l u m e )   s e t S l i d e r V o l u m e P o s i t i o n ( v o l u m e   /   c o e f P r o g r e s s S l i d e r V o l u m e ) ;  
 	 	 	 t r y   {  
 	 	 	 	 i f   ( ! I s L i v e )   d o c u m e n t . g e t E l e m e n t B y I d ( " P l a y e r B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " P l a y e r B t n P l a y S t a t e " ) . s r c ,   " P l a y e r B t n P S P l a y i n g " ) ;  
 	 	 	 } c a t c h ( e ) { e = n u l l ; } ;  
     	 	 	 i f   ( i s B u f f e r i n g = = f a l s e )   {  
     	 	 	         e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
     	 	 	 	 e l B P T e x t . i n n e r H T M L   =   V i d e o t e x t ;  
     	 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
     	 	 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
     	 	 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( e l O b j P l a y e r ,   d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ) ;  
     	 	 	 	 i n i t S l i d e r ( f a l s e ) ;  
     	 	 	 }  
     	 	 	 i f   ( I s P r e s e n t e d S l i d e r )   {  
     	 	 	 	 v a r   o b j C u r r e n t M e d i a   =   e l O b j P l a y e r . c u r r e n t M e d i a ,   s   =   o b j C u r r e n t M e d i a . d u r a t i o n S t r i n g ;  
     	 	 	 	 i f ( ( s . l e n g t h = = 5 )   & &   I s C l i p H o u r D i s p l a y )    
     	 	 	 	 	 s   =   " 0 0 : "   +   s ;  
     	 	 	 	 e l s e   i f   ( s . l e n g t h   = =   8 )    
 	 	 	 	 	 I s C l i p H o u r D i s p l a y   =   t r u e ;    
 	 	 	 	 t r y   {  
     	 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n T i m e E n d " ) [ I s N S   ?   " t e x t C o n t e n t "   :   " i n n e r T e x t " ]   =   s ;  
     	 	 	 	 }  
     	 	 	 	 c a t c h ( e ) { e   =   n u l l ; }  
     	 	 	 	 s   =   n u l l ;   o b j C u r r e n t M e d i a   =   n u l l ;  
     	 	 	 }  
     	 	 	 s e t T i m e o u t ( " e l O b j P l a y e r . s e t t i n g s . m u t e   =   "   +   I s M u t e d ,   0 ) ;  
     	 	 	 o b j S e t t i n g s   =   n u l l ;  
     	 	 	 i f   ( s e n d P l a y ! = n u l l )   s e n d P l a y ( ) ;  
 	 	 	 b r e a k ;  
 	 	 c a s e     4 :   b r e a k ;    
 	 	 c a s e     5 :   b r e a k ;    
 	 	 c a s e     6 :   b r e a k ;  
 	 	 c a s e   7 :  
 	 	         e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   " ÐàÐ  ÜÔÞêÙß. . . . " ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
 	 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 	 b r e a k ;    
 	 	 c a s e     8 :  
 	 	 	 t r y  
 	 	 	 {  
 	 	 	 	 i f   ( I s P r e s e n t e d S l i d e r )    
 	 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n T i m e C u r r e n t P o s i t i o n " ) [ I s N S   ?   " t e x t C o n t e n t "   :   " i n n e r T e x t " ]   =    
 	 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " s p n T i m e E n d " ) [ I s N S   ?   " t e x t C o n t e n t "   :   " i n n e r T e x t " ] ;  
 	 	 	 }  
 	 	 	 c a t c h ( e ) { e = n u l l ; }  
 	 	 	 t r y   {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c ,   " i m g B t n P S S t o p p e d P a u s e d " ) ;  
                  }   c a t c h   ( e )   {   }  
                         e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   V i d e o t e x t ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
 	 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ,   e l O b j P l a y e r ) ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   V i d e o t e x t ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
 	 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 	 b r e a k ;  
                  c a s e   9 :  
                         e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   " ÙÕæè  çéè  âÝ  Ôéèê. . . " ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
 	 	 	 t r y   {  
 	 	 	 	 i f   ( ! I s L i v e ) d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c ,   " i m g B t n P S P l a y i n g " ) ;  
 	 	 	 } c a t c h ( e ) { e = n u l l ; }  
 	 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ,   e l O b j P l a y e r ) ;  
 	 	 	 b r e a k ;  
 	 	 c a s e   1 0 :  
 	 	 	 w i n d o w . c l e a r I n t e r v a l ( o I n t e r v a l B u f f e r i n g ) ;  
 	 	 	 o I n t e r v a l B u f f e r i n g   =   n u l l ;  
 	 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 	 e l B P T e x t . i n n e r H T M L   =   V i d e o t e x t ;  
 	 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
 	 	 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 	 t r y   {  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c ,   " i m g B t n P S S t o p p e d P a u s e d " ) ;  
 	 	 	 } c a t c h ( e ) { e = n u l l }  
 	 	 	 f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( d o c u m e n t . g e t E l e m e n t B y I d ( " s p n P r e v i e w " ) ,   e l O b j P l a y e r ) ;  
 	 	 	 b r e a k ;  
 	 	 c a s e   1 1 :  
     	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c   =   c h a n g e I m a g e S o u r c e ( d o c u m e n t . g e t E l e m e n t B y I d ( " i m g B t n P l a y S t a t e " ) . s r c ,   " i m g B t n P S S t o p p e d P a u s e d " ) ;    
   	 	 	 b r e a k ;    
 	 }  
 	 i f   ( t y p e o f ( I s I n P l a y l i s t S h o w ) ! = ' u n d e f i n e d ' )  
 	 {  
 	 	 p l a y S t a t e C h a n g e ( N e w S t a t e ) ;  
 	 }  
 	 N e w S t a t e   =   n u l l ;  
 }  
  
 f u n c t i o n   f l i p V i s i b i l i t y 2 P l a y e r 2 S p l a s h S c r e e n ( c o n t r o l 1 ,   c o n t r o l 2 )  
 {  
 	 i f   ( c o n t r o l 1 . i d   = =   " s p n P r e v i e w " )   {  
 	 	 c o n t r o l 1 . s t y l e . d i s p l a y   =   " " ;  
 	 	 c o n t r o l 2 . s t y l e . v i s i b i l i t y   =   " h i d d e n " ;  
 	 }  
 	 e l s e   {  
 	 	 c o n t r o l 2 . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 c o n t r o l 1 . s t y l e . v i s i b i l i t y   =   " " ;  
 	 }  
 }  
  
 f u n c t i o n   u p d a t e b p ( )  
 {  
 	 i f   ( o I n t e r v a l B u f f e r i n g = = n u l l )   {  
 	         e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 e l B P T e x t . i n n e r H T M L   =   " " ;    
 	 	 e l B P T e x t . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 r e t u r n ;  
 	 }  
 	 v a r   o b j N e t w o r k   =   e l O b j P l a y e r . n e t w o r k ,   b u f f e r i n g P r o g r e s s   =   o b j N e t w o r k . b u f f e r i n g P r o g r e s s ;  
 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 e l B P T e x t . i n n e r H T M L   =   " ÞÕèÙÓ:     "   +   b u f f e r i n g P r o g r e s s   +   "   Ð×ÕÖ  " ;  
 	 e l B P T e x t . s t y l e . d i s p l a y   =   " " ;  
 	 e l B P T e x t . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 o b j N e t w o r k   =   n u l l ;   b u f f e r i n g P r o g r e s s   =   n u l l ;  
 }  
  
 f u n c t i o n   c l i c k P l a y P a u s e ( )  
 {  
 	 v a r   o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ,   p l a y S t a t e   =   e l O b j P l a y e r . p l a y S t a t e ;  
 	 s w i t c h   ( p l a y S t a t e )   {  
 	 	 c a s e   3 :   c a s e   9 :  
 	 	 	 i f   ( I s L i v e )    
 	 	 	 	 ;  
 	 	 	 e l s e    
 	 	 	 	 o b j C o n t r o l s . P a u s e ( ) ;    
 	 	 	 b r e a k ;  
 	 	 d e f a u l t :   	  
 	 	 	 t r y { o b j C o n t r o l s . P l a y ( ) ; } c a t c h ( e ) { e   =   n u l l ; }  
 	 }  
 	 o b j C o n t r o l s   =   n u l l ;   p l a y S t a t e   =   n u l l ;  
 }  
  
 f u n c t i o n   c l i c k R u n S t o p ( )  
 {  
 	 i f   ( ! I s N S A X W M P )   r e t u r n ;  
 	 v a r    
 	 	 p l a y S t a t e   =   e l O b j P l a y e r . p l a y S t a t e ,    
 	 	 o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;    
 	 s w i t c h   ( p l a y S t a t e )   {  
 	 	 c a s e   2 :   c a s e   3 :   c a s e   9 :    
 	 	 	 o b j C o n t r o l s . S t o p ( ) ;  
 	 	 	 i f   ( s z U R L M e d i a = = " " )   {  
 	 	 	 	 v a r    
 	 	 	 	 	 o b j C u r r e n t M e d i a   =   e l O b j P l a y e r . c u r r e n t M e d i a ,    
 	 	 	 	 	 o b j C u r r e n t P l a y l i s t   =   e l O b j P l a y e r . c u r r e n t P l a y l i s t ,    
 	 	 	 	 	 I t e m 0   =   o b j C u r r e n t P l a y l i s t . I t e m ( 0 ) ;  
 	 	 	 	 o b j C u r r e n t M e d i a   =   I t e m 0 ;  
 	 	 	 	 o b j C u r r e n t P l a y l i s t   =   n u l l ;   o b j C u r r e n t P l a y l i s t   =   n u l l ;   I t e m 0   =   n u l l ;  
 	 	 	 }  
 	 	 	 e l s e   {  
 	 	 	 	 e l O b j P l a y e r . U R L   =   s z U R L M e d i a ;  
 	 	 	 	 o b j C o n t r o l s . S t o p ( ) ;  
 	 	 	 }  
 	 	 	 b r e a k ;  
 	 	 d e f a u l t :    
 	 	 	 b r e a k ;  
 	 }  
 	 p l a y S t a t e   =   n u l l ;   o b j C o n t r o l s   =   n u l l ;  
 }  
  
 f u n c t i o n   d o M o u s e O v e r I m a g e ( s e n d e r ,   e v e n t )  
 {  
 	 v a r   s z I m g U R L   =   s e n d e r . t a g N a m e   = =   " I M G "   ?   s e n d e r . s r c   :   s e n d e r . s t y l e . b a c k g r o u n d I m a g e ;  
 	 i f   ( t y p e o f ( e v e n t ) = = ' u n d e f i n e d ' )  
 	 	 e v e n t   =   w i n d o w . e v e n t ;  
 	 i f   ( s e n d e r . t a g N a m e   ! =   " I M G " )  
 	 	 s z I m g U R L   =   s z I m g U R L . s u b s t r ( 4 ,   s z I m g U R L . l e n g t h   -   5 ) ;  
 	 v a r   s z N e w S r c ,   i   =   s z I m g U R L . l a s t I n d e x O f ( " . " ) ,   s z I m g E x t   =   s z I m g U R L . s u b s t r ( i ) ; 	  
 	 i f ( s z I m g U R L . i n d e x O f ( " _ D A . " ) > 0 )   r e t u r n ;  
 	 i f ( s z I m g U R L . i n d e x O f ( " _ M O . " ) > 0 )  
 	 	 s z N e w S r c   =   s z I m g U R L . s u b s t r ( 0 ,   s z I m g U R L . l e n g t h   -   3   -   s z I m g E x t . l e n g t h ) ;  
 	 e l s e  
 	 	 s z N e w S r c   =   s z I m g U R L . s u b s t r ( 0 ,   s z I m g U R L . l e n g t h   -   s z I m g E x t . l e n g t h ) ;  
 	 i f ( e v e n t . t y p e = = " m o u s e o v e r " )   s z N e w S r c   + =   " _ M O " ;  
 	 s z I m g U R L   =   s z N e w S r c   +   s z I m g E x t ;  
 	 i f   ( s e n d e r . t a g N a m e   = =   " I M G " )  
 	 	 s e n d e r . s r c   =   s z I m g U R L ;  
 	 e l s e  
 	 	 s e n d e r . s t y l e . b a c k g r o u n d I m a g e   =   " u r l ( "   +   s z I m g U R L   +   " ) " ;  
 	 s z I m g U R L   =   n u l l ;   s z N e w S r c   =   n u l l ;   i   =   n u l l ;   s z I m g E x t   =   n u l l ;  
 }  
  
 f u n c t i o n   c h a n g e I m a g e S o u r c e ( s z O l d I m a g e S o u r c e ,   s z N e w I m a g e N a m e )  
 {  
 	 v a r   i   =   s z O l d I m a g e S o u r c e . l a s t I n d e x O f ( " . " ) ,   s z I m g E x t   =   s z O l d I m a g e S o u r c e . s u b s t r ( i ) ;  
 	 i   =   s z O l d I m a g e S o u r c e . l a s t I n d e x O f ( " / " ) ;  
 	 v a r   s z I m a g e P a t h   =   i = = - 1   ?   " "   :   s z O l d I m a g e S o u r c e . s u b s t r ( 0 ,   i   +   1 ) ;    
 	 v a r   r e t V a l   =   ( s z I m a g e P a t h   +   s z N e w I m a g e N a m e   +   s z I m g E x t ) ;  
 	 i   =   n u l l ;   s z I m a g e P a t h   =   n u l l ;   s z N e w I m a g e N a m e   =   n u l l ;   s z I m g E x t   =   n u l l ;  
 	 r e t u r n   r e t V a l ;  
 }  
  
 f u n c t i o n   c l i c k M u t e ( s e n d e r )  
 {  
 	 i f   ( ! I s N S A X W M P )   r e t u r n ;  
 	 I s M u t e d   =   ! I s M u t e d ;  
 	 v a r   o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ;  
 	 o b j S e t t i n g s . m u t e   =   I s M u t e d   ?   t r u e   :   f a l s e ;  
 	 s e n d e r . s r c   =   c h a n g e I m a g e S o u r c e ( s e n d e r . s r c ,   I s M u t e d   ?   " P l a y e r B t n M u t e d "   :   " P l a y e r B t n M u t e " ) ;  
 	 t r y 	 {    
 	 	 s e n d e r [ I s N S   ?   " p a r e n t N o d e "   :   " p a r e n t E l e m e n t " ] .  
 	 	 	 c h i l d N o d e s [ I s N S   ?   3   :   2 ] [ I s N S   ?   " t e x t C o n t e n t "   :   " i n n e r T e x t " ]   =    
 	 	 	 	 I s M u t e d   ?   " Ôéêç  çÕÜ"   : " ÔäâÜ  çÕÜ" ;  
 	 }    
 	 c a t c h ( e ) { e   =   n u l l ; }  
 	 o b j S e t t i n g s   =   n u l l ;  
 } 	  
  
  
  
  
 f u n c t i o n   c l i c k F u l l S c r e e n ( )  
 {  
 	 v a r   p l a y s t a t e   =   e l O b j P l a y e r . p l a y s t a t e ;  
 	 i f ( p l a y s t a t e = = 3 )   e l O b j P l a y e r . f u l l S c r e e n   =   t r u e ;  
 }  
    
 f u n c t i o n   v o l U p ( )    
 {    
 	 v a r   o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ;    
 	 i f   ( o b j S e t t i n g s . m u t e )    
 	 	 i m g B t n M u t e . s r c = " P l a y e r B t n M u t e . p n g " ;  
 	 i f   ( o b j S e t t i n g s . v o l u m e   >   8 0 )    
 	 	 o b j S e t t i n g s . v o l u m e   + =     5 ;    
 	 e l s e    
 	 	 o b j S e t t i n g s . v o l u m e   + =   1 0 ;    
 	 o b j S e t t i n g s   =   n u l l ;    
 }    
    
 f u n c t i o n   v o l D n ( )    
 {    
 	 v a r   o b j S e t t i n g s   =   e l O b j P l a y e r . s e t t i n g s ;    
 	 i f   ( o b j S e t t i n g s . m u t e )    
 	 	 i m g B t n M u t e . s r c = " P l a y e r B t n M u t e . p n g " ;  
 	 i f   ( o b j S e t t i n g s . v o l u m e   <   2 0 )    
 	 	 o b j S e t t i n g s . v o l u m e   - =   5 ;    
 	 e l s e    
 	 	 o b j S e t t i n g s . v o l u m e   - =   1 0 ;    
 	 o b j S e t t i n g s   =   n u l l ;    
 }    
  
 f u n c t i o n   c l i c k G o t o P r e v ( )   {  
 	 v a r   o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;  
 	 o b j C o n t r o l s . p r e v i o u s ( ) ;  
 	 o b j C o n t r o l s   =   n u l l ;  
 }  
  
 f u n c t i o n   c l i c k G o t o N e x t ( )   {  
 	 v a r   o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;  
 	 o b j C o n t r o l s . n e x t ( ) ;  
 	 o b j C o n t r o l s   =   n u l l ;  
 }  
  
 f u n c t i o n   p r e p a r e P l a y e r C h e c k P o i n t C o n t e x t M e n u ( )  
 { 	  
 	 d o c u m e n t . s e l e c t i o n . e m p t y ( ) ;  
 	 e l O b j P l a y e r . s e t C a p t u r e ( ) ;  
 	 i f   ( I s N S )    
 	 {  
 	 	 e v e n t   =   a r g u m e n t s [ 0 ] ;  
 	 	 i f   ( e v e n t = = n u l l )  
                 	 {  
 	 	 	 e l O b j P l a y e r . e n a b l e C o n t e x t M e n u   =   f a l s e ;  
 	 	 	 r e t u r n ;  
 	 	 }  
 	 }  
 	 e l s e  
 	 {  
 	 	 i f   ( a r g u m e n t s [ 0 ]   = =   f a l s e )    
 	 	 {  
 	 	 	 e l O b j P l a y e r . e n a b l e C o n t e x t M e n u   =   f a l s e ;  
 	 	 	 r e t u r n ;  
 	 	 }  
 	 }  
 	 v a r   k c   =   I s N S   ?   e v e n t . c h a r C o d e   :   e v e n t . k e y C o d e ;  
 	 i f   ( I s N S )  
 	 {  
 	 	 i f   ( ( k c   = =   8 9 )   & &   e v e n t . c t r l K e y )    
 	 	 {  
 	 	 	 e l O b j P l a y e r . e n a b l e C o n t e x t M e n u   =   t r u e ;  
 	 	 	 s e t T i m e o u t ( ' p r e p a r e P l a y e r C h e c k P o i n t C o n t e x t M e n u ( n u l l ) ' ,   1 0 0 0 ) ;  
 	 	 }  
 	 }  
 	 e l s e  
 	 {  
 	 	 i f   ( k c = = 2 5 )  
 	 	 {  
 	 	 	 e l O b j P l a y e r . e n a b l e C o n t e x t M e n u   =   t r u e ;  
 	 	 	 s e t T i m e o u t ( ' p r e p a r e P l a y e r C h e c k P o i n t C o n t e x t M e n u ( f a l s e ) ' ,   1 0 0 0 ) ;  
 	 	 }  
 	 }  
 }  
          
 f u n c t i o n   g e t C h e c k P o i n t P l a y e r C o n t e x t M e n u ( e v e n t )  
 {  
 	 d o c u m e n t . s e l e c t i o n . e m p t y ( ) ;  
 	 e l O b j P l a y e r . s e t C a p t u r e ( ) ;  
 	 e l O b j P l a y e r . e n a b l e C o n t e x t M e n u   =   I s C t x t M e n u T r i g g e r ;  
 	 I s C t x t M e n u T r i g g e r   =   f a l s e ;  
 }  
  
 f u n c t i o n   P l a y e r C l i c k e d ( n B u t t o n ,   n S h i f t S t a t e ,   f X ,   f Y )  
 {  
  
 	 i f   ( n B u t t o n ! = 1 ) r e t u r n ;  
 	 v a r   s z L o g o d U R L   =   e l O b j P l a y e r . c u r r e n t M e d i a . g e t I t e m I n f o ( " l o g o U R L " ) ;  
 	 i f   ( ( s z L o g o d U R L   ! =   n u l l )   & &   ( s z L o g o d U R L   ! =   " " ) )  
 	 	 t r y { w i n d o w . o p e n ( s z L o g o d U R L ) ; } c a t c h ( e ) { }  
 }  
  
 f u n c t i o n   P l a y e r M o u s e M o v e ( n B u t t o n ,   n S h i f t S t a t e ,   f X ,   f Y )  
 {  
 	 v a r   s z L o g o d U R L   =   e l O b j P l a y e r . c u r r e n t M e d i a . g e t I t e m I n f o ( " l o g o U R L " ) ;  
 	 i f   ( ( s z L o g o d U R L   ! =   n u l l )   & &   ( s z L o g o d U R L   ! =   " " ) )  
 	 {  
 	 	 o b j P l a y e r . s t y l e . c u r s o r   =   " " ;  
 	 	 w i n d o w . s t a t u s   =   s z L o g o d U R L ;  
 	 	 o b j P l a y e r . s t y l e . c u r s o r   =   " h a n d " ;  
 	 }  
 }  
  
 f u n c t i o n   P l a y e r M o u s e L e a v e ( )  
 {  
 	 w i n d o w . s t a t u s   =   ' ' ;  
 }  
  
 f u n c t i o n   d o P l a y F r o m S c r e e n C l i c k ( )  
 {  
 	 s w i t c h   ( e l O b j P l a y e r . p l a y S t a t e )  
 	 {  
 	 	 c a s e   1 :   c a s e   2 :   c a s e   1 0 :   { v a r   o b j C o n t r o l s   =   e l O b j P l a y e r . c o n t r o l s ;   o b j C o n t r o l s . p l a y ( ) ;   o b j C o n t r o l s   =   n u l l ; }  
 	 }  
 }  
 
