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