ÿþf u n c t i o n   a l l t r i m ( x )   {  
  
 	 l t r i m = " " ;  
 	 r t r i m = " " ;  
 	 i n p = x   ;  
  
 	 k = 0 ;  
 	 w h i l e ( i n p . c h a r A t ( k )   = =   "   " )  
 	 	 {  
 	 	 k = k + 1 ;  
 	 	 }  
 	 l t r i m = i n p . s u b s t r i n g ( k , i n p . l e n g t h ) ;  
 	  
 	 m = l t r i m . l e n g t h - 1 ;  
 	 w h i l e ( l t r i m . c h a r A t ( m )   = =   "   " )  
 	 	 {  
 	 	 m = m - 1 ;  
 	 	 }  
 	 r t r i m = l t r i m . s u b s t r i n g ( 0 , m + 1 ) ;  
 	 r e t u r n   r t r i m   ;  
 }  
  
  
 f u n c t i o n   c h e c k b l a n k d s ( )   {  
  
 	 i n p _ s t r = d o c u m e n t . f o r m s [ 0 ] . x i t e m . v a l u e ;  
 	 i n p = " " ;  
 	 i n p = a l l t r i m ( i n p _ s t r ) ;  
 	 d o c u m e n t . f o r m s [ 0 ] . x i t e m . v a l u e = i n p ;  
 	 i f     ( i n p = = " " )   	 {  
 	 	 a l e r t ( " T y p e   w h a t   y o u   a r e   l o o k i n g   f o r " ) ;  
 	 	 d o c u m e n t . f o r m s [ 0 ] . x i t e m . f o c u s ( ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 d o c u m e n t . f o r m s [ 0 ] . s u b m i t ( ) ;  
 }  
  
 f u n c t i o n   c h e c k b l a n k e ( )   {  
  
 	 i n p _ s t r = d o c u m e n t . f o r m s [ 0 ] . x i t e m . v a l u e ;  
 	 i f   ( i n p _ s t r = = " E n t e r   L e m m a " ) 	 {  
 	 	 a l e r t ( " T y p e   w h a t   y o u   a r e   l o o k i n g   f o r " ) ;  
 	 	 d o c u m e n t . f o r m s [ 0 ] . x i t e m . f o c u s ( ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 i n p = " " ;  
 	 i n p = a l l t r i m ( i n p _ s t r ) ;  
 	 d o c u m e n t . f o r m s [ 0 ] . x i t e m . v a l u e = i n p ;  
 	 i f     ( i n p = = " " )   	 {  
 	 	 a l e r t ( " T y p e   w h a t   y o u   a r e   l o o k i n g   f o r " ) ;  
 	 	 d o c u m e n t . f o r m s [ 0 ] . x i t e m . f o c u s ( ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 d o c u m e n t . f o r m s [ 0 ] . s u b m i t ( ) ;  
 }  
  
  
 f u n c t i o n   g o h e l p b e ( ) 	 {  
  
 	 s e l f . l o c a t i o n = ' s r c h b e . h t m ' ;  
 	 r e t u r n ; 	  
 }  
  
  
  
 f u n c t i o n   g o h e l p b e 1 ( ) 	 {  
  
 	 s e l f . l o c a t i o n = ' h t m l / s r c h b e . h t m ' ;  
 	 r e t u r n ; 	  
 }  
  
 f u n c t i o n   g o o n ( ) 	 {  
 	 r e t u r n ;  
 }  
  
 f u n c t i o n   c h e c k s u m ( )   {  
  
 	 x = d o c u m e n t . f o r m s [ 0 ] . t a p e s u m . v a l u e ;  
 	 i f     ( x   > 3 0   )   	 {  
 	 	 a l e r t ( " —  À±Á±³³µ»¯±  ´µ½  ¼À¿Áµ¯  ½±  ³¯½µ¹  ±À¿´µºÄ®,   ±Á¹¸¼ÌÂ  º±ÃµÄÄÎ½  >   3 0 " ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 d o c u m e n t . f o r m s [ 0 ] . s u b m i t ( ) ;  
 }  
  
 f u n c t i o n   c h e c k c d s u m ( )   {  
  
 	 x = d o c u m e n t . f o r m s [ 0 ] . c d s u m . v a l u e ;  
 	 i f     ( x   > 5   )   	 {  
 	 	 a l e r t ( " —  À±Á±³³µ»¯±  ´µ½  ¼À¿Áµ¯  ½±  ³¯½µ¹  ±À¿´µºÄ®,   ±Á¹¸¼ÌÂ  c d     >   5 " ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 d o c u m e n t . f o r m s [ 0 ] . s u b m i t ( ) ;  
 }  
  
  
 f u n c t i o n   c h e c k v o l ( )   {  
  
 	 d o c u m e n t . f o r m s [ 0 ] . s u b m i t ( ) ;  
 }  
 
