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