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