f u n c t i o n   c l e a r F i e l d ( t e x t B o x , s t a r t V a l u e )  
 {  
 	 i f   ( t e x t B o x . v a l u e . i n d e x O f ( s t a r t V a l u e ) ! =   - 1 )  
 	 {  
 	 	 t e x t B o x . v a l u e = ' ' ;  
 	 }  
 }  
  
 f u n c t i o n   P a g e C h a n g e r ( d r o p d o w n V a l u e , p a g e )  
 {  
 	 m y S t r i n g   =   n e w   S t r i n g ( p a g e )  
 	 i f   ( p a g e . l e n g t h   >   0 )  
 	 {  
 	 	 r E x p   =   " { 0 } " ;  
 	 	 n e w S t r i n g   =   n e w   S t r i n g   ( d r o p d o w n V a l u e ) ;  
 	 	 r e s u l t s   =   m y S t r i n g . r e p l a c e ( r E x p ,   d r o p d o w n V a l u e ) ;  
 	 } 	  
 	 e l s e  
 	 {  
 	 	 r e s u l t s   =   d r o p d o w n V a l u e ;  
 	 }  
 	 t o p . l o c a t i o n . h r e f   =   r e s u l t s ;  
 }  
  
 / *   P o p   u p   f o r   p h o t o   g a l l e r y   * /  
 f u n c t i o n   o p e n B r W i n d o w ( t h e U R L , w i n N a m e , f e a t u r e s )   {  
                 v a r   w H F H I = w i n d o w . o p e n ( t h e U R L , w i n N a m e , f e a t u r e s ) ;  
                 w H F H I . f o c u s ( ) ;  
 } 
