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