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