ÿþv a r   n e w W i n d o w ;    
 v a r   f i r s t t i m e = 0 ;    
  
 f u n c t i o n   s h o w M e d i a ( u r l )    
 {    
                 d o c u m e n t . n e w U R L . u r l . v a l u e   =   u r l ;    
                 u r l   =   ' / s h o w m e d i a / c h i l d F r a m e . h t m l ' ;    
                 i f   ( f i r s t t i m e = = 0 )   {    
                                 n e w W i n d o w = w i n d o w . o p e n   ( u r l ,   " n e w W i n d o w " ,   " w i d t h = 7 0 0 , h e i g h t = 7 5 0 , m e n u b a r = n o , s c r o l l b a r s = y e s , 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 , r e s i z a b l e = y e s " ) ;  
  
                                 f i r s t t i m e + + ;    
                 }    
                 e l s e {    
                                 i f   ( n e w W i n d o w )   { n e w W i n d o w = w i n d o w . o p e n   ( u r l ,   " n e w W i n d o w " ,   " w i d t h = 7 0 0 , h e i g h t = 7 5 0 , m e n u b a r = n o , s c r o l l b a r s = y e s , 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 , r e s i z a b l e = y e s " ) ;  
  
                                 }   e l s e   {    
                                                 n e w W i n d o w . l o c a t i o n . h r e f = u r l ;   }    
                 }    
                 i f   ( n e w W i n d o w )   n e w W i n d o w . f o c u s ( ) ;    
 }    
  
 
