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