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