ÿþf u n c t i o n   s e a r c h C l i c k ( o b j )  
 {  
 	 i f   ( l a n g u a g e   = =   ' e n g '   & &   o b j . v a l u e   = =   ' s e a r c h   t h i s   s i t e ' )  
 	 {  
 	 	 o b j . s t y l e . c o l o r   =   ' ' ;  
 	 	 o b j . v a l u e   =   ' ' ;  
 	 }  
 	 e l s e   i f   ( l a n g u a g e   = =   ' e s p '   & &   o b j . v a l u e   = =   ' b u s c a r   e n   e s t e   s i t i o ' )  
 	 {  
 	 	 o b j . s t y l e . c o l o r   =   ' ' ;  
 	 	 o b j . v a l u e   =   ' ' ;  
 	 }  
 	 e l s e   i f   ( l a n g u a g e   = =   ' c h n '   & &   o b j . v a l u e   = =   ' d"},gQÙz' )  
 	 {  
 	 	 o b j . s t y l e . c o l o r   =   ' ' ;  
 	 	 o b j . v a l u e   =   ' ' ;  
 	 }  
 }  
  
 f u n c t i o n   s e a r c h O u t ( o b j )  
 {  
 	 i f   ( o b j . v a l u e   = =   ' ' )   {  
 	 	 o b j . s t y l e . c o l o r   =   ' # B C B C B C ' ;  
 	 	 i f   ( l a n g u a g e   = =   ' e n g ' )  
 	 	 {  
 	 	 	 o b j . v a l u e   =   ' s e a r c h   t h i s   s i t e ' ;  
 	 	 }  
 	 	 e l s e   i f   ( l a n g u a g e   = =   ' e s p ' )  
 	 	 {  
 	 	 	 o b j . v a l u e   =   ' b u s c a r   e n   e s t e   s i t i o ' ;  
 	 	 }  
 	 	 e l s e   i f   ( l a n g u a g e   = =   ' c h n ' )  
 	 	 {  
 	 	 	 o b j . v a l u e   =   ' d"},gQÙz' ;  
 	 	 }  
 	 }  
 }  
  
 / /   d i s p l a y   s e a r c h   b o x  
 d o c u m e n t . w r i t e ( '                         < t a b l e   b o r d e r = " 0 "   c e l l p a d d i n g = " 0 "   c e l l s p a c i n g = " 0 " > ' ) ;  
 d o c u m e n t . w r i t e ( '                             < f o r m   n a m e = " s e a r c h _ q u e r y "     i d = " s e a r c h _ q u e r y "   m e t h o d = " G E T "   a c t i o n = " h t t p : / / w w w . g o o g l e . c o m / c s e "   t a r g e t = " _ b l a n k " > ' ) ;  
 d o c u m e n t . w r i t e ( '                             < t r > ' ) ;  
 d o c u m e n t . w r i t e ( '                                 < t d > < i m g   b o r d e r = " 0 "   s r c = " i m a g e s / s r c _ l e f t . p n g "   w i d t h = " 2 4 "   h e i g h t = " 2 6 " > < / t d > ' ) ;  
 d o c u m e n t . w r i t e ( '                                 < t d   b a c k g r o u n d = " i m a g e s / s r c _ b g . p n g " > < i n p u t   t y p e = " t e x t "   n a m e = " q "   s i z e = " 2 0 "   c l a s s = " s e a r c h b o x "   o n F o c u s = " j a v a s c r i p t : s e a r c h C l i c k ( t h i s ) ; "   o n B l u r = " j a v a s c r i p t : s e a r c h O u t ( t h i s ) ; " > < / t d > ' ) ;  
 d o c u m e n t . w r i t e ( '                                 < t d > < i n p u t   b o r d e r = " 0 "   s r c = " i m a g e s / s r c _ r i g h t . p n g "   n a m e = " s a "   w i d t h = " 2 4 "   h e i g h t = " 2 6 "   t y p e = " i m a g e "   c l a s s = " n o b o r d e r " > < / t d > ' ) ;  
 d o c u m e n t . w r i t e ( '                                 < t d > < i m g   b o r d e r = " 0 "   s r c = " i m a g e s / s p a c e r . g i f "   w i d t h = " 2 6 "   h e i g h t = " 2 6 " > < / t d > ' ) ;  
 d o c u m e n t . w r i t e ( '                             < / t r > ' ) ;  
 d o c u m e n t . w r i t e ( '                             < i n p u t   t y p e = " h i d d e n "   n a m e = " c x "   v a l u e = " 0 0 2 2 5 8 4 5 6 5 4 5 8 2 1 6 7 9 8 5 1 : u y g z t 4 b b p t e "   / > ' ) ;  
 d o c u m e n t . w r i t e ( '                             < i n p u t   t y p e = " h i d d e n "   n a m e = " i e "   v a l u e = " U T F - 8 "   / > ' ) ;  
 d o c u m e n t . w r i t e ( '                             < / f o r m > ' ) ;  
 d o c u m e n t . w r i t e ( '                         < / t a b l e > ' ) ;  
  
 / /   S e a r c h   b o x   i n i t  
 ( f u n c t i o n ( )   {  
 v a r   s r c 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 e a r c h _ q u e r y ' ) ;  
 s e a r c h O u t ( s r c B o x . q ) ;  
 } ) ( ) ; 
