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