ÿþ/ / - - - - - - - - - - - - - - - - - - - - - - - - - - O t w a r c i e   P l a y e r a - - - - - - - - - - - - - - - - - - - - - - - - - -  
  
 f u n c t i o n   o p e n P o p U p ( u r l , t a r g e t , a t t r i b u t e s )    
 {  
 	 p o p u p   =   w i n d o w . o p e n ( u r l , t a r g e t , a t t r i b u t e s ) ;  
 	 p o p u p . m o v e T o ( ( w i n d o w . s c r e e n . a v a i l W i d t h   -     3 5 0 )   /   2 ,   ( w i n d o w . s c r e e n . a v a i l H e i g h t   -   1 5 0 )   /   2 ) ;  
 	 p o p u p . f o c u s ( ) ;  
 }  
  
  
 f u n c t i o n   R e g i s t e r E v e n t O b s e r v e r s ( )    
 {    
         v a r   p l u g i n   =   d o c u m e n t . W M P l a y ;  
         d o c u m e n t . a p p O b s . s e t B y P r o x y D S N e w S t r e a m O b s e r v e r ( p l u g i n ,   t r u e ) ;    
         t r o c a ( ) ;  
         n u m e r o   =   n u m e r o   -   1 ;  
 }  
 f u n c t i o n   O n D S N e w S t r e a m E v t ( o l d s t a t e ,   n e w s t a t e )  
 {  
         s e t T i m e o u t ( ' t r o c a ( ) ; ' , 1 0 0 0 ) ;  
 }                    
 f u n c t i o n   P l a y C l i c k ( )  
 {  
         d o c u m e n t . W M P l a y . P l a y ( ) ;  
 }  
 f u n c t i o n   S t o p C l i c k ( )  
 {  
         n u m e r o   =   1 ;  
         d o c u m e n t . W M P l a y . S t o p ( ) ;  
         i f   ( n a v i g a t o r . a p p N a m e . i n d e x O f ( ' N e t s c a p e ' )   ! =   - 1 )   {  
                 d o c u m e n t . W M P l a y . S e t C u r r e n t P o s i t i o n ( 0 ) ;  
         }   e l s e   {  
                 d o c u m e n t . W M P l a y . C u r r e n t P o s i t i o n   =   0 ;  
         }  
 }  
 f u n c t i o n   P a u s e C l i c k ( )  
 {  
         i f   ( n a v i g a t o r . a p p N a m e . i n d e x O f ( ' N e t s c a p e ' )   ! =   - 1 )   {  
                 e s t a d o = d o c u m e n t . W M P l a y . G e t P l a y S t a t e ( ) ;  
         }   e l s e   {  
                 e s t a d o = d o c u m e n t . W M P l a y . P l a y S t a t e ;  
         }  
  
         i f   ( e s t a d o = = 1 )   {  
                 d o c u m e n t . W M P l a y . P l a y ( ) ;  
         }   e l s e   i f   ( e s t a d o = = 2 )   {  
                 d o c u m e n t . W M P l a y . P a u s e ( ) ;  
         }  
 }  
 f u n c t i o n   F o w a r d C l i c k ( )  
 {  
         d o c u m e n t . W M P l a y . N e x t ( ) ;  
 }  
 f u n c t i o n   B a c k C l i c k ( )  
 {  
         n u m e r o   =   n u m e r o   -   2 ;  
         d o c u m e n t . W M P l a y . P r e v i o u s ( ) ;  
 }  
 f u n c t i o n   U p V o l u m e C l i c k ( )  
 {  
         i f   ( d o c u m e n t . W M P l a y . V o l u m e   < =   - 3 0 0 )   {  
                 d o c u m e n t . W M P l a y . V o l u m e   =   d o c u m e n t . W M P l a y . V o l u m e   +   3 0 0 ;  
         }  
 }  
 f u n c t i o n   D o w n V o l u m e C l i c k ( )  
 {  
         i f   ( d o c u m e n t . W M P l a y . V o l u m e   > =   - 8 0 0 0 )   {  
                 d o c u m e n t . W M P l a y . V o l u m e   =   d o c u m e n t . W M P l a y . V o l u m e   -   3 0 0 ;  
         }  
 }  
  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
  
  
 f u n c t i o n   k o n ( ) {  
 y   =   d o c u m e n t . p a s e k . t r e s c . v a l u e ;  
  
 f o r   ( i = 0 ; i < = y . l e n g t h ; i + + )   {  
 i f   ( y . c h a r A t ( i ) = = ' ' )   y   =   y . s u b s t r ( 0 , i ) + ' ± ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' ' )   y   =   y . s u b s t r ( 0 , i ) + ' æ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' ' )   y   =   y . s u b s t r ( 0 , i ) + ' ê ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' B' )   y   =   y . s u b s t r ( 0 , i ) + ' ³ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' D' )   y   =   y . s u b s t r ( 0 , i ) + ' ñ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' [' )   y   =   y . s u b s t r ( 0 , i ) + ' ¶ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' |' )   y   =   y . s u b s t r ( 0 , i ) + ' ¿ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' z' )   y   =   y . s u b s t r ( 0 , i ) + ' ¼ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
  
 i f   ( y . c h a r A t ( i ) = = ' ' )   y   =   y . s u b s t r ( 0 , i ) + ' Ç' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' ' )   y   =   y . s u b s t r ( 0 , i ) + ' Æ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' ' )   y   =   y . s u b s t r ( 0 , i ) + ' Ê ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' A' )   y   =   y . s u b s t r ( 0 , i ) + ' £ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' C' )   y   =   y . s u b s t r ( 0 , i ) + ' Ñ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' Z' )   y   =   y . s u b s t r ( 0 , i ) + ' ¦ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' {' )   y   =   y . s u b s t r ( 0 , i ) + ' ¯ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = ' y' )   y   =   y . s u b s t r ( 0 , i ) + ' ¬ ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
  
 i f   ( y . c h a r A t ( i ) = = '  ' )   y   =   y . s u b s t r ( 0 , i ) + ' " ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = '  ' )   y   =   y . s u b s t r ( 0 , i ) + ' " ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 i f   ( y . c h a r A t ( i ) = = '  ' )   y   =   y . s u b s t r ( 0 , i ) + ' - ' + y . s u b s t r ( i + 1 , 9 9 9 9 9 9 9 9 ) ;  
 }  
 d o c u m e n t . g d z i e . c o . v a l u e   =   y ;  
 }  
 
