ÿþf u n c t i o n   v a l i d a t e ( )  
 	 { i f ( d o c u m e n t . t h e f o r m . h o s t n a m e . v a l u e = = ' ' )  
 	 	 { d o c u m e n t . t h e f o r m . h o s t n a m e . v a l u e = ' l o c a l h o s t ' ; }  
 	 i f ( d o c u m e n t . t h e f o r m . D A T A B A S E . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . t h e f o r m . D B U S E R N A M E . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . t h e f o r m . D B P A S S W O R D . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . t h e f o r m . A U I D . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . t h e f o r m . A P W . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { r e t u r n   t r u e ; }  
 	 }  
  
 f u n c t i o n   v a l i d a t e 2 ( )  
 	 { 	 i f ( d o c u m e n t . r e g i s t e r . c c U S E R N A M E . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . r e g i s t e r . c c P A S S W O R D . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . r e g i s t e r . c c P A S S W O R D 1 . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   m a k e   s u r e   y o u   h a v e   f i l l e d   i n   a l l   f i e l d s   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . r e g i s t e r . c c P A S S W O R D . v a l u e ! = d o c u m e n t . r e g i s t e r . c c P A S S W O R D 1 . v a l u e )  
 	 	 { a l e r t ( " B o t h   p a s s w o r d   f i e l d s   m u s t   m a t c h   b e f o r e   p r o c e e d i n g " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( e c h e c k ( d o c u m e n t . r e g i s t e r . E M A I L . v a l u e ) = = t r u e )  
 	 	 { r e t u r n   t r u e ;  
 	 	 }  
 	 e l s e  
 	 	 { a l e r t ( " E m a i l   a d d r e s s   d o e s   n o t   a p p e a r   t o   b e   v a l i d .     P l e a s e   t r y   a g a i n . " ) ;  
 	 	 r e t u r n   f a l s e ;  
 	 	 }  
 	 }  
  
  
 f u n c t i o n   e c h e c k ( s t r )   {  
  
 	 	 v a r   a t = " @ "  
 	 	 v a r   d o t = " . "  
  
 	 	 v a r   l a t = s t r . i n d e x O f ( a t )  
 	 	 v a r   l s t r = s t r . l e n g t h  
 	 	 v a r   l d o t = s t r . i n d e x O f ( d o t )  
 	 	 i f   ( l s t r < = 0 )  
 	 	 	 { r e t u r n   f a l s e ;  
 	 	 	 }  
 	 	 e l s e   i f   ( s t r . i n d e x O f ( a t ) = = - 1 ) {  
 	 	         r e t u r n   f a l s e ;  
 	 	 }  
  
 	 	 e l s e   i f   ( s t r . i n d e x O f ( a t ) = = - 1   | |   s t r . i n d e x O f ( a t ) = = 0   | |   s t r . i n d e x O f ( a t ) = = l s t r ) {  
 	 	       r e t u r n   f a l s e ;  
 	 	 }  
  
 	 	 e l s e   i f   ( s t r . i n d e x O f ( d o t ) = = - 1   | |   s t r . i n d e x O f ( d o t ) = = 0   | |   s t r . i n d e x O f ( d o t ) = = l s t r ) {  
 	 	         r e t u r n   f a l s e ;  
 	 	 }  
  
 	 	   e l s e   i f   ( s t r . i n d e x O f ( a t , ( l a t + 1 ) ) ! = - 1 ) {  
 	 	         r e t u r n   f a l s e ;  
 	 	   }  
  
 	 	   e l s e   i f   ( s t r . s u b s t r i n g ( l a t - 1 , l a t ) = = d o t   | |   s t r . s u b s t r i n g ( l a t + 1 , l a t + 2 ) = = d o t ) {  
 	 	         r e t u r n   f a l s e ;  
 	 	   }  
  
 	 	   e l s e   i f   ( s t r . i n d e x O f ( d o t , ( l a t + 2 ) ) = = - 1 ) {  
 	 	         r e t u r n   f a l s e ;  
 	 	   }  
 	 	  
 	 	   e l s e   i f   ( s t r . i n d e x O f ( "   " ) ! = - 1 ) {  
 	 	         r e t u r n   f a l s e ;  
 	 	   }  
  
   	 	   e l s e  
 	 	 	 r e t u r n   t r u e ; 	 	 	 	 	  
 	 }  
  
 f u n c t i o n   v a l i d a t e 3 ( )  
 	 { i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 1 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 1 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 1 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 1 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 1 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 2 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 2 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 2 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 2 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 2 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 3 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 3 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 3 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 3 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 3 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 4 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 4 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 4 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 4 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 4 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 5 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 5 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 5 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 5 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 5 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 6 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 6 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 6 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 6 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 6 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 7 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 7 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 7 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 7 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 7 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 8 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 8 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 8 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 8 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 8 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 9 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 9 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 9 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 9 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 9 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 i f ( d o c u m e n t . f i e l d s e t u p . v i s i b l e 1 0 [ 0 ] . c h e c k e d = = t r u e )  
 	 	 { i f ( d o c u m e n t . f i e l d s e t u p . f i e l d n a m e 1 0 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . f i e l d n a m e 1 0 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f ( d o c u m e n t . f i e l d s e t u p . t y p e 1 0 . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " F i e l d   n a m e   m u s t   b e   s e t   i f   f i e l d   i s   v i s i b l e . " ) ;  
 	 	 	 d o c u m e n t . f o r m s [ 0 ] . t y p e 1 0 . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 }  
 	 r e t u r n   t r u e ;  
  
 	 }  
  
  
 f u n c t i o n   v a l i d a t e 4 ( )  
 	 { i f ( d o c u m e n t . t h e f o r m . u s e r v i e w 1 . v a l u e = = ' ' )  
 	 	 { f o r ( c o u n t e r = 0 ; c o u n t e r < t h e f o r m . S e a r c h _ B y . l e n g t h ;   c o u n t e r + + )  
 	 	 	 { i f ( t h e f o r m . S e a r c h _ B y [ c o u n t e r ] . c h e c k e d )  
 	 	 	 	 { i f ( c o u n t e r = = 0 )  
 	 	 	 	 	 { a l e r t ( " P l e a s e   e n t e r   a   U s e r n a m e   t o   s e a r c h   f o r   o r   c l i c k   ' A l l '   t o   v i e w   a l l   u s e r s . " ) ;  
 	 	 	 	 	 r e t u r n   f a l s e ; }  
 	 	 	 	 i f ( c o u n t e r = = 1 )  
 	 	 	 	 	 { a l e r t ( " P l e a s e   e n t e r   a   U s e r n a m e   t o   s e a r c h   f o r   o r   c l i c k   ' A l l '   t o   v i e w   a l l   u s e r s . " ) ;  
 	 	 	 	 	 r e t u r n   f a l s e ; }  
 	 	 	 	 i f ( c o u n t e r = = 2 )  
 	 	 	 	 	 { r e t u r n   t r u e ;  
 	 	 	 	 	 }  
 	 	 	 	 }  
 	 	 	 }  
 	 	 }  
 	 e l s e  
 	 	 { r e t u r n   t r u e ; }  
 	 }  
  
 f u n c t i o n   v a l i d a t e 5 ( )  
 	 { i f ( d o c u m e n t . p r o f i l e . d o c . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   e n t e r   a   f i l e n a m e   t o   i m p o r t   a n   e x i s t i n g   u s e r l i s t . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { r e t u r n   t r u e ; }  
 	 }  
 f u n c t i o n   v a l i d a t e 6 ( )  
 	 { i f ( d o c u m e n t . t h e f o r m . a g r e e . c h e c k e d )  
 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 e l s e  
 	 	 { a l e r t ( " Y o u   m u s t   r e a d   a n d   t h e n   a g r e e   w i t h   t h e   E U L A   b e f o r e   p r o c e e d i n g . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 i f ( d o c u m e n t . t h e f o r m . D O M A I N . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   e n t e r   a   D o m a i n   N a m e   t o   p r o c e d e . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 i f ( d o c u m e n t . t h e f o r m . K E Y 1 . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   e n t e r   a   l i c e n s e   k e y   t o   p r o c e d e . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 i f ( r e t = = ' t r u e ' )  
 	 	 r e t u r n   t r u e ;  
  
  
 	 }  
 f u n c t i o n   v a l i d a t e 7 ( )  
 	 {  
  
 	 i f   ( d o c u m e n t . t h e f o r m . R e s e t . c h e c k e d )  
 	 	 { r e t u r n   t r u e ; }  
 	 e l s e  
 	 	 { a l e r t ( " Y o u   m u s t   c h e c k   t h e   b o x   t o   r e s e t   t h e   p a s s w o r d . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
  
 	 }  
 f u n c t i o n   v a l i d a t e 8 ( )  
 	 {  
 	 i f ( e c h e c k ( d o c u m e n t . t h e f o r m . F r o m e m a i l . v a l u e ) = = t r u e )  
 	 	 { r e t = = ' t r u e ' ;  
 	 	 }  
 	 e l s e  
 	 	 { a l e r t ( " E m a i l   a d d r e s s   d o e s   n o t   a p p e a r   t o   b e   v a l i d .     P l e a s e   t r y   a g a i n . " ) ;  
 	 	 r e t u r n   f a l s e ;  
 	 	 }  
 	 i f ( d o c u m e n t . t h e f o r m . m a s s s u b j e c t . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   e n t e r   a   s u b j e c t   t o   p r o c e d e . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 i f ( d o c u m e n t . t h e f o r m . M E S S A G E . v a l u e = = ' ' )  
 	 	 { a l e r t ( " P l e a s e   e n t e r   a   m e s s a g e   t o   p r o c e d e . " ) ;  
 	 	 r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 i f ( r e t = = ' t r u e ' )  
 	 	 r e t u r n   t r u e ;  
  
 	 }  
 f u n c t i o n   c h a n g e ( f i e l d )  
 	 {  
 	 i f   ( d o c u m e n t . p r o f i l e . e v e r . c h e c k e d )  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . M E S S A G E . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . S U B J E C T . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . F R O M E M A I L . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . m a s s t e s t 1 . d i s a b l e d = f a l s e ;  
 	 	 }  
 	 e l s e  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . M E S S A G E . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . S U B J E C T . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . F R O M E M A I L . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . m a s s t e s t 1 . d i s a b l e d = t r u e ;  
 	 	 }  
 	 }  
 f u n c t i o n   c h a n g e 1 ( f i e l d )  
 	 { i f ( d o c u m e n t . p r o f i l e . C C F O R U M S . c h e c k e d )  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . F O R U M I D . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . F O R U M P A T H . d i s a b l e d = f a l s e ;  
 	 	 }  
 	 e l s e  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . F O R U M I D . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . F O R U M P A T H . d i s a b l e d = t r u e ;  
 	 	 }  
 	 }  
  
 f u n c t i o n   c h a n g e 2 ( f i e l d )  
 	 {  
 	 i f   ( d o c u m e n t . p r o f i l e . e v e r . c h e c k e d )  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . M E S S A G E . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . S U B J E C T . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . F R O M E M A I L . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . m a s s t e s t 1 . d i s a b l e d = f a l s e ;  
 	 	 }  
 	 e l s e  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . M E S S A G E . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . S U B J E C T . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . F R O M E M A I L . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . m a s s t e s t 1 . d i s a b l e d = t r u e ;  
 	 	 }  
 	 i f ( d o c u m e n t . p r o f i l e . C C F O R U M S . c h e c k e d )  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . F O R U M I D . d i s a b l e d = f a l s e ;  
 	 	 d o c u m e n t . p r o f i l e . F O R U M P A T H . d i s a b l e d = f a l s e ;  
 	 	 }  
 	 e l s e  
 	 	 {  
 	 	 d o c u m e n t . p r o f i l e . F O R U M I D . d i s a b l e d = t r u e ;  
 	 	 d o c u m e n t . p r o f i l e . F O R U M P A T H . d i s a b l e d = t r u e ;  
 	 	 }  
 	 }  
  
 f u n c t i o n   l i n k c h e c k ( s t r )  
 	 { i f ( s t r . i n d e x O f ( " { L I N K } " ) = = ' - 1 ' )  
 	 	 { r e t u r n   f a l s e ; }  
 	 e l s e  
 	 	 { r e t u r n   t r u e ; }  
 	 }  
  
 f u n c t i o n   t e s t S e l e c t   ( f o r m )   {   I t e m   =   d o c u m e n t . p r o f i l e . F O R U M I D . s e l e c t e d I n d e x ;   R e s u l t   =   d o c u m e n t . p r o f i l e . F O R U M I D . o p t i o n s [ I t e m ] . t e x t ;   a l e r t   ( R e s u l t ) ;   }    
  
  
  
 f u n c t i o n   v a l i d a t e 9 ( )  
 	 { i f ( d o c u m e n t . p r o f i l e . C C F O R U M S . c h e c k e d )  
 	 	 { i f ( d o c u m e n t . p r o f i l e . F O R U M P A T H . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " P l e a s e   e n t e r   t h e   p a t h   t o   y o u r   f o r u m   t o   p r o c e d e . " ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 e l s e  
 	 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 	 I t e m   =   d o c u m e n t . p r o f i l e . F O R U M I D . s e l e c t e d I n d e x ;  
 	 	 R e s u l t   =   d o c u m e n t . p r o f i l e . F O R U M I D . o p t i o n s [ I t e m ] . t e x t ;  
 	 	 i f ( R e s u l t = = " S e l e c t   F o r u m " )  
 	 	 	 { a l e r t ( " P l e a s e   s e l e c t   a   f o r u m   t o   p r o c e d e " ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 e l s e  
 	 	 	 { v a r   r e t = ' t r u e ' ; }  
    
 	 	 }  
  
 	 i f ( d o c u m e n t . p r o f i l e . e v e r . c h e c k e d )  
 	 	 { i f ( d o c u m e n t . p r o f i l e . S U B J E C T . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " P l e a s e   e n t e r   a   s u b j e c t   t o   p r o c e d e . " ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 e l s e  
 	 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 	 i f ( e c h e c k ( d o c u m e n t . p r o f i l e . F R O M E M A I L . v a l u e ) = = t r u e )  
 	 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 	 e l s e  
 	 	 	 { a l e r t ( " P l e a s e   e n t e r   a n   e m a i l   a d d r e s s   t o   p r o c e d e . " ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 i f   ( l i n k c h e c k ( d o c u m e n t . p r o f i l e . M E S S A G E . v a l u e ) = = f a l s e )  
 	 	 	 { a l e r t ( " { L I N K }   m u s t   b e   i n   y o u r   m e s s a g e   t o   p r o v i d e   t h e   u s e r   w i t h   a   v e r i f i c a t i o n   l i n k . " ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 e l s e  
 	 	 	 { r e t = t r u e ;  
 	 	 	 }  
  
 	 	 i f ( d o c u m e n t . p r o f i l e . M E S S A G E . v a l u e = = ' ' )  
 	 	 	 { a l e r t ( " P l e a s e   e n t e r   a   m e s s a g e   t o   p r o c e d e . " ) ;  
 	 	 	 r e t u r n   f a l s e ; }  
 	 	 e l s e  
 	 	 	 { v a r   r e t = ' t r u e ' ; }  
 	 	 }  
 	 i f ( r e t = = ' t r u e ' )  
 	 	 r e t u r n   t r u e ;  
  
 	 }  
 
