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