ÿþ 
 f u n c t i o n   c h a n g e r ( p a t h ,   f r o m ,   t o )   {  
 	 i f ( d o c u m e n t . i m a g e s )   {  
 	 	 d o c u m e n t . i m a g e s [ f r o m ] . s r c   =     p a t h   +   " i m a g e s / "   +   t o ;  
 	 	  
 	 }  
 }  
  
 f u n c t i o n   N a v i g a t e W i n d o w ( U R L )  
 {  
 	 w i n d o w . o p e n ( ' h t t p : / / ' + U R L , ' ' , ' t o o l b a r = 1 , s t a t u s = 1 , m e n u b a r = 1 , l o c a t i o n = y e s , r e s i z a b l e = y e s , s c r o l l b a r s = y e s , w i d t h = 8 0 0 , h e i g h t = 6 0 0 ' ) ;  
 }  
  
 f u n c t i o n   N a v i g a t e S a m e W i n d o w ( U R L )  
 {  
 	 w i n d o w . l o c a t i o n . h r e f   =   U R L ;  
 }  
  
 f u n c t i o n   N a v i g a t e P r o W i n d o w ( U R L )  
 {  
 	 w i n d o w . o p e n ( U R L , ' ' , ' t o o l b a r = 1 , s t a t u s = 1 , m e n u b a r = 1 , r e s i z a b l e = y e s , s c r o l l b a r s = y e s , w i d t h = 6 2 0 , h e i g h t = 4 8 0 ' ) ;  
 }  
  
 f u n c t i o n   a d d b o o k m a r k ( U R L , T I T L E )  
 {  
 	 b o o k m a r k u r l =   U R L ;  
 	 b o o k m a r k t i t l e =   T I T L E ;  
 	 i f   ( d o c u m e n t . a l l )  
 	 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 ( b o o k m a r k u r l , b o o k m a r k t i t l e )  
 }  
  
 f u n c t i o n   o p e n w i n d o w ( U R L , m y W i d t h , m y H e i g h t )  
 {  
 	 u r l   =   U R L ;  
 	 w i n d o w N a m e   =   " I m a g e " ;  
 	 v a r   m y T o p   =   p a r s e I n t ( w i n d o w . s c r e e n . h e i g h t / 2   -   m y H e i g h t / 2 ) ;  
 	 v a r   m y L e f t   =   p a r s e I n t ( w i n d o w . s c r e e n . w i d t h / 2   -   m y W i d t h / 2 ) ;  
 	 v a r   w i n d o w F e a t u r e s   =   " t o o l b a r = n o , s t a t u s = n o , l o c a t i o n = n o , d i r e c t o r i e s = n o , m e n u b a r = n o , s c r o l l b a r s = y e s , r e s i z a b l e = y e s , w i d t h = "   +    
 	 m y W i d t h . t o S t r i n g ( )   +   " , h e i g h t = "   +   m y H e i g h t . t o S t r i n g ( )   +   " , t o p = "   +   m y T o p . t o S t r i n g ( )   +   " , l e f t = "   +   m y L e f t . t o S t r i n g ( ) ;          
 	 v a r   w i n d o w R e p l a c e = t r u e ;                  
 	 w R E P O R T =   w i n d o w . o p e n ( u r l ,   w i n d o w N a m e ,   w i n d o w F e a t u r e s ,   w i n d o w R e p l a c e ) ;  
  
 }  
 	  
 f u n c t i o n   n a v i g a t e P a r e n t ( u r l )   {  
 	 i f ( w i n d o w . o p e n e r   ! =   n u l l ) {  
 	 w i n d o w . o p e n e r . l o c a t i o n . h r e f   =   u r l ;  
 	 w i n d o w . c l o s e ( ) ;  
 	 }  
 }  
  
 f u n c t i o n   u p d a t e P a r e n t ( )   {  
 	 i f ( w i n d o w . o p e n e r   ! =   n u l l ) {  
 	 w i n d o w . o p e n e r . l o c a t i o n . r e l o a d ( ) ;  
 	 w i n d o w . c l o s e ( ) ;  
 	 }  
 }  
  
 f u n c t i o n   r e f r e s h P a r e n t U n l o a d ( )   {  
 	 i f ( w i n d o w . o p e n e r   ! =   n u l l ) {  
 	 w i n d o w . o p e n e r . l o c a t i o n . r e l o a d ( ) ;  
 	 }  
 }  
  
 f u n c t i o n   p r i n t W i n d o w ( )   {  
 	 b V   =   p a r s e I n t ( n a v i g a t o r . a p p V e r s i o n ) ;  
 	 i f   ( b V   > =   4 )   w i n d o w . p r i n t ( ) ;  
 }  
  
 f u n c t i o n   c o n f i r m D e l e t e P o p u p ( s N a m e )  
 {  
 	 v a r   a g r e e = c o n f i r m ( " A r e   y o u   s u r e   y o u   w i s h   t o   d e l e t e   t h i s   " + s N a m e + " ? " ) ;  
 	 i f   ( a g r e e ) {  
 	 	 r e t u r n   t r u e   ;  
 	 } e l s e {  
 	 	 r e t u r n   f a l s e   ;  
 	 }  
 }  
 f u n c t i o n   u n c h e c k A l l ( )    
 {  
 	 f o r   ( v a r   i   =   1 ;   i   < =   8 4 ;   i + + )   {  
 	 	 b o x   =   e v a l ( " d o c u m e n t . m y f o r m . C a t e g o r y I D "   +   i ) ;    
 	 	 / / i f   ( b o x . c h e c k e d   = =   t r u e )   b o x . c h e c k e d   =   f a l s e ;  
 	 	 i f   ( b o x . c h e c k e d   = =   f a l s e )   b o x . c h e c k e d   =   t r u e ;  
 	 }  
 	 d o c u m e n t . m y f o r m . C a t e g o r y I D 8 4 . c h e c k e d   =   t r u e  
 }  
  
 f u n c t i o n   u n c h e c k E v e r y t h i n g ( )   {  
 	 b o x   =   e v a l ( " d o c u m e n t . m y f o r m . C a t e g o r y I D 8 4 " ) ;    
 	 i f   ( b o x . c h e c k e d   = =   t r u e )   b o x . c h e c k e d   =   f a l s e ;  
 }  
  
  
  
 / /   - - -   S E A T I N G   C H A R T   F U N C T I O N S  
  
 v a r   m _ f M o u s e D o w n   =   f a l s e ; 	 / /   m o u s e   d o w n   f l a g  
 v a r   m _ f M o u s e M o v e d   =   f a l s e ; 	 / /   m o u s e   m o v e d   f l a g  
 v a r   m _ c x O f f s e t   =   0 ; 	 	 	 / /   x   o f f s e t   o f   m o u s e   f r o m   l e f t   o f   d r a g   p a r t  
 v a r   m _ c y O f f s e t   =   0 ; 	 	 	 / /   y   o f f s e t   o f   m o u s e   f r o m   t o p   o f   d r a g   p a r t  
 v a r   m _ p r t S r c   =   n u l l ; 	 	 / /   r e f   t o   s o u r c e   o f   t h e   p a r t   d r a g  
 v a r   m _ p r t D r a g   =   n u l l ; 	 	 / /   r e f   t o   d r a g   p a r t  
 v a r   m _ z o n e L a s t   =   n u l l ; 	 	 / /   l a s t   a c t i v e   z o n e  
 v a r   m _ i d x I n s e r t   =   0 ; 	 	 / /   p o s i t i o n   a t   w h i c h   t o   i n s e r t   d r o p p e d   p a r t  
  
 / /   T h i s   f u n c t i o n   r e s e t s   a n y   t a b l e   a t t r i b u t e s  
 / /   w h i c h   m a y   h a v e   b e e n   l o s t   d u r i n g   b r o w s e r   r e l o a d .  
  
 f u n c t i o n   C l e a n U p T a b l e s ( )  
 {   	  
 	 d o c u m e n t . a l l . O u t t e r m o s t C o n t e n t B o d y T a b l e . w i d t h   =   " 4 0 p x " ; 	   / /   4 0 p x   i s   a n   a r b i t r a r y   n u m b e r  
 	 d o c u m e n t . a l l . O u t t e r m o s t C o n t e n t B o d y T a b l e . w i d t h   =   " 1 0 0 % " ;  
 }  
  
 f u n c t i o n   D o c u m e n t _ O n M o u s e D o w n ( )  
 {  
 	 i f   ( w i n d o w . e v e n t . s r c E l e m e n t . c l a s s N a m e   = =   ' L a y o u t W e b P a r t ' )  
 	 {  
 	 	 m _ f M o u s e D o w n   =   t r u e ;  
  
 	 	 m _ c x O f f s e t   =   w i n d o w . e v e n t . c l i e n t X   -   G e t A b s o l u t e L e f t ( w i n d o w . e v e n t . s r c E l e m e n t ) ;  
 	 	 m _ c y O f f s e t   =   w i n d o w . e v e n t . c l i e n t Y   -   G e t A b s o l u t e T o p ( w i n d o w . e v e n t . s r c E l e m e n t ) ;  
  
 	 	 m _ p r t S r c   =   G e t P a r t E l e m e n t ( w i n d o w . e v e n t . s r c E l e m e n t ) ;  
 	 	 m _ p r t D r a g   =   m _ p r t S r c . c l o n e N o d e ( t r u e ) ;  
  
 	 	 m _ p r t D r a g . s t y l e . p o s i t i o n   =   ' a b s o l u t e ' ;  
 	 	 m _ p r t D r a g . s t y l e . f i l t e r   =   ' a l p h a ( o p a c i t y = 5 0 ) ' ;  
 	 	 m _ p r t D r a g . s t y l e . l e f t   =   ( w i n d o w . e v e n t . x   -   m _ c x O f f s e t )   +   ' p x ' ;  
 	 	 m _ p r t D r a g . s t y l e . t o p   =   ( w i n d o w . e v e n t . y   -   m _ c y O f f s e t )   +   ' p x ' ;  
 	 	 m _ p r t D r a g . s t y l e . w i d t h   =   m _ p r t S r c . o f f s e t W i d t h ;  
  
 	 	 d o c u m e n t . b o d y . i n s e r t A d j a c e n t E l e m e n t ( ' b e f o r e E n d ' ,   m _ p r t D r a g ) ;  
  
 	 	 d i v M o u s e . s e t C a p t u r e ( ) ;  
 	 }  
 }  
  
 f u n c t i o n   D i v M o u s e _ O n M o u s e M o v e ( )  
 {  
 	 i f   ( m _ f M o u s e D o w n )  
 	 {  
 	 	 v a r   z o n e T a r g e t ;  
  
 	 	 m _ f M o u s e M o v e d   =   t r u e ;  
 	 	  
 	 	 m _ p r t D r a g . s t y l e . l e f t   =   w i n d o w . e v e n t . x   -   m _ c x O f f s e t   +   d o c u m e n t . b o d y . s c r o l l L e f t   +   ' p x ' ;  
 	 	 m _ p r t D r a g . s t y l e . t o p   =   w i n d o w . e v e n t . y   -   m _ c y O f f s e t   +   d o c u m e n t . b o d y . s c r o l l T o p   +   ' p x ' ;  
  
 	 	 z o n e T a r g e t   =   G e t Z o n e F r o m P o i n t ( w i n d o w . e v e n t . x ,   w i n d o w . e v e n t . y ,   m _ p r t D r a g ,   t b l I B e a m ) ;  
  
 	 	 i f   ( F I s Z o n e ( z o n e T a r g e t ) )  
 	 	 {  
 	 	 	 / /   W e   a r e   o v e r   a   z o n e  
 	 	 	 / /   I f   t h e   c l a s s   n a m e   i s   j u s t   " Z o n e "   t h i s   i s   a   n e w   z o n e  
 	 	 	 / /   a n d   w e   n e e d   t o   s w i t c h   t h e   l a s t   d r o p   z o n e  
 	 	 	 i f   ( m _ z o n e L a s t )  
 	 	 	 {  
 	 	 	 	 S e t A s D r o p T a r g e t ( m _ z o n e L a s t ,   f a l s e ) ;  
 	 	 	 }  
  
 	 	 	 S e t A s D r o p T a r g e t ( z o n e T a r g e t ,   t r u e ) ;  
 	 	 	  
 	 	 	 P o s i t i o n I B e a m ( w i n d o w . e v e n t . x ,   w i n d o w . e v e n t . y ,   t b l I B e a m ,   z o n e T a r g e t ) ;  
 	 	 }  
 	 	 e l s e  
 	 	 {  
 	 	 	 / /   N o t   o v e r   a   z o n e   a t   a l l .   R e s e t   l a s t   z o n e   a n d   c l e a r   i t  
 	 	 	 i f   ( m _ z o n e L a s t )  
 	 	 	 {  
 	 	 	 	 S e t A s D r o p T a r g e t ( m _ z o n e L a s t ,   f a l s e ) ;  
 	 	 	 }  
 	 	 	 t b l I B e a m . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 }  
 	 }                  
 }  
  
 f u n c t i o n   A d d P a r t s I n f o F o r S a v e ( n o d e ,   z o n e )  
 {  
 	 v a r   n I n d e x ;  
 	 v a r   p a r t C o u n t   =   n o d e . c h i l d r e n . l e n g t h ;  
 	 f o r   ( n I n d e x   =   0 ;   n I n d e x   <   p a r t C o u n t ;   n I n d e x + + )  
 	 {  
 	 	 s a v e T o S e r v e r . p a r t L a y o u t . v a l u e   + =    
 	 	 	 ' < W e b P a r t > '   +  
 	 	 	 '     < W e b P a r t I D > '   +   n o d e . c h i l d r e n [ n I n d e x ] . i d . s u b s t r ( 0 )   +   ' < / W e b P a r t I D > '   +  
 	 	 	 '     < Z o n e > '   +   z o n e   +   ' < / Z o n e > '   +  
 	 	 	 '     < P a r t O r d e r > '   +   n I n d e x   +   ' < / P a r t O r d e r > '   +  
 	 	 	 ' < / W e b P a r t > ' ;  
 	 	 	  
 	 }  
 }  
  
 / /   P o s i t i o n s   t h e   I B e a m   e l e m e n t   a t   t h e   r i g h t   i n s e r t i o n   p o i n t  
 f u n c t i o n   P o s i t i o n I B e a m ( x ,   y ,   e l e m I B e a m ,   z o n e T a r g e t )  
 {  
 	 v a r   n P a r t s ;  
 	 v a r   p r t F i r s t ;  
 	 v a r   p r t T e m p ;  
 	 v a r   i d x P a r t ;  
  
 	 n P a r t s   =   z o n e T a r g e t . c h i l d r e n . l e n g t h ;  
 	 i f   ( n P a r t s   >   0 )  
 	 {  
 	 	 / /   g e t   t h e   f i r s t   p a r t   i n   t h e   z o n e  
 	 	 p r t F i r s t   =   z o n e T a r g e t . c h i l d r e n ( 0 ) ;  
  
 	 	 / /   s e t   t h e   i b e a m   w i d t h   t o   t h e   p a r t   w i d t h  
 	 	 e l e m I B e a m . s t y l e . w i d t h   =   p r t F i r s t . o f f s e t W i d t h   +   1  
  
 	 	 / /   g e t   t h e   p a r t   b e f o r e   w h i c h   w e   s h o u l d   d i s p l a y   t h e   i b e a m  
 	 	 f o r ( m _ i d x I n s e r t   =   0 ;   m _ i d x I n s e r t   <   n P a r t s ;   m _ i d x I n s e r t + + )  
 	 	 	 {  
 	 	 	 	 p r t T e m p   =   z o n e T a r g e t . c h i l d r e n ( m _ i d x I n s e r t ) ;  
 	 	 	 	 i f   ( y   < =   ( G e t A b s o l u t e T o p ( p r t T e m p )   +   ( ( p r t T e m p . o f f s e t H e i g h t   +   ( p a r s e I n t ( p r t T e m p . c e l l S p a c i n g )   *   2 ) )   /   2 ) ) )  
 	 	 	 	 {  
 	 	 	 	 	 b r e a k ;  
 	 	 	 	 }  
 	 	 	 }  
  
 	 	 / /   i f   t h e   p a r t   i n d e x   i s   b e y o n d   t h e   l a s t   p a r t ,  
 	 	 / /   m o v e   t h e   i b e a m   t o   a f t e r   t h e   l a s t   p a r t  
 	 	 i f   ( m _ i d x I n s e r t   > =   n P a r t s )  
 	 	 {  
 	 	 	 m _ i d x I n s e r t   =   n P a r t s ;  
 	 	 	 p r t T e m p   =   z o n e T a r g e t . c h i l d r e n ( m _ i d x I n s e r t   -   1 ) ;  
 	 	 	 e l e m I B e a m . s t y l e . t o p   =   S t r i n g ( ( ( G e t A b s o l u t e T o p ( p r t T e m p )   +    
 	 	 	 	 ( p r t T e m p . o f f s e t H e i g h t   +   ( p a r s e I n t ( p r t T e m p . c e l l S p a c i n g )   *   2 ) ) )   -    
 	 	 	 	 ( e l e m I B e a m . o f f s e t H e i g h t   /   2 ) ) )   +   ' p x ' ;  
 	 	 	 e l e m I B e a m . s t y l e . l e f t   =   S t r i n g ( G e t A b s o l u t e L e f t ( p r t T e m p ) )   +   ' p x ' ;  
 	 	 }  
 	 	 e l s e  
 	 	 {  
 	 	 	 p r t T e m p   =   z o n e T a r g e t . c h i l d r e n ( m _ i d x I n s e r t ) ;  
 	 	 	 e l e m I B e a m . s t y l e . t o p   =   S t r i n g ( ( G e t A b s o l u t e T o p ( p r t T e m p )   -    
 	 	 	 	 ( e l e m I B e a m . o f f s e t H e i g h t   /   2 )   +   1 ) )   +   ' p x ' ;  
 	 	 	 e l e m I B e a m . s t y l e . l e f t   =   S t r i n g ( G e t A b s o l u t e L e f t ( p r t T e m p ) )   +   ' p x '  
 	 	 }  
  
 	 	 / /   s h o w   i t  
 	 	 e l e m I B e a m . s t y l e . d i s p l a y   =   ' i n l i n e ' ;  
 	 }  
 	 e l s e  
 	 {  
 	 	 e l e m I B e a m . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 m _ i d x I n s e r t   =   - 1 ;  
 	 }  
 }  
  
 / /   N a v i g a t e s   u p   f r o m   a n   e l e m e n t   u n t i l   i t   f i n d s   t h e   e l e m e n t  
 / /   o f   t y p e   L a y o u t W e b P a r t F r a m e   ( t h e   w h o l e   t a b l e   r e p r e s e n t i n g   t h e   W e b P a r t )  
 f u n c t i o n   G e t P a r t E l e m e n t ( s u b E l e m )  
 {  
 	 v a r   p a r t F r a m e   =   s u b E l e m  
 	 w h i l e   ( p a r t F r a m e . c l a s s N a m e   ! =   ' L a y o u t W e b P a r t F r a m e ' )  
 	 {  
 	 	 p a r t F r a m e   =   p a r t F r a m e . p a r e n t E l e m e n t ;  
 	 }  
 	 r e t u r n   p a r t F r a m e ;  
 }  
  
 / /   G e t s   r e a l   T o p   v a l u e   w i t h   r e s p e c t   t o   c l i e n t   a r e a  
 f u n c t i o n   G e t A b s o l u t e T o p ( e l e m )  
 {  
 	 v a r   t o p P o s i t i o n   =   0  
 	 / / d o c u m e n t . b o d y . s c r o l l T o p ;  
 	 / / e v e n t . c l i e n t X  
 	 w h i l e   ( e l e m )  
 	 {  
 	 	 i f   ( e l e m . t a g N a m e   = =   ' B O D Y ' )  
 	 	 {  
 	 	 	 b r e a k ;  
 	 	 }  
 	 	 t o p P o s i t i o n   + =   e l e m . o f f s e t T o p ;  
 	 	 e l e m   =   e l e m . o f f s e t P a r e n t ;  
 	 }  
 	 t o p P o s i t i o n   - =   d o c u m e n t . b o d y . s c r o l l T o p ;  
 	 r e t u r n   t o p P o s i t i o n ;  
 }  
  
 / /   G e t   r e a l   L e f t   v a l u e   w i t h   r e s p e c t   t o   c l i e n t   a r e a  
 f u n c t i o n   G e t A b s o l u t e L e f t ( e l e m )  
 {  
 	 v a r   l e f t P o s i t i o n   =   0  
 	 / / d o c u m e n t . b o d y . s c r o l l L e f t ;  
 	 / / e v e n t . c l i e n t X  
 	 w h i l e   ( e l e m )  
 	 {  
 	 	 i f   ( e l e m . t a g N a m e   = =   ' B O D Y ' )  
 	 	 {  
 	 	 	 b r e a k ;  
 	 	 }  
 	 	 l e f t P o s i t i o n   + =   e l e m . o f f s e t L e f t ;  
 	 	 e l e m   =   e l e m . o f f s e t P a r e n t ;  
 	 }  
 	 l e f t P o s i t i o n   - =   d o c u m e n t . b o d y . s c r o l l L e f t ;  
 	 r e t u r n   l e f t P o s i t i o n ;  
 }  
  
 / /   R e t u r n s   t r u e   i f   t h e   g i v e n   e l e m e n t   i s   o n e   o f   o u r   z o n e s .  
 f u n c t i o n   F I s Z o n e ( e l e m )  
 {  
 	 v a r   f R e t   =   f a l s e ;  
 	 v a r   s t r C l a s s ;  
 	 v a r   i c h ;  
 	  
 	 i f   ( e l e m )  
 	 {  
 	 	 s t r C l a s s   =   e l e m . c l a s s N a m e ;  
 	 	 i c h   =   s t r C l a s s . i n d e x O f ( '   ' ) ;  
 	 	 i f   ( i c h   ! =   - 1 )  
 	 	 {  
 	 	 	 s t r C l a s s   =   s t r C l a s s . s u b s t r ( 0 ,   i c h ) ;  
 	 	 }  
 	 	  
 	 	 / /   A d d   t h e   e n t i r e   l i s t   o f   Z o n e s  
 	 	 f R e t   =   s t r C l a s s   = =   ' L a y o u t Z o n e T o p '   | |    
 	 	 	 	 s t r C l a s s   = =   ' L a y o u t Z o n e L e f t '   | |    
 	 	 	 	 s t r C l a s s   = =   ' L a y o u t Z o n e C e n t e r '   | |    
 	 	 	 	 s t r C l a s s   = =   ' L a y o u t Z o n e R i g h t '   | |    
 	 	 	 	 s t r C l a s s   = =   ' L a y o u t Z o n e B o t t o m ' ;  
 	 }  
  
 	 r e t u r n   f R e t ;  
 }  
  
 / /   S e t s   o r   c l e a r s   e l e m   a s   t h e   d r o p   t a r g e t .  
 f u n c t i o n   S e t A s D r o p T a r g e t ( e l e m ,   f S e t )  
 {  
 	 v a r   s t r C l a s s ;  
 	 v a r   i c h ;  
 	 	  
 	 i f   ( f S e t )  
 	 {  
 	 	 s t r C l a s s   =   e l e m . c l a s s N a m e ;  
 	 	 i f   ( s t r C l a s s . i n d e x O f ( '   L a y o u t D r o p Z o n e ' )   = =   - 1 )  
 	 	 {  
 	 	 	 e l e m . c l a s s N a m e   =   s t r C l a s s   +   '   L a y o u t D r o p Z o n e ' ;  
 	 	 	 m _ z o n e L a s t   =   e l e m ;  
 	 	 }  
 	 }  
 	 e l s e  
 	 {  
 	 	 s t r C l a s s   =   e l e m . c l a s s N a m e ;  
 	 	 i c h   =   s t r C l a s s . i n d e x O f ( '   L a y o u t D r o p Z o n e ' ) ;  
 	 	 i f   ( i c h   ! =   - 1 )  
 	 	 {  
 	 	 	 e l e m . c l a s s N a m e   =   s t r C l a s s . s u b s t r ( 0 ,   i c h ) ;  
 	 	 	 m _ z o n e L a s t   =   n u l l ;  
 	 	 }  
 	 }  
 }  
  
  
 / /   G e t s   t h e   z o n e   u n d e r n e a t h   t h e   x , y   o r   r e t u r n s   N o t h i n g   i f   n o t   o v e r   a   z o n e  
 f u n c t i o n   G e t Z o n e F r o m P o i n t ( x ,   y ,   p r t D r a g ,   e l e m I B e a m )  
 {  
 	 v a r   p r t D r a g Z I n d e x O l d   =   p r t D r a g . s t y l e . z I n d e x ;  
 	 v a r   e l e m I B e a m Z I n d e x O l d   =   e l e m I B e a m . s t y l e . z I n d e x ;  
  
 	 p r t D r a g . s t y l e . z I n d e x   =   - 1 ;  
 	 e l e m I B e a m . s t y l e . z I n d e x   =   - 1 ;  
 	 	  
 	 v a r   z o n e   =   d o c u m e n t . e l e m e n t F r o m P o i n t ( x ,   y ) ;  
 	 p r t D r a g . s t y l e . z I n d e x   =   p r t D r a g Z I n d e x O l d ;  
 	 e l e m I B e a m . s t y l e . z I n d e x   =   e l e m I B e a m Z I n d e x O l d ;  
  
 	 / /   N o w   t h e   e l e m e n t   w e   j u s t   g o t   m i g h t   b e   a n o t h e r   p a r t   s i t t i n g   i n  
 	 / /   t h e   z o n e ,   s o   c h e c k   t o   s e e   i f   t h e   c l a s s   n a m e   i s   " L a y o u t W e b P a r t " .   I f   i t  
 	 / /   i s   t h e n   g o   u p   t h e   p a r e n t   c h a i n   u n t i l   w e   g e t   i t s   z o n e  
  
 	 i f   ( z o n e   ! =   n u l l ) {  
 	 	 i f   ( ( z o n e . c l a s s N a m e   = =   ' L a y o u t W e b P a r t ' )   | |   ( z o n e . c l a s s N a m e   = =   ' L a y o u t W e b P a r t F r a m e ' ) )  
 	 	 {  
 	 	 	 w h i l e   ( ( ! F I s Z o n e ( z o n e ) )   & &    
 	 	 	 	 	 ( z o n e . c l a s s N a m e   ! =   ' L a y o u t D r o p Z o n e ' )   & &  
 	 	 	 	 	 ( z o n e . t a g N a m e   ! =   ' B O D Y ' ) )  
 	 	 	 {  
 	 	 	 	 z o n e   =   z o n e . p a r e n t E l e m e n t ;  
 	 	 	 }  
 	 	 }  
  
 	 	 / /   L a s t   c h e c k   i s   t h a t   w e   m i g h t   b e   o v e r   t h e   b o d y   o r   s o m e t h i n g  
 	 	 / /   e l s e   t h a t   i s   n o t   a   z o n e   a t   a l l .   I f   t h e   c u r r e n t   r e t u r n   p o i n t e r  
 	 	 / /   i s   n o t   o f   c l a s s N a m e   =   " Z o n e "   o r   " L a y o u t D r o p Z o n e "   t h e n   r e t u r n   N o t h i n g  
 	 	 i f   ( ( ! F I s Z o n e ( z o n e ) )   & &   ( z o n e . c l a s s N a m e   ! =   ' L a y o u t D r o p Z o n e ' ) )  
 	 	 {  
 	 	 	 / / z o n e   =   n u l l ;  
 	 	 	 z o n e   =   z o n e . p a r e n t E l e m e n t ;  
 	 	 }  
 	 	 r e t u r n   z o n e ;  
 	 } 	  
 }  
 f u n c t i o n   D i v M o u s e _ O n M o u s e U p ( )  
 {  
 	 i f   ( m _ f M o u s e D o w n )  
 	 {  
 	 	 i f   ( m _ f M o u s e M o v e d )  
 	 	 {  
 	 	 	 v a r   z o n e T a r g e t ;  
 	 	 	 v a r   p r t T e m p ;  
  
 	 	 	 z o n e T a r g e t   =   G e t Z o n e F r o m P o i n t ( w i n d o w . e v e n t . x ,   w i n d o w . e v e n t . y ,   m _ p r t D r a g ,   t b l I B e a m ) ;  
 	 	 	 i f   ( z o n e T a r g e t )  
 	 	 	 {  
 	 	 	 	 s w i t c h   ( m _ i d x I n s e r t )  
 	 	 	 	 {  
 	 	 	 	 c a s e   - 1 :  
 	 	 	 	 	 {  
 	 	 	 	 	 z o n e T a r g e t . i n s e r t A d j a c e n t E l e m e n t ( ' a f t e r B e g i n ' ,   m _ p r t S r c . r e m o v e N o d e ( t r u e ) ) ;  
 	 	 	 	 	 b r e a k ;  
 	 	 	 	 	 }  
 	 	 	 	 c a s e   z o n e T a r g e t . c h i l d r e n . l e n g t h :  
 	 	 	 	 	 {  
 	 	 	 	 	 	 / /   i n s e r t i n g   p a r t   a t   t h e   e n d   o f   t h e   z o n e  
 	 	 	 	 	 	 p r t T e m p   =   z o n e T a r g e t . c h i l d r e n ( z o n e T a r g e t . c h i l d r e n . l e n g t h   -   1 ) ;  
  
 	 	 	 	 	 	 / /   c h e c k   t o   m a k e   s u r e   t h e   s o u r c e   a n d   t a r g e t   a r e   n o t   t h e   s a m e   p a r t  
 	 	 	 	 	 	 i f   ( p r t T e m p   ! =   m _ p r t S r c )  
 	 	 	 	 	 	 {  
 	 	 	 	 	 	 	 p r t T e m p . i n s e r t A d j a c e n t E l e m e n t ( ' a f t e r E n d ' ,   m _ p r t S r c . r e m o v e N o d e ( t r u e ) ) ;  
 	 	 	 	 	 	 }  
 	 	 	 	 	 	 b r e a k ;  
 	 	 	 	 	 }  
 	 	 	 	 d e f a u l t :  
 	 	 	 	 	 {  
 	 	 	 	 	 	 i f   ( z o n e T a r g e t . c h i l d r e n ( m _ i d x I n s e r t ) ) {  
 	 	 	 	 	 	 	 / /   i n s e r t i n g   p a r t   b e f o r e   i n d e x e d   c h i l d  
 	 	 	 	 	 	 	 p r t T e m p   =   z o n e T a r g e t . c h i l d r e n ( m _ i d x I n s e r t ) ;  
  
 	 	 	 	 	 	 	 / /   c h e c k   t o   m a k e   s u r e   t h e   s o u r c e   a n d   t a r g e t   a r e   n o t   t h e   s a m e  
 	 	 	 	 	 	 	 i f   ( p r t T e m p   ! =   m _ p r t S r c )  
 	 	 	 	 	 	 	 {  
 	 	 	 	 	 	 	 	 p r t T e m p . i n s e r t A d j a c e n t E l e m e n t ( ' b e f o r e B e g i n ' ,   m _ p r t S r c . r e m o v e N o d e ( t r u e ) ) ;  
 	 	 	 	 	 	 	 }  
 	 	 	 	 	 	 }  
 	 	 	 	 	 }  
 	 	 	 	 }  
 	 	 	 	 s a v e T o S e r v e r . p a r t L a y o u t . v a l u e   =   ' < D a s h b o a r d > ' ;  
 	 	 	 	 / / A d d P a r t s I n f o F o r S a v e ( t d Z o n e T o p ,   4 ) ;  
 	 	 	 	 A d d P a r t s I n f o F o r S a v e ( t d Z o n e L e f t ,   1 ) ;  
 	 	 	 	 / / A d d P a r t s I n f o F o r S a v e ( t d Z o n e C e n t e r ,   2 ) ;  
 	 	 	 	 A d d P a r t s I n f o F o r S a v e ( t d Z o n e R i g h t ,   3 ) ;  
 	 	 	 	 / / A d d P a r t s I n f o F o r S a v e ( t d Z o n e B o t t o m ,   5 ) ;  
 	 	 	 	 s a v e T o S e r v e r . p a r t L a y o u t . v a l u e   + =   ' < / D a s h b o a r d > ' ;  
 	 	 	 }  
  
 	 	 	 t b l I B e a m . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 }  
 	 	  
 	 	 m _ p r t D r a g . s t y l e . p o s i t i o n   =   ' ' ;  
 	 	 m _ p r t D r a g . r e m o v e N o d e ( t r u e ) ;  
 	 	 m _ p r t D r a g   =   n u l l ;  
  
 	 	 i f   ( m _ z o n e L a s t )  
 	 	 {  
 	 	 	 S e t A s D r o p T a r g e t ( m _ z o n e L a s t ,   f a l s e ) ;  
 	 	 }  
  
 	 	 d i v M o u s e . r e l e a s e C a p t u r e ( ) ;  
 	 	 m _ f M o u s e D o w n   =   f a l s e ;  
 	 	 m _ f M o u s e M o v e d   =   f a l s e ;  
 	 }  
 }  
 f u n c t i o n   a r r a n g e L i s t M e m b e r (   d o w n ,   i n t S i d e   )   {  
 	 	 i n t S i d e   =   ' s e l '   +   i n t S i d e ;  
 	 	 s l   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . s e l e c t e d I n d e x ;  
 	 	 i f   ( s l   ! =   - 1 )   {  
 	 	 o T e x t   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l ] . t e x t ;  
 	 	 o V a l u e   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l ] . v a l u e ;  
 	 	 i f   ( o V a l u e   = =   " - 1 " )    
 	 	 {  
 	 	 	 a l e r t ( " P l e a s e   s e l e c t   a   m e m b e r   f i r s t " ) ; 	 	  
 	 	 	 r e t u r n   f a l s e ;  
 	 	 } 	  
 	 	 i f   ( s l   >   0   & &   d o w n   = =   0 )   {  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l ] . t e x t   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l - 1 ] . t e x t ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l ] . v a l u e   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l - 1 ] . v a l u e ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l - 1 ] . t e x t   =   o T e x t ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l - 1 ] . v a l u e   =   o V a l u e ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . s e l e c t e d I n d e x - - ;  
 	 	 }   e l s e   i f   ( s l   <   d o c u m e n t . f o r m 1 [ i n t S i d e ] . l e n g t h - 1   & &   d o w n   = =   1   & &   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l + 1 ] . v a l u e   ! =   " - 1 " )   {  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l ] . t e x t   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l + 1 ] . t e x t ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l ] . v a l u e   =   d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l + 1 ] . v a l u e ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l + 1 ] . t e x t   =   o T e x t ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . o p t i o n s [ s l + 1 ] . v a l u e   =   o V a l u e ;  
 	 	 	 d o c u m e n t . f o r m 1 [ i n t S i d e ] . s e l e c t e d I n d e x + + ;  
 	 	 }  
 	 	 d o S u b m i t ( ) ;  
 	 	 }   e l s e   {  
 	 	 a l e r t ( " P l e a s e   s e l e c t   a   m e m b e r   f i r s t " ) ;  
 	 	 }  
 	 	 r e t u r n   f a l s e ;  
 	 }  
 f u n c t i o n   a d d S r c T o D e s t L i s t ( )   {  
 	 d e s t L i s t   =   w i n d o w . d o c u m e n t . f o r m s [ 0 ] . s e l 1 ;  
 	 s r c L i s t   =   w i n d o w . d o c u m e n t . f o r m s [ 0 ] . s e l 0 ;    
 	 v a r   l e n   =   d e s t L i s t . l e n g t h ;  
 	 f o r ( v a r   i   =   0 ;   i   <   s r c L i s t . l e n g t h ;   i + + )   {  
 	 	 i f   ( ( s r c L i s t . o p t i o n s [ i ]   ! =   n u l l )   & &   ( s r c L i s t . o p t i o n s [ i ] . s e l e c t e d ) )   {  
 	 	 	 / / C h e c k   i f   t h i s   v a l u e   a l r e a d y   e x i s t   i n   t h e   d e s t L i s t   o r   n o t  
 	 	 	 / / i f   n o t   t h e n   a d d   i t   o t h e r w i s e   d o   n o t   a d d   i t .  
 	 	 	 v a r   f o u n d   =   f a l s e ;  
 	 	 	 f o r ( v a r   c o u n t   =   0 ;   c o u n t   <   l e n ;   c o u n t + + )   {  
 	 	 	 	 i f   ( d e s t L i s t . o p t i o n s [ c o u n t ]   ! =   n u l l )   {  
 	 	 	 	 	 i f   ( s r c L i s t . o p t i o n s [ i ] . t e x t   = =   d e s t L i s t . o p t i o n s [ c o u n t ] . t e x t )   {  
 	 	 	 	 	 	 f o u n d   =   t r u e ;  
 	 	 	 	 	 	 b r e a k ;  
 	 	 	 	 	 	  
 	 	 	 	 	 }  
 	 	 	 	 }  
 	 	 	 	  
 	 	 	 }  
 	 	 	 i f   ( f o u n d   ! =   t r u e )   {  
 	 	 	 d e s t L i s t . o p t i o n s [ l e n ]   =   n e w   O p t i o n ( s r c L i s t . o p t i o n s [ i ] . t e x t ,   s r c L i s t . o p t i o n s [ i ] . v a l u e ) ;    
 	 	 	 l e n + + ;  
 	 	 	  
 	 	 	 }  
 	 	  
 	 	 }  
 	 }  
 	 d o S u b m i t ( ) ;  
 }  
 / /   D e l e t e s   f r o m   t h e   d e s t i n a t i o n   l i s t .  
 f u n c t i o n   d e l e t e F r o m D e s t L i s t ( )   {  
 v a r   d e s t L i s t     =   w i n d o w . d o c u m e n t . f o r m s [ 0 ] . s e l 1 ;  
 v a r   l e n   =   d e s t L i s t . o p t i o n s . l e n g t h ;  
 	 f o r ( v a r   i   =   ( l e n - 1 ) ;   i   > =   0 ;   i - - )   {  
 	 	 i f   ( ( d e s t L i s t . o p t i o n s [ i ]   ! =   n u l l )   & &   ( d e s t L i s t . o p t i o n s [ i ] . s e l e c t e d   = =   t r u e ) )   {  
 	 	 	 d e s t L i s t . o p t i o n s [ i ]   =   n u l l ;  
 	         }  
 	 }  
 }  
 f u n c t i o n   S w i t c h M e n u ( o b j ) {  
 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ) {  
 	 v a r   e l   =   d o c u m e n t . g e t E l e m e n t B y I d ( o b j ) ;  
 	 v a r   a r   =   d o c u m e n t . g e t E l e m e n t B y I d ( " m a s t e r d i v " ) . g e t E l e m e n t s B y T a g N a m e ( " s p a n " ) ;    
 	 	 i f ( e l . s t y l e . d i s p l a y   ! =   " b l o c k " ) {    
 	 	 	 f o r   ( v a r   i = 0 ;   i < a r . l e n g t h ;   i + + ) {  
 	 	 	 	 i f   ( a r [ i ] . c l a s s N a m e = = " s u b m e n u " )    
 	 	 	 	 a r [ i ] . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 	 }  
 	 	 	 e l . s t y l e . d i s p l a y   =   " b l o c k " ;  
 	 	 } e l s e {  
 	 	 	 e l . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 }  
 	 }  
 }  
 f u n c t i o n   v a l i d a t e C a l c F o r m ( f o r m )   {   / / T h i s   i s   t h e   n a m e   o f   t h e   f u n c t i o n  
  
 i f   ( ! I s N u m e r i c ( f o r m . t x t B r i d e B a n d . v a l u e ) )    
  
             i f   ( f o r m . t x t B r i d e B a n d . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e B a n d . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e s   B a n d   f i e l d ' )    
             f o r m . t x t B r i d e B a n d . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	       i f   ( f o r m . t x t B r i d e B a n d B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e B a n d B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e s   B a n d   B u d g e t   f i e l d ' )    
             f o r m . t x t B r i d e B a n d B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t G r o o m s B a n d . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G r o o m s B a n d . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G r o o m s   B a n d   f i e l d ' )    
             f o r m . t x t G r o o m s B a n d . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	       i f   ( f o r m . t x t G r o o m s B a n d B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G r o o m s B a n d B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G r o o m s   B a n d   B u d g e t   f i e l d ' )    
             f o r m . t x t G r o o m s B a n d B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S i t e R e n t a l . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S i t e R e n t a l . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   S i t e   R e n t a l   f i e l d ' )    
             f o r m . t x t S i t e R e n t a l . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	       i f   ( f o r m . t x t S i t e R e n t a l B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S i t e R e n t a l B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   S i t e   R e n t a l   B u d g e t   f i e l d ' )    
             f o r m . t x t S i t e R e n t a l B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t O f f i c i a t e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O f f i c i a t e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   O f f i c i a t e   F e e   f i e l d ' )    
             f o r m . t x t O f f i c i a t e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	       i f   ( f o r m . t x t O f f i c i a t e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O f f i c i a t e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   O f f i c i a t e   F e e   B u d g e t   f i e l d ' )    
             f o r m . t x t O f f i c i a t e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M a r g L i c . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M a r g L i c . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a r r i a g e   L i c s e n s e   f i e l d ' )    
             f o r m . t x t M a r g L i c . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M a r g L i c B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M a r g L i c B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a r r i a g e   L i c s e n s e   B u d g e t   f i e l d ' )    
             f o r m . t x t M a r g L i c B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e G o w n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e G o w n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   G o w n   f i e l d ' )    
             f o r m . t x t B r i d e G o w n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e G o w n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e G o w n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   G o w n   B u d g e t   f i e l d ' )    
             f o r m . t x t B r i d e G o w n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e V e i l . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e V e i l . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   V e i l   f i e l d ' )    
             f o r m . t x t B r i d e V e i l . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e V e i l B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e V e i l B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   V e i l   B u d g e t   f i e l d ' )    
             f o r m . t x t B r i d e V e i l B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t A l t e r a t i o n s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t A l t e r a t i o n s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   A l t e r a t i o n s   f i e l d ' )    
             f o r m . t x t A l t e r a t i o n s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t A l t e r a t i o n s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t A l t e r a t i o n s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   A l t e r a t i o n s   B u d g e t   f i e l d ' )    
             f o r m . t x t A l t e r a t i o n s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e S h o e s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e S h o e s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   S h o e s   f i e l d ' )    
             f o r m . t x t B r i d e S h o e s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e S h o e s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e S h o e s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   S h o e s   B u d g e t   f i e l d ' )    
             f o r m . t x t B r i d e S h o e s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e S t o c k i n g s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e S t o c k i n g s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   S t o c k i n g s   f i e l d ' )    
             f o r m . t x t B r i d e S t o c k i n g s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e S t o c k i n g s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e S t o c k i n g s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   S t o c k i n g s   B u d g e t   f i e l d ' )    
             f o r m . t x t B r i d e S t o c k i n g s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t L i n g e r i e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t L i n g e r i e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   L i n g e r i e   f i e l d ' )    
             f o r m . t x t L i n g e r i e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t L i n g e r i e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t L i n g e r i e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   L i n g e r i e   B u d g e t   f i e l d ' )    
             f o r m . t x t L i n g e r i e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t G a r t e r . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G a r t e r . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   G a r t e r   f i e l d ' )    
             f o r m . t x t G a r t e r . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t G a r t e r B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G a r t e r B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   G a r t e r   B u d g e t   f i e l d ' )    
             f o r m . t x t G a r t e r B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e J e w e l s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e J e w e l s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   J e w e l e r y   f i e l d ' )    
             f o r m . t x t B r i d e J e w e l s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B r i d e J e w e l s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B r i d e J e w e l s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   J e w e l e r y   B u d g e t   f i e l d ' )    
             f o r m . t x t B r i d e J e w e l s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P r e s e r v a t i o n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P r e s e r v a t i o n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   P r e s e r v a t i o n   f i e l d ' )    
             f o r m . t x t P r e s e r v a t i o n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P r e s e r v a t i o n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P r e s e r v a t i o n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e   P r e s e r v a t i o n   B u d g e t   f i e l d ' )    
             f o r m . t x t P r e s e r v a t i o n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e c e p t i o n S i t e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e c e p t i o n S i t e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e c e p t i o n   S i t e   f i e l d ' )    
             f o r m . t x t R e c e p t i o n S i t e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e c e p t i o n S i t e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e c e p t i o n S i t e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e c e p t i o n   S i t e   B u d g e t   f i e l d ' )    
             f o r m . t x t R e c e p t i o n S i t e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e c e p t i o n F o o d . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e c e p t i o n F o o d . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e c e p t i o n   F o o d   f i e l d ' )    
             f o r m . t x t R e c e p t i o n F o o d . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e c e p t i o n F o o d B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e c e p t i o n F o o d B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e c e p t i o n   F o o d   B u d g e t   f i e l d ' )    
             f o r m . t x t R e c e p t i o n F o o d B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	    
 	     i f   ( f o r m . t x t R e c e p t i o n D a n c e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e c e p t i o n D a n c e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   D a n c e   L e s s o n   f i e l d ' )    
             f o r m . t x t R e c e p t i o n D a n c e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e c e p t i o n D a n c e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e c e p t i o n D a n c e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   D a n c e   L e s s o n   B u d g e t   f i e l d ' )    
             f o r m . t x t R e c e p t i o n D a n c e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y P h o t o . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y P h o t o . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P h o t o   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y P h o t o . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y P h o t o B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y P h o t o B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P h o t o   B u d g e t   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y P h o t o B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y W e d d i n g P o r t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y W e d d i n g P o r t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P o r t r a i t   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y W e d d i n g P o r t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y W e d d i n g P o r t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y W e d d i n g P o r t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P o r t r a i t   B u d g e t   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y W e d d i n g P o r t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y W e d d i n g P h o t o . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y W e d d i n g P h o t o . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P h o t o g r a p h s   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y W e d d i n g P h o t o . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y W e d d i n g P h o t o B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y W e d d i n g P h o t o B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P h o t o g r a p h s   B u d g e t   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y W e d d i n g P h o t o B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y W e d d i n g A l b u m . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y W e d d i n g A l b u m . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   A l b u m   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y W e d d i n g A l b u m . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t P h o t o g r a p h y W e d d i n g A l b u m B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t P h o t o g r a p h y W e d d i n g A l b u m B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   A l b u m   B u d g e t   f i e l d ' )    
             f o r m . t x t P h o t o g r a p h y W e d d i n g A l b u m B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ B a n d C e r e m o n y . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ B a n d C e r e m o n y . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B a n d   C e r e m o n y   f i e l d ' )    
             f o r m . t x t M _ E _ B a n d C e r e m o n y . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ B a n d C e r e m o n y B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ B a n d C e r e m o n y B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B a n d   C e r e m o n y   B u d g e t   f i e l d ' )    
             f o r m . t x t M _ E _ B a n d C e r e m o n y B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	    
 	     i f   ( f o r m . t x t M _ E _ D J C e r e m o n y . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ D J C e r e m o n y . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   D J   C e r e m o n y   f i e l d ' )    
             f o r m . t x t M _ E _ D J C e r e m o n y . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ D J C e r e m o n y B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ D J C e r e m o n y B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   D J   C e r e m o n y   B u d g e t   f i e l d ' )    
             f o r m . t x t M _ E _ D J C e r e m o n y B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ B a n d R e c e p t i o n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ B a n d R e c e p t i o n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B a n d   R e c e p t i o n   f i e l d ' )    
             f o r m . t x t M _ E _ B a n d R e c e p t i o n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ B a n d R e c e p t i o n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ B a n d R e c e p t i o n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B a n d   R e c e p t i o n   B u d g e t   f i e l d ' )    
             f o r m . t x t M _ E _ B a n d R e c e p t i o n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ D J R e c e p t i o n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ D J R e c e p t i o n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   D J   R e c e p t i o n   f i e l d ' )    
             f o r m . t x t M _ E _ D J R e c e p t i o n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t M _ E _ D J R e c e p t i o n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t M _ E _ D J R e c e p t i o n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   D J   R e c e p t i o n   B u d g e t   f i e l d ' )    
             f o r m . t x t M _ E _ D J R e c e p t i o n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t V i d e o g r a p h y _ V i d e o T a p i n g . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t V i d e o g r a p h y _ V i d e o T a p i n g . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   V i d e o t a p i n g   f i e l d ' )    
             f o r m . t x t V i d e o g r a p h y _ V i d e o T a p i n g . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t V i d e o g r a p h y _ V i d e o T a p i n g B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t V i d e o g r a p h y _ V i d e o T a p i n g B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   V i d e o t a p i n g   B u d g e t   f i e l d ' )    
             f o r m . t x t V i d e o g r a p h y _ V i d e o T a p i n g B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t V i d e o g r a p h y _ E d i t i n g . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t V i d e o g r a p h y _ E d i t i n g . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   V i d o e   E d t i t i n g   f i e l d ' )    
             f o r m . t x t V i d e o g r a p h y _ E d i t i n g . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t V i d e o g r a p h y _ E d i t i n g B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t V i d e o g r a p h y _ E d i t i n g B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   V i d o e   E d t i t i n g   B u d g e t   f i e l d ' )    
             f o r m . t x t V i d e o g r a p h y _ E d i t i n g B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	    
 	     i f   ( f o r m . t x t S t a t i o n e r y _ I n v i t a t i o n s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ I n v i t a t i o n s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   I n v i t a t i o n s   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ I n v i t a t i o n s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ I n v i t a t i o n s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ I n v i t a t i o n s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   I n v i t a t i o n s   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ I n v i t a t i o n s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ W e d A n n o u n c e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ W e d A n n o u n c e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   A n n o u n c e m e n t s   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ W e d A n n o u n c e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ W e d A n n o u n c e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ W e d A n n o u n c e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   A n n o u n c e m e n t s   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ W e d A n n o u n c e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ W e d P r o g r a m . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ W e d P r o g r a m . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P r o g r a m   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ W e d P r o g r a m . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ W e d P r o g r a m B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ W e d P r o g r a m B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P r o g r a m   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ W e d P r o g r a m B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ T h a n k N o t e s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ T h a n k N o t e s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   T h a n k   Y o u   N o t e s   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ T h a n k N o t e s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ T h a n k N o t e s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ T h a n k N o t e s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   T h a n k   Y o u   N o t e s   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ T h a n k N o t e s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	    
 	     i f   ( f o r m . t x t S t a t i o n e r y _ M a p s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ M a p s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   M a p s   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ M a p s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ M a p s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ M a p s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   M a p s   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ M a p s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ P o s t a g e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ P o s t a g e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P o s t a g e   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ P o s t a g e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ P o s t a g e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ P o s t a g e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   P o s t a g e   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ P o s t a g e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ N a p k i n s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ N a p k i n s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   N a p k i n s   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ N a p k i n s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t S t a t i o n e r y _ N a p k i n s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t S t a t i o n e r y _ N a p k i n s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   N a p k i n s   B u d g e t   f i e l d ' )    
             f o r m . t x t S t a t i o n e r y _ N a p k i n s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	     	      
 	     i f   ( f o r m . t x t R e h e a r s a l _ F o o d . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e h e a r s a l _ F o o d . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e h e a s a l   F o o d   f i e l d ' )    
             f o r m . t x t R e h e a r s a l _ F o o d . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e h e a r s a l _ F o o d B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e h e a r s a l _ F o o d B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e h e a s a l   F o o d   B u d g e t   f i e l d ' )    
             f o r m . t x t R e h e a r s a l _ F o o d B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e h e a r s a l _ B e v . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e h e a r s a l _ B e v . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e h e a s a l   B e v e r a g e   f i e l d ' )    
             f o r m . t x t R e h e a r s a l _ B e v . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e h e a r s a l _ B e v B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e h e a r s a l _ B e v B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e h e a s a l   B e v e r a g e   B u d g e t   f i e l d ' )    
             f o r m . t x t R e h e a r s a l _ B e v B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e h e a r s a l _ R o o m R e n t a l . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e h e a r s a l _ R o o m R e n t a l . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e h e a s a l   R o o m   R e n t a l   f i e l d ' )    
             f o r m . t x t R e h e a r s a l _ R o o m R e n t a l . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t R e h e a r s a l _ R o o m R e n t a l B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t R e h e a r s a l _ R o o m R e n t a l B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e h e a s a l   R o o m   R e n t a l   B u d g e t   f i e l d ' )    
             f o r m . t x t R e h e a r s a l _ R o o m R e n t a l B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ C a k e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ C a k e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   C a k e   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ C a k e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ C a k e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ C a k e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   C a k e   B u d g e t   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ C a k e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ C a k e T o p p e r . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ C a k e T o p p e r . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   C a k e   T o p p e r   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ C a k e T o p p e r . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ C a k e T o p p e r B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ C a k e T o p p e r B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   C a k e   T o p p e r   B u d g e t   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ C a k e T o p p e r B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ C a k e K n i f e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ C a k e K n i f e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   C a k e   K n i f e   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ C a k e K n i f e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ C a k e K n i f e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ C a k e K n i f e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   C a k e   K n i f e   B u d g e t   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ C a k e K n i f e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ G r o o m C a k e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ G r o o m C a k e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G r o o m s   C a k e   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ G r o o m C a k e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t W e d d i n g C a k e _ G r o o m C a k e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t W e d d i n g C a k e _ G r o o m C a k e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G r o o m s   C a k e   B u d g e t   f i e l d ' )    
             f o r m . t x t W e d d i n g C a k e _ G r o o m C a k e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ C e r e m o n y . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ C e r e m o n y . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   C e r e m o n y   F l o w e r s   f i e l d ' )    
             f o r m . t x t F l o w e r s _ C e r e m o n y . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ C e r e m o n y B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ C e r e m o n y B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   C e r e m o n y   F l o w e r s   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ C e r e m o n y B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ R e c e p t i o n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ R e c e p t i o n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e c e p t i o n   F l o w e r s   f i e l d ' )    
             f o r m . t x t F l o w e r s _ R e c e p t i o n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ R e c e p t i o n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ R e c e p t i o n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R e c e p t i o n   F l o w e r s   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ R e c e p t i o n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	    
 	     i f   ( f o r m . t x t F l o w e r s _ B r i d e B o u q u e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ B r i d e B o u q u e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e s   B o u q u e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ B r i d e B o u q u e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ B r i d e B o u q u e t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ B r i d e B o u q u e t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B r i d e s   B o u q u e t   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ B r i d e B o u q u e t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ A t e n d a n t B o u q u e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ A t e n d a n t B o u q u e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   A t t e n d a n t s   B o u q u e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ A t e n d a n t B o u q u e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ A t e n d a n t B o u q u e t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ A t e n d a n t B o u q u e t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   A t t e n d a n t s   B o u q u e t   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ A t e n d a n t B o u q u e t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ B o u t o n n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ B o u t o n n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B o u t o n n i e r e s   f i e l d ' )    
             f o r m . t x t F l o w e r s _ B o u t o n n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ B o u t o n n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ B o u t o n n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B o u t o n n i e r e s   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ B o u t o n n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ F l o r a l P r e s e r v a t i o n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ F l o r a l P r e s e r v a t i o n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F l o r a l   P r e s e r v a t i o n   f i e l d ' )    
             f o r m . t x t F l o w e r s _ F l o r a l P r e s e r v a t i o n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ F l o r a l P r e s e r v a t i o n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ F l o r a l P r e s e r v a t i o n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F l o r a l   P r e s e r v a t i o n   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ F l o r a l P r e s e r v a t i o n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ F l o w e r G i r l R i n g B e a r e r . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ F l o w e r G i r l R i n g B e a r e r . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F l o w e r   G i r l / R i n g   B e a r e r   f i e l d ' )    
             f o r m . t x t F l o w e r s _ F l o w e r G i r l R i n g B e a r e r . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t F l o w e r s _ F l o w e r G i r l R i n g B e a r e r B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t F l o w e r s _ F l o w e r G i r l R i n g B e a r e r B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F l o w e r   G i r l / R i n g   B e a r e r   B u d g e t   f i e l d ' )    
             f o r m . t x t F l o w e r s _ F l o w e r G i r l R i n g B e a r e r B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t G r o o m A t t i r e _ T u x S u i t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G r o o m A t t i r e _ T u x S u i t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G r o o m s   A t t i r e   f i e l d ' )    
             f o r m . t x t G r o o m A t t i r e _ T u x S u i t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t G r o o m A t t i r e _ T u x S u i t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G r o o m A t t i r e _ T u x S u i t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G r o o m s   A t t i r e   B u d g e t   f i e l d ' )    
             f o r m . t x t G r o o m A t t i r e _ T u x S u i t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t T r a n s p o r t a t i o n _ L i m o . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t T r a n s p o r t a t i o n _ L i m o . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   L i m o s u i n e   f i e l d ' )    
             f o r m . t x t T r a n s p o r t a t i o n _ L i m o . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t T r a n s p o r t a t i o n _ L i m o B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t T r a n s p o r t a t i o n _ L i m o B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   L i m o s u i n e   B u d g e t   f i e l d ' )    
             f o r m . t x t T r a n s p o r t a t i o n _ L i m o B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t T r a n s p o r t a t i o n _ V a l e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t T r a n s p o r t a t i o n _ V a l e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   V a l e t   f i e l d ' )    
             f o r m . t x t T r a n s p o r t a t i o n _ V a l e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	       i f   ( f o r m . t x t T r a n s p o r t a t i o n _ V a l e t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t T r a n s p o r t a t i o n _ V a l e t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   V a l e t   B u d g e t   f i e l d ' )    
             f o r m . t x t T r a n s p o r t a t i o n _ V a l e t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ F a c i a l . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ F a c i a l . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F a c i a l   f i e l d ' )    
             f o r m . t x t B e a u t y _ F a c i a l . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ F a c i a l B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ F a c i a l B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F a c i a l   B u d g e t   f i e l d ' )    
             f o r m . t x t B e a u t y _ F a c i a l B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ M a n i c u r e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ M a n i c u r e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a n i c u r e   f i e l d ' )    
             f o r m . t x t B e a u t y _ M a n i c u r e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ M a n i c u r e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ M a n i c u r e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a n i c u r e   B u d g e t   f i e l d ' )    
             f o r m . t x t B e a u t y _ M a n i c u r e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ P e d i c u r e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ P e d i c u r e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   P e d i c u r e   f i e l d ' )    
             f o r m . t x t B e a u t y _ P e d i c u r e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ P e d i c u r e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ P e d i c u r e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   P e d i c u r e   B u d g e t   f i e l d ' )    
             f o r m . t x t B e a u t y _ P e d i c u r e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }    
 	      
 	     i f   ( f o r m . t x t B e a u t y _ M a s s a g e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ M a 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   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a s s a g e   f i e l d ' )    
             f o r m . t x t B e a u t y _ M a s s a g e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }  
 	      
 	     i f   ( f o r m . t x t B e a u t y _ M a s s a g e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ M a s s a g e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a s s a g e   B u d g e t   f i e l d ' )    
             f o r m . t x t B e a u t y _ M a s s a g e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }  
 	      
 	     i f   ( f o r m . t x t B e a u t y _ H a i r . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ H a i r . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B e a u t y   H a i r   f i e l d ' )    
             f o r m . t x t B e a u t y _ H a i r . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }  
 	      
 	     i f   ( f o r m . t x t B e a u t y _ H a i r B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ H a i r B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   B e a u t y   H a i r   B u d g e t   f i e l d ' )    
             f o r m . t x t B e a u t y _ H a i r B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }  
 	      
 	     i f   ( f o r m . t x t B e a u t y _ M a k e u p . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ M a k e u p . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a k e u p   f i e l d ' )    
             f o r m . t x t B e a u t y _ M a k e u p . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }  
 	      
 	     i f   ( f o r m . t x t B e a u t y _ M a k e u p B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t B e a u t y _ M a k e u p B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   M a k e u p   B u d g e t   f i e l d ' )    
             f o r m . t x t B e a u t y _ M a k e u p B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }  
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ W e d d i n g N i g h t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ W e d d i n g N i g h t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   N i g h t   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ W e d d i n g N i g h t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ W e d d i n g N i g h t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ W e d d i n g N i g h t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   W e d d i n g   N i g h t   B u d g e t   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ W e d d i n g N i g h t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ H o t e l R e s o r t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ H o t e l R e s o r t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   H o t e l   R e s o r t   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ H o t e l R e s o r t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ H o t e l R e s o r t B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ H o t e l R e s o r t B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   H o t e l   R e s o r t   B u d g e t   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ H o t e l R e s o r t B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ T r a n s p o r t a t i o n . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ T r a n s p o r t a t i o n . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   H o n e y m o o n   T r a n s p o t a t i o n   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ T r a n s p o r t a t i o n . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ T r a n s p o r t a t i o n B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ T r a n s p o r t a t i o n B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   H o n e y m o o n   T r a n s p o t a t i o n   B u d g e t   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ T r a n s p o r t a t i o n B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ M o n e y . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ M o n e y . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   H o n e y m o o n   M o n e y   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ M o n e y . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t H o n e y M o o n _ M o n e y B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t H o n e y M o o n _ M o n e y B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   H o n e y m o o n   M o n e y   B u d g e t   f i e l d ' )    
             f o r m . t x t H o n e y M o o n _ M o n e y B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t G i f t s _ A t t e n d a n t s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G i f t s _ A t t e n d a n t s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   A t t e n d a n t   G i f t s   f i e l d ' )    
             f o r m . t x t G i f t s _ A t t e n d a n t s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t G i f t s _ A t t e n d a n t s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G i f t s _ A t t e n d a n t s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   A t t e n d a n t   G i f t s   B u d g e t   f i e l d ' )    
             f o r m . t x t G i f t s _ A t t e n d a n t s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t G i f t s _ E a c h O t h e r . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G i f t s _ E a c h O t h e r . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G i f t s   t o   E a c h   O t h e r   f i e l d ' )    
             f o r m . t x t G i f t s _ E a c h O t h e r . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t G i f t s _ E a c h O t h e r B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G i f t s _ E a c h O t h e r B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G i f t s   t o   E a c h   O t h e r   B u d g e t   f i e l d ' )    
             f o r m . t x t G i f t s _ E a c h O t h e r B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t G i f t s _ F a v o r s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G i f t s _ F a v o r s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F a v o r s   f i e l d ' )    
             f o r m . t x t G i f t s _ F a v o r s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t G i f t s _ F a v o r s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t G i f t s _ F a v o r s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   F a v o r s   B u d g e t   f i e l d ' )    
             f o r m . t x t G i f t s _ F a v o r s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ G u e s t B o o k . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ G u e s t B o o k . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G u e s t   B o o k   f i e l d ' )    
             f o r m . t x t O t h e r s _ G u e s t B o o k . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ G u e s t B o o k B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ G u e s t B o o k B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G u e s t   B o o k   B u d g e t   f i e l d ' )    
             f o r m . t x t O t h e r s _ G u e s t B o o k B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ G o b l e t F l u t e s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ G o b l e t F l u t e s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G o b l e t s / F l u t e s   f i e l d ' )    
             f o r m . t x t O t h e r s _ G o b l e t F l u t e s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ G o b l e t F l u t e s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ G o b l e t F l u t e s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G o b l e t s / F l u t e s   B u d g e t   f i e l d ' )    
             f o r m . t x t O t h e r s _ G o b l e t F l u t e s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ R i n g P i l l o w . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ R i n g P i l l o w . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R i n g   P i l l o w   f i e l d ' )    
             f o r m . t x t O t h e r s _ R i n g P i l l o w . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ R i n g P i l l o w B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ R i n g P i l l o w B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   R i n g   P i l l o w   B u d g e t   f i e l d ' )    
             f o r m . t x t O t h e r s _ R i n g P i l l o w B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ G u e s t M o m e n t o s . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ G u e s t M o m e n t o s . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G u e s t   M o m e n t o s   f i e l d ' )    
             f o r m . t x t O t h e r s _ G u e s t M o m e n t o s . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ G u e s t M o m e n t o s B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ G u e s t M o m e n t o s B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   G u e s t   M o m e n t o s   B u d g e t   f i e l d ' )    
             f o r m . t x t O t h e r s _ G u e s t M o m e n t o s B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ S p a r k B u b b l e . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ S p a r k B u b b l e . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   S p a r k l e r s / B u b b l e s   f i e l d ' )    
             f o r m . t x t O t h e r s _ S p a r k B u b b l e . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	     i f   ( f o r m . t x t O t h e r s _ S p a r k B u b b l e B u d g e t . v a l u e   ! =   " "   & &   ! I s N u m e r i c ( f o r m . t x t O t h e r s _ S p a r k B u b b l e B u d g e t . v a l u e ) )    
             {    
             a l e r t ( ' P l e a s e   e n t e r   o n l y   n u m b e r s   o r   d e c i m a l   p o i n t s   i n   t h e   S p a r k l e r s / B u b b l e s   B u d g e t   f i e l d ' )    
             f o r m . t x t O t h e r s _ S p a r k B u b b l e B u d g e t . f o c u s ( ) ;    
             r e t u r n   f a l s e ;    
             }      
 	      
 	      
 }  
  
  
 f u n c t i o n   F o r m R e g i s t e r V e r i f y   ( e m a i l S t r )   {  
 	 i f   ( d o c u m e n t . m y f o r m . B r i d e F i r s t N a m e . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   f i r s t   n a m e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . B r i d e F i r s t N a m e . 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 . m y f o r m . B r i d e L a s t N a m e . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   l a s t   n a m e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . B r i d e L a s t N a m e . 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 . m y f o r m . A d d r e s s . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   a d d r e s s   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . A d d r e s s . 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 . m y f o r m . C i t y . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   c i t y   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . C i t y . 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 . m y f o r m . S t a t e . v a l u e   = =   " - - " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   s t a t e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . S t a t e . 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 . m y f o r m . Z i p 1 . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   z i p   c o d e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . Z i p 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 . m y f o r m . E m a i l . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   e m a i l   a d d r e s s   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . E m a i l . f o c u s ( ) ;  
 	 	 r e t u r n   f a l s e ;   }  
 	 	 e l s e {  
 	 	 	 / *   T h e   f o l l o w i n g   p a t t e r n   i s   u s e d   t o   c h e c k   i f   t h e   e n t e r e d   e - m a i l   a d d r e s s  
 	 	 	       f i t s   t h e   u s e r @ d o m a i n   f o r m a t .     I t   a l s o   i s   u s e d   t o   s e p a r a t e   t h e   u s e r n a m e  
 	 	 	       f r o m   t h e   d o m a i n .   * /  
 	 	 	 v a r   e m a i l P a t = / ^ ( . + ) @ ( . + ) $ /  
 	 	 	 / *   T h e   f o l l o w i n g   s t r i n g   r e p r e s e n t s   t h e   p a t t e r n   f o r   m a t c h i n g   a l l   s p e c i a l  
 	 	 	       c h a r a c t e r s .     W e   d o n ' t   w a n t   t o   a l l o w   s p e c i a l   c h a r a c t e r s   i n   t h e   a d d r e s s .    
 	 	 	       T h e s e   c h a r a c t e r s   i n c l u d e   (   )   <   >   @   ,   ;   :   \   "   .   [   ]         * /  
 	 	 	 v a r   s p e c i a l C h a r s = " \ \ ( \ \ ) < > @ , ; : \ \ \ \ \ \ \ " \ \ . \ \ [ \ \ ] "  
 	 	 	 / *   T h e   f o l l o w i n g   s t r i n g   r e p r e s e n t s   t h e   r a n g e   o f   c h a r a c t e r s   a l l o w e d   i n   a    
 	 	 	       u s e r n a m e   o r   d o m a i n n a m e .     I t   r e a l l y   s t a t e s   w h i c h   c h a r s   a r e n ' t   a l l o w e d .   * /  
 	 	 	 v a r   v a l i d C h a r s = " \ [ ^ \ \ s "   +   s p e c i a l C h a r s   +   " \ ] "  
 	 	 	 / *   T h e   f o l l o w i n g   p a t t e r n   a p p l i e s   i f   t h e   " u s e r "   i s   a   q u o t e d   s t r i n g   ( i n  
 	 	 	       w h i c h   c a s e ,   t h e r e   a r e   n o   r u l e s   a b o u t   w h i c h   c h a r a c t e r s   a r e   a l l o w e d  
 	 	 	       a n d   w h i c h   a r e n ' t ;   a n y t h i n g   g o e s ) .     E . g .   " j i m i n y   c r i c k e t " @ d i s n e y . c o m  
 	 	 	       i s   a   l e g a l   e - m a i l   a d d r e s s .   * /  
 	 	 	 v a r   q u o t e d U s e r = " ( \ " [ ^ \ " ] * \ " ) "  
 	 	 	 / *   T h e   f o l l o w i n g   p a t t e r n   a p p l i e s   f o r   d o m a i n s   t h a t   a r e   I P   a d d r e s s e s ,  
 	 	 	       r a t h e r   t h a n   s y m b o l i c   n a m e s .     E . g .   j o e @ [ 1 2 3 . 1 2 4 . 2 3 3 . 4 ]   i s   a   l e g a l  
 	 	 	       e - m a i l   a d d r e s s .   N O T E :   T h e   s q u a r e   b r a c k e t s   a r e   r e q u i r e d .   * /  
 	 	 	 v a r   i p D o m a i n P a t = / ^ \ [ ( \ d { 1 , 3 } ) \ . ( \ d { 1 , 3 } ) \ . ( \ d { 1 , 3 } ) \ . ( \ d { 1 , 3 } ) \ ] $ /  
 	 	 	 / *   T h e   f o l l o w i n g   s t r i n g   r e p r e s e n t s   a n   a t o m   ( b a s i c a l l y   a   s e r i e s   o f  
 	 	 	       n o n - s p e c i a l   c h a r a c t e r s . )   * /  
 	 	 	 v a r   a t o m = v a l i d C h a r s   +   ' + '  
 	 	 	 / *   T h e   f o l l o w i n g   s t r i n g   r e p r e s e n t s   o n e   w o r d   i n   t h e   t y p i c a l   u s e r n a m e .  
 	 	 	       F o r   e x a m p l e ,   i n   j o h n . d o e @ s o m e w h e r e . c o m ,   j o h n   a n d   d o e   a r e   w o r d s .  
 	 	 	       B a s i c a l l y ,   a   w o r d   i s   e i t h e r   a n   a t o m   o r   q u o t e d   s t r i n g .   * /  
 	 	 	 v a r   w o r d = " ( "   +   a t o m   +   " | "   +   q u o t e d U s e r   +   " ) "  
 	 	 	 / /   T h e   f o l l o w i n g   p a t t e r n   d e s c r i b e s   t h e   s t r u c t u r e   o f   t h e   u s e r  
 	 	 	 v a r   u s e r P a t = n e w   R e g E x p ( " ^ "   +   w o r d   +   " ( \ \ . "   +   w o r d   +   " ) * $ " )  
 	 	 	 / *   T h e   f o l l o w i n g   p a t t e r n   d e s c r i b e s   t h e   s t r u c t u r e   o f   a   n o r m a l   s y m b o l i c  
 	 	 	       d o m a i n ,   a s   o p p o s e d   t o   i p D o m a i n P a t ,   s h o w n   a b o v e .   * /  
 	 	 	 v a r   d o m a i n P a t = n e w   R e g E x p ( " ^ "   +   a t o m   +   " ( \ \ . "   +   a t o m   + " ) * $ " )  
  
  
 	 	 	 / *   F i n a l l y ,   l e t ' s   s t a r t   t r y i n g   t o   f i g u r e   o u t   i f   t h e   s u p p l i e d   a d d r e s s   i s  
 	 	 	       v a l i d .   * /  
  
 	 	 	 / *   B e g i n   w i t h   t h e   c o a r s e   p a t t e r n   t o   s i m p l y   b r e a k   u p   u s e r @ d o m a i n   i n t o  
 	 	 	       d i f f e r e n t   p i e c e s   t h a t   a r e   e a s y   t o   a n a l y z e .   * /  
 	 	 	 v a r   m a t c h A r r a y = e m a i l S t r . m a t c h ( e m a i l P a t )  
 	 	 	 i f   ( m a t c h A r r a y = = n u l l )   {  
 	 	 	     / *   T o o   m a n y / f e w   @ ' s   o r   s o m e t h i n g ;   b a s i c a l l y ,   t h i s   a d d r e s s   d o e s n ' t  
 	 	 	           e v e n   f i t   t h e   g e n e r a l   m o u l d   o f   a   v a l i d   e - m a i l   a d d r e s s .   * /  
 	 	 	 	 a l e r t ( " E m a i l   a d d r e s s   s e e m s   i n c o r r e c t . " )  
 	 	 	 	 r e t u r n   f a l s e ;  
 	 	 	 }  
 	 	 	 v a r   u s e r = m a t c h A r r a y [ 1 ]  
 	 	 	 v a r   d o m a i n = m a t c h A r r a y [ 2 ]  
  
 	 	 	 / /   S e e   i f   " u s e r "   i s   v a l i d    
 	 	 	 i f   ( u s e r . m a t c h ( u s e r P a t ) = = n u l l )   {  
 	 	 	         / /   u s e r   i s   n o t   v a l i d  
 	 	 	         a l e r t ( " T h e   u s e r n a m e   d o e s n ' t   s e e m   t o   b e   v a l i d . " )  
 	 	 	         r e t u r n   f a l s e ;  
 	 	 	 }  
  
 	 	 	 / *   i f   t h e   e - m a i l   a d d r e s s   i s   a t   a n   I P   a d d r e s s   ( a s   o p p o s e d   t o   a   s y m b o l i c  
 	 	 	       h o s t   n a m e )   m a k e   s u r e   t h e   I P   a d d r e s s   i s   v a l i d .   * /  
 	 	 	 v a r   I P A r r a y = d o m a i n . m a t c h ( i p D o m a i n P a t )  
 	 	 	 i f   ( I P A r r a y ! = n u l l )   {  
 	 	 	         / /   t h i s   i s   a n   I P   a d d r e s s  
 	 	 	 	     f o r   ( v a r   i = 1 ; i < = 4 ; i + + )   {  
 	 	 	 	         i f   ( I P A r r a y [ i ] > 2 5 5 )   {  
 	 	 	 	                 a l e r t ( " D e s t i n a t i o n   I P   a d d r e s s   i s   i n v a l i d ! " )  
 	 	 	 	 	 r e t u r n   f a l s e ;  
 	 	 	 	         }  
 	 	 	         }  
 	 	 	         r e t u r n   t r u e ;  
 	 	 	 }  
  
 	 	 	 / /   D o m a i n   i s   s y m b o l i c   n a m e  
 	 	 	 v a r   d o m a i n A r r a y = d o m a i n . m a t c h ( d o m a i n P a t )  
 	 	 	 i f   ( d o m a i n A r r a y = = n u l l )   {  
 	 	 	 	 a l e r t ( " T h e   d o m a i n   n a m e   d o e s n ' t   s e e m   t o   b e   v a l i d . " )  
 	 	 	         r e t u r n   f a l s e ;  
 	 	 	 }  
  
 	 	 	 / *   d o m a i n   n a m e   s e e m s   v a l i d ,   b u t   n o w   m a k e   s u r e   t h a t   i t   e n d s   i n   a  
 	 	 	       t h r e e - l e t t e r   w o r d   ( l i k e   c o m ,   e d u ,   g o v )   o r   a   t w o - l e t t e r   w o r d ,  
 	 	 	       r e p r e s e n t i n g   c o u n t r y   ( u k ,   n l ) ,   a n d   t h a t   t h e r e ' s   a   h o s t n a m e   p r e c e d i n g    
 	 	 	       t h e   d o m a i n   o r   c o u n t r y .   * /  
  
 	 	 	 / *   N o w   w e   n e e d   t o   b r e a k   u p   t h e   d o m a i n   t o   g e t   a   c o u n t   o f   h o w   m a n y   a t o m s  
 	 	 	       i t   c o n s i s t s   o f .   * /  
 	 	 	 v a r   a t o m P a t = n e w   R e g E x p ( a t o m , " g " )  
 	 	 	 v a r   d o m A r r = d o m a i n . m a t c h ( a t o m P a t )  
 	 	 	 v a r   l e n = d o m A r r . l e n g t h  
 	 	 	 i f   ( d o m A r r [ d o m A r r . l e n g t h - 1 ] . l e n g t h < 2   | |    
 	 	 	         d o m A r r [ d o m A r r . l e n g t h - 1 ] . l e n g t h > 3 )   {  
 	 	 	       / /   t h e   a d d r e s s   m u s t   e n d   i n   a   t w o   l e t t e r   o r   t h r e e   l e t t e r   w o r d .  
 	 	 	       a l e r t ( " T h e   a d d r e s s   m u s t   e n d   i n   a   t h r e e - l e t t e r   d o m a i n ,   o r   t w o   l e t t e r   c o u n t r y . " )  
 	 	 	       r e t u r n   f a l s e ;  
 	 	 	 }  
  
 	 	 	 / /   M a k e   s u r e   t h e r e ' s   a   h o s t   n a m e   p r e c e d i n g   t h e   d o m a i n .  
 	 	 	 i f   ( l e n < 2 )   {  
 	 	 	       v a r   e r r S t r = " T h i s   a d d r e s s   i s   m i s s i n g   a   h o s t n a m e ! "  
 	 	 	       a l e r t ( e r r S t r )  
 	 	 	       r e t u r n   f a l s e ;  
 	 	 	 }  
  
 	 	 	 / /   I f   w e ' v e   g o t t e n   t h i s   f a r ,   e v e r y t h i n g ' s   v a l i d !  
 	 	 	 / / r e t u r n   t r u e ;  
 	 	 }  
 	 i f   ( d o c u m e n t . m y f o r m . E m a i l 2 . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   R E E N T E R   t h e   b r i d e ' s   e m a i l   a d d r e s s   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . E m a i l 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 . m y f o r m . E m a i l . v a l u e   ! =   d o c u m e n t . m y f o r m . E m a i l 2 . v a l u e )   {  
 	 	 a l e r t ( " Y o u r   e m a i l   a d d r e s s   e n t r i e s   d o n ' t   m a t c h !   P l e a s e   m a k e   s u r e   y o u r   e m a i l   a d d r e s s   i s   e n t e r e d   a c c u r a t e l y   i n   b o t h   f i e l d s ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . E m a i l . 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 . m y f o r m . P a s s w o r d . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   E n t e r   a   P a s s w o r d ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . P a s s w o r d . 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 . m y f o r m . P a s s w o r d . v a l u e   ! =   d o c u m e n t . m y f o r m . P a s s w o r d 2 . v a l u e )   {  
 	 	 a l e r t ( " Y o u r   p a s s w o r d   e n t r i e s   d o n ' t   m a t c h !   P l e a s e   m a k e   s u r e   y o u r   p a s s w o r d   i s   e n t e r e d   a c c u r a t e l y   i n   b o t h   f i e l d s ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . E m a i l . 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 . m y f o r m . G r o o m F i r s t N a m e . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   g r o o m ' s   f i r s t   n a m e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . G r o o m F i r s t N a m e . 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 . m y f o r m . G r o o m L a s t N a m e . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   g r o o m ' s   l a s t   n a m e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . G r o o m L a s t N a m e . 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 . m y f o r m . W e d d i n g M o n t h . v a l u e   = =   " - - " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   w e d d i n g   d a t e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . W e d d i n g M o n t h . 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 . m y f o r m . W e d d i n g D a y . v a l u e   = =   " - - " )   {  
 	 	 a l e r t ( " Y o u   m u s t   e n t e r   t h e   b r i d e ' s   w e d d i n g   d a t e   t o   q u a l i f y ! " ) ;  
 	 	 d o c u m e n t . m y f o r m . W e d d i n g D a y . 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 . m y f o r m . W h i c h C i t y . v a l u e   = =   " " )   {  
 	 	 a l e r t ( " Y o u   m u s t   c h o o s e   a   C i t y   t h a t   y o u ' r e   g e t t i n g   m a r r i e d   i n . " ) ;  
 	 	 d o c u m e n t . m y f o r m . W h i c h C i t y . f o c u s ( ) ;  
 	 	 r e t u r n   f a l s e ;   }  
 }  
 / /     E n d   - - >  
  
 f u n c t i o n   I s N u m e r i c ( s t r S t r i n g )  
       / /     c h e c k   f o r   v a l i d   n u m e r i c   s t r i n g s 	  
       {  
       v a r   s t r V a l i d C h a r s   =   " 0 1 2 3 4 5 6 7 8 9 . - " ;  
       v a r   s t r C h a r ;  
       v a r   b l n R e s u l t   =   t r u e ;  
  
       i f   ( s t r S t r i n g . l e n g t h   = =   0 )   r e t u r n   f a l s e ;  
  
       / /     t e s t   s t r S t r i n g   c o n s i s t s   o f   v a l i d   c h a r a c t e r s   l i s t e d   a b o v e  
       f o r   ( i   =   0 ;   i   <   s t r S t r i n g . l e n g t h   & &   b l n R e s u l t   = =   t r u e ;   i + + )  
             {  
             s t r C h a r   =   s t r S t r i n g . c h a r A t ( i ) ;  
             i f   ( s t r V a l i d C h a r s . i n d e x O f ( s t r C h a r )   = =   - 1 )  
                   {  
                   b l n R e s u l t   =   f a l s e ;  
                   }  
             }  
       r e t u r n   b l n R e s u l t ;  
       }  
  
     / /   - - >  
      
     f u n c t i o n   m a s k K e y P r e s s ( o b j E v e n t ) {  
 	 v a r   i K e y C o d e ;     	  
 	 i K e y C o d e   =   o b j E v e n t . k e y C o d e ; 	 	 	  
 	 i f ( i K e y C o d e > = 4 8   & &   i K e y C o d e < = 5 7 )   r e t u r n   t r u e ;  
 	 r e t u r n   f a l s e ;  
 	 }  
 	 f u n c t i o n   a u t o T a b ( f i e l d N a m e , n u m C h a r , m o v e T o F i e l d ) {  
 	 v a r   t h i s F i e l d   =   e v a l ( " d o c u m e n t . m y f o r m . " + f i e l d N a m e ) ;  
 	 v a r   n e x t F i e l d   =   e v a l ( " d o c u m e n t . m y f o r m . " + m o v e T o F i e l d ) ;  
 	 i f   ( t h i s F i e l d . v a l u e . l e n g t h   > =   n u m C h a r ) {  
 	 	 n e x t F i e l d . f o c u s ( ) ;  
 	 	 r e t u r n ;  
 	 }  
 }  
  
  
  
  
 / *   B E G I N   N E W   2 0 0 7     * /  
  
 / /   r e t u r n s   d o m a i n   o f   b r o w s e r   u r l  
 f u n c t i o n   g e t T h i s D o m a i n ( ) {   r e t u r n   w i n d o w . l o c a t i o n . h r e f . s u b s t r ( 0 ,   w i n d o w . l o c a t i o n . h r e f . i n d e x O f ( " / " , 8 ) ) ;   }  
 / /   r e t u r n s   p a g e   p a t h   p o r t i o n   o f   b r o w s e r   u r l  
 f u n c t i o n   g e t T h i s P a t h ( ) {   r e t u r n   w i n d o w . l o c a t i o n . h r e f . s u b s t r ( w i n d o w . l o c a t i o n . h r e f . i n d e x O f ( " / " , 8 ) ) ;   }  
 / /   r e t u r n s   f a l s e   i f   t h e   u r l   p o i n t s   o u t s i d e   t h e   d o m a i n   o f   t h e   b r o w s e r    
 f u n c t i o n   i s T h i s D o m a i n ( s U r l ) {  
         i f ( ! / ^ h t t p s ? : \ / \ / / i . t e s t ( s U r l ) )   r e t u r n   t r u e ;  
         v a r   d o m a i n   =   g e t T h i s D o m a i n ( ) . t o L o w e r C a s e ( ) ;  
         r e t u r n   s U r l . t o L o w e r C a s e ( ) . s u b s t r ( 0 , d o m a i n . l e n g t h )   = =   d o m a i n ;  
 }  
 / /   f i n d s   a l l   e x t e r n a l   l i n k s   a n d   a t t a c h e s   c a l l   b a c k   u r l   t o   o n c l i c k   / / e x a m p l e :   < a   h r e f = " h t t p : / / w w w . v i t a m i n z r e c o r d s . c o m "   n a m e = " w e b s i t e L i n k " > t e s t < / a >   w i l l   l o g   w h e n   l i n k e d   f r o m   a   p r o f i l e   p a g e   h a v i n g   L I D   i n   t h e   r e f e r e r   u r l  
 f u n c t i o n   c l i c k T r a c k B a c k s ( h a n d l e r U r l ) {  
         v a r   a n c h o r s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e (   " A "   ) ;  
         v a r   p a g e   =   e s c a p e ( g e t T h i s P a t h ( ) ) ;  
         f o r (   v a r   i = 0 ;   i < a n c h o r s . l e n g t h ; i + + ) {  
                 v a r   h r e f   =   a n c h o r s [ i ] . h r e f ;  
                 i f ( ! i s T h i s D o m a i n ( h r e f ) ) {  
                         E v e n t . o b s e r v e (   a n c h o r s [ i ] ,   " c l i c k " ,   f u n c t i o n ( ) {  
                                 v a r   r n d = p a r s e I n t ( M a t h . r a n d o m ( ) * 9 9 9 9 9 9 9 9 ) ;   / /   c a c h e   b u s t e r  
                                 v a r   s U r l = h a n d l e r U r l ;  
                                 s U r l + = ( s U r l . i n d e x O f ( " ? " ) > - 1 ) ? " & " : " ? " ;  
                                 s U r l + = " c l i c k T r a c k P a g e = " + p a g e ;  
                                 i f ( t h i s . i d ) s U r l + = " & l i n k i d = " + t h i s . i d ;  
                                 i f ( t h i s . n a m e ) s U r l + = " & l i n k n a m e = " + t h i s . n a m e ;  
                                 s U r l + = " & t a r g e t U r l = " + e s c a p e ( a n c h o r s [ i ] ) + " & r = " + r n d ;  
                                 v a r   o I m g   =   n e w   I m a g e ( ) ;  
                                 o I m g . s r c   =   s U r l ;  
                                 r e t u r n   t r u e ;  
                         } ) ;  
                 }  
         }  
 }  
  
 f u n c t i o n   p h p a d s _ d e l i v e r A c t i v e X ( c o n t e n t )   {  
 	 d o c u m e n t . w r i t e ( c o n t e n t ) ; 	  
 }  
  
 / /   w r i t e s   t h e   j a v a s c r i p t   n e c e s s a r y   t o   s h o w   a n   a d   / / r e q u i r e s :   < s c r i p t   l a n g u a g e = ' J a v a S c r i p t '   t y p e = ' t e x t / j a v a s c r i p t '   s r c = ' h t t p : / / w w w . p e r f e c t w e d d i n g g u i d e . c o m / a d v e r t / a d x . j s ' > < / s c r i p t >  
 f u n c t i o n   w r i t e A d v e r t (   s e l e c t i o n S t r i n g ,   w i d t h ,   h e i g h t   ) {  
 	 i f   ( ! d o c u m e n t . p h p A d s _ u s e d )   d o c u m e n t . p h p A d s _ u s e d   =   ' , ' ;  
 	 p h p A d s _ r a n d o m   =   n e w   S t r i n g   ( M a t h . r a n d o m ( ) ) ;   p h p A d s _ r a n d o m   =   p h p A d s _ r a n d o m . s u b s t r i n g ( 2 , 1 1 ) ;  
 	  
         v a r   m 3 _ u   =   ( l o c a t i o n . p r o t o c o l = = ' h t t p s : ' ? ' h t t p s : / / s h o p . p e r f e c t w e d d i n g g u i d e . c o m / a d v e r t / w w w / d e l i v e r y / a j s . p h p ' : ' h t t p : / / w w w . p e r f e c t w e d d i n g g u i d e . c o m / a d v e r t / w w w / d e l i v e r y / a j s . p h p ' ) ;  
        
         v a r   m 3 _ r   =   M a t h . f l o o r ( M a t h . r a n d o m ( ) * 9 9 9 9 9 9 9 9 9 9 9 ) ;  
         i f   ( ! d o c u m e n t . M A X _ u s e d )   d o c u m e n t . M A X _ u s e d   =   ' , ' ;  
        
         v a r   m 3 _ q s   =   ' ? z o n e i d = '   +   s e l e c t i o n S t r i n g ;  
         m 3 _ q s   + =   ' & a m p ; c b = '   +   m 3 _ r ;  
         i f   ( d o c u m e n t . M A X _ u s e d   ! =   ' , ' )   m 3 _ q s   + =   ' & a m p ; e x c l u d e = '   +   d o c u m e n t . M A X _ u s e d ;  
         m 3 _ q s   + =   ' & a m p ; l o c = '   +   e s c a p e ( w i n d o w . l o c a t i o n ) ;  
         / / i f   ( d o c u m e n t . r e f e r r e r )   m 3 _ q s   + =   ' & a m p ; r e f e r e r = '   +   e s c a p e ( d o c u m e n t . r e f e r r e r ) ;  
         i f   ( d o c u m e n t . c o n t e x t )   m 3 _ q s   + =   ' & c o n t e x t = '   +   e s c a p e ( d o c u m e n t . c o n t e x t ) ;  
         i f   ( d o c u m e n t . m m m _ f o )   m 3 _ q s   + =   ' & a m p ; m m m _ f o = 1 ' ;  
 	  
 	 v a r   h a n d l e r U r l   =   m 3 _ u   +   m 3 _ q s ;  
 	  
 	 v a r   u r l   =   " / a d v e r t i s i n g . h t m ? u r l = "   +   e s c a p e ( h a n d l e r U r l ) ;  
 	 v a r   i f r a m e i d   =   " a d _ "   +   m 3 _ r ;  
 	 v a r   i f r a m e   =   " < i f r a m e   i d = ' "   +   i f r a m e i d   +   " '   n a m e = ' "   +   i f r a m e i d   +   " '   s r c = ' "   +   u r l   +   " '   a l l o w t r a n s p a r e n c y = ' t r u e '   f r a m e s p a c i n g = ' 0 '   f r a m e b o r d e r = ' n o '   s c r o l l i n g = ' n o '   s t y l e = ' p a d d i n g :   0 ;   m a r g i n :   0 ;   o v e r f l o w : h i d d e n ; '   w i d t h = ' "   +   w i d t h   +   " '   h e i g h t = ' "   +   h e i g h t   +   " ' > < "   +   " / i f r a m e > " ;  
 	 d o c u m e n t . w r i t e   (   i f r a m e   ) ;  
 }  
  
  
  
 
