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