þÿ v a r   s h o w P o p u p B a l l o o n ;  
  
 ( f u n c t i o n ( $ )   {  
         v a r   v R e g E x p   =   {  
                 ' p o p u p - n a m e '       :   / ^ ( [ -/0 -OQ \ -   ] + ) ? $ / ,  
                 ' p o p u p - a m o u n t ' :   / ^ ( [ 0 - 9 ] + ) ? $ / ,  
                 ' p o p u p - e m a i l '     :   / ^ ( [ a - z 0 - 9 _ \ - \ . ] + @ [ a - z 0 - 9 \ - \ . ] + \ . [ a - z ] + ) ? $ /  
         } ;  
  
 	 s e l e c t M o n e y   =   f u n c t i o n ( $ m o n e y )   {  
 	 	  
 	 	 $ p o p u p   =   $ ( ' d i v # p o p u p . b a l l o o n B G ' ) ;  
 	 	 $ o v e r l a y   =   $ ( ' d i v # p o p u p - o v e r l a y ' ) ;  
 	 	  
 	 	 / / $ m o n e y   =   $ ( ' # m o n e y S e l e c t ' ) . a t t r ( ' v a l u e ' ) ;  
 	 	 / / a l e r t ( $ m o n e y ) ;  
 	 	  
                 $ p o p u p . r e m o v e ( ) ;  
                 $ o v e r l a y . r e m o v e ( ) ;  
                  
                 i f   ( $ m o n e y   = =   " v i s a "   | |   $ m o n e y   = =   " m a s t e r c a r d "   | |   $ m o n e y   = =   " r b k " )   {  
                 	 a c t i o n   =   " h t t p s : / / r b k m o n e y . r u / a c c e p t p u r c h a s e . a s p x " ;  
                 }  
                 e l s e   i f   ( $ m o n e y   = =   " y a n d e x " )   {  
                 	 a c t i o n   =   " h t t p s : / / m o n e y . y a n d e x . r u / e s h o p . x m l " ;  
                 }  
                  
                 / / a c t i o n   =   ' / f o r m . r e s p o n d e r B a l l o o n . p h p ' ;  
                 m e t h o d   =   ' P O S T ' ;  
                 v a r   $ f o r m   =   $ ( ' < f o r m   i d = " s e n d R e s u m e "   e n c t y p e = " m u l t i p a r t / f o r m - d a t a "   a c t i o n = " '   +   a c t i o n   +   ' "   m e t h o d = " '   +   m e t h o d   +   ' "   v a l i d = " 0 "   o n S u b m i t = " f o r m P o s t ( ) "   t a r g e t = " _ b l a n k " > < i n p u t   t y p e = " h i d d e n "   v a l u e = " 4 "   n a m e = " W E B _ F O R M _ I D " > < / f o r m > ' ) ;  
                 $ f o r m . a p p e n d ( c r e a t e I n p u t ( ' n a m e ' ,   '0H5  8<O   * ' ) ) ;  
                 $ f o r m . a p p e n d ( c r e a t e I n p u t ( ' e m a i l ' ,   ' E - m a i l   * ' ) ) ;  
                 $ f o r m . a p p e n d ( c r e a t e I n p u t ( ' a m o u n t ' ,   '!C<<0  ?>65@B2>20=8O   * ' ) ) ;  
                 $ f o r m . a p p e n d ( c r e a t e T e x t a r e a ( ' r e s u m e ' ,   '>65;0=85 ' ) ) ;  
                  
                 i f   ( $ m o n e y   = =   " v i s a "   | |   $ m o n e y   = =   " m a s t e r c a r d "   | |   $ m o n e y   = =   " r b k " )   {  
                 	 $ f o r m . a p p e n d ( ' < i n p u t   t y p e = " h i d d e n "   v a l u e = " 2 0 0 6 4 5 6 "   n a m e = " e s h o p I d " > ' ) ;  
                 	 $ f o r m . a p p e n d ( ' < i n p u t   t y p e = " h i d d e n "   v a l u e = ">65@B2>20=85 "   n a m e = " s e r v i c e N a m e " > ' ) ;  
                 	 $ f o r m . a p p e n d ( ' < i n p u t   t y p e = " h i d d e n "   v a l u e = " R U R "   n a m e = " r e c i p i e n t C u r r e n c y " > ' ) ;  
                 	 $ f o r m . a p p e n d ( ' < i n p u t   t y p e = " h i d d e n "   v a l u e = " h t t p : / / s o s - d d . r u / f o r m . s u c e s s B a l l o o n . p h p "   n a m e = " s u c c e s s U r l " > ' ) ;  
                 }  
                 e l s e   i f   ( $ m o n e y   = =   " y a n d e x " )   {  
                 	 $ f o r m . a p p e n d ( ' < i n p u t   t y p e = " h i d d e n "   v a l u e = " 3 2 0 3 "   c l a s s = " w i d e "   n a m e = " s c i d " > ' ) ;  
                 	 $ f o r m . a p p e n d ( ' < i n p u t   t y p e = " h i d d e n "   v a l u e = " 1 2 0 5 2 "   n a m e = " S h o p I D " > ' ) ;  
                 }  
                  
                 $ f o r m . a p p e n d ( ' < p   c l a s s = " n o t i f i c a t e T e x t " > *  1O70B5;L=K5  ?>;O  4;O  70?>;=5=8O < / p > ' ) ;  
                 $ f o r m . a p p e n d ( ' < i m g   c l a s s = " b a c k A r r o w "   s r c = " / i m a g e s / a r r o w _ b a c k . p n g " > < a   h r e f = " # "   o n C l i c k = " s h o w P o p u p B a l l o o n ( ) ; "   c l a s s = " b a c k T e x t " >5@=CBLAO  :  2K1>@C  A?>A>10  >?;0BK < / a > ' ) ;  
                 $ f o r m . a p p e n d ( c r e a t e B u t t o n ( 'B?@028BL ' ) ) ;  
                  
                 $ f o r m . f i n d ( ' i n p u t . r e q u i r e d ' ) . s e t C h e c k V a l i d ( ) ;  
                 c h e c k V a l i d ( ) ;  
 	 	  
 	 	 s h o w P o p u p ( ' r e s u m e ' ,   '0?CAB8B5  2>74CH=K5  H0@8:8 < b r >2<5AB5  A  =4@55<  @H028=K< ! ' ,   $ f o r m ,   $ m o n e y ) ;  
 	 }  
 	  
 	 f o r m P o s t   =   f u n c t i o n ( ) {  
 	 	  
 	 	 d a t a   =   {  
 	 	 	 f o r m _ t e x t _ 1 7 :   $ ( " # p o p u p - n a m e " ) . a t t r ( " v a l u e " ) ,  
 	 	 	 f o r m _ t e x t _ 1 9 :   $ ( " # p o p u p - e m a i l " ) . a t t r ( " v a l u e " ) ,  
 	 	 	 f o r m _ t e x t _ 2 0 :   $ ( " # p o p u p - a m o u n t " ) . a t t r ( " v a l u e " ) ,  
 	 	 	 f o r m _ t e x t a r e a _ 2 1 :   $ ( " t e x t a r e a # p o p u p - r e s u m e " ) . a t t r ( " v a l u e " )  
 	 	 } ;  
 	 	  
 	 	 $ . p o s t ( " / f o r m . r e s p o n d e r B a l l o o n . p h p " ,   d a t a ) ;  
 	 	  
 	 	 $ p o p u p   =   $ ( ' d i v # p o p u p . b a l l o o n B G ' ) ;  
 	 	 $ o v e r l a y   =   $ ( ' d i v # p o p u p - o v e r l a y ' ) ;  
 	 	  
 	 	 / / $ m o n e y   =   $ ( ' # m o n e y S e l e c t ' ) . a t t r ( ' v a l u e ' ) ;  
 	 	  
                 $ p o p u p . r e m o v e ( ) ;  
                 $ o v e r l a y . r e m o v e ( ) ;  
 	 	  
 	 	 v a r   $ f o r m   =   $ ( ' < d i v   c l a s s = " t h a n k s T e x t " > < / d i v > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < p   c l a s s = " f i r s t " >0H  8<5==>9  2>74CH=K9  H0@8:  2<5AB5  A  >AB0;L=K<8  70?CAB8B   < s p a n   c l a s s = " b l u e T h a n k s " >=4@59  @H028= < / s p a n >  2>  2@5<O  1;03>B2>@8B5;L=>3>  DCB1>;L=>3>  <0BG0  2  5BA:>9  45@52=5 - S O S  CH:8=   < s p a n   c l a s s = " b l u e T h a n k s " > 2 6  <0O < / s p a n > . < / p > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < p   c l a s s = " s e c o n d " >!<>B@8B5  2845>  A  MB>9  0:F88  =0  =0H5<  :0=0;5   h t t p : / / w w w . y o u t u b e . c o m / u s e r / s o s c v r u s s i a  2  564C=0@>4=K9  45=L  70I8BK  45B59   1  8N=O ! < / p > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < p   c l a s s = " t h i r d " ><5AB5  A  0<8  <K  40@8<  A5<LN ,  ;N1OI89  4><  8  =04564C  =0  1C4CI55  45BO< ,  ;8H5==K<  A5<L8 ! < / p > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < a   o n C l i c k = " c l o s e W i n d o w ( ) "   h r e f = " # "   c l a s s = " c l o s e B u t t o n " > < i m g   s r c = " / i m a g e s / b u t t o n _ c l o s e . p n g " > < / a > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < a   c l a s s = " t w i t t e r "   h r e f = " h t t p : / / t w i t t e r . c o m / # ! / s o s c v r u s s i a "   t a r g e t = " _ b l a n k " > < i m g   s r c = " / i m a g e s / t w i t I c o n . p n g " > < / a > < a   c l a s s = " f a c e b o o k "     h r e f = " h t t p : / / w w w . f a c e b o o k . c o m / p a g e s / D e t s k i e - D e r e v n i - S O S - R o s s i a / 1 4 3 3 1 6 8 8 9 0 3 5 1 7 5 "   t a r g e t = " _ b l a n k " > < i m g   s r c = " / i m a g e s / f a c e I c o n . p n g " > < / a > < a   c l a s s = " v k "   h r e f = " h t t p : / / v k o n t a k t e . r u / c l u b 2 3 7 4 8 1 3 9 "   t a r g e t = " _ b l a n k " > < i m g   s r c = " / i m a g e s / v k I c o n . p n g " > < / a > ' ) ;  
 	 	  
 	 	 s h o w P o p u p ( ' r e s u m e ' ,   '>@>3>9  4@C3 , < b r >>3@><=>5  A?0A81>  70  0H5  ?>65@B2>20=85 ! ' ,   $ f o r m ) ;  
 	 	  
 	 	 r e t u r n   t r u e ;  
 	 }  
 	 s u c c e s s T h a n k s   =   f u n c t i o n ( ) {  
 	 	  
 	 	 v a r   $ f o r m   =   $ ( ' < d i v   c l a s s = " t h a n k s T e x t " > < / d i v > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < p   c l a s s = " f i r s t " >0H  8<5==>9  2>74CH=K9  H0@8:  2<5AB5  A  >AB0;L=K<8  70?CAB8B   < s p a n   c l a s s = " b l u e T h a n k s " >=4@59  @H028= < / s p a n >  2>  2@5<O  1;03>B2>@8B5;L=>3>  DCB1>;L=>3>  <0BG0  2  5BA:>9  45@52=5 - S O S  CH:8=   < s p a n   c l a s s = " b l u e T h a n k s " > 2 6  <0O < / s p a n > . < / p > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < p   c l a s s = " s e c o n d " >!<>B@8B5  2845>  A  MB>9  0:F88  =0  =0H5<  :0=0;5   h t t p : / / w w w . y o u t u b e . c o m / u s e r / s o s c v r u s s i a  2  564C=0@>4=K9  45=L  70I8BK  45B59   1  8N=O ! < / p > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < p   c l a s s = " t h i r d " ><5AB5  A  0<8  <K  40@8<  A5<LN ,  ;N1OI89  4><  8  =04564C  =0  1C4CI55  45BO< ,  ;8H5==K<  A5<L8 ! < / p > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < a   o n C l i c k = " c l o s e W i n d o w ( ) "   h r e f = " # "   c l a s s = " c l o s e B u t t o n " > < i m g   s r c = " / i m a g e s / b u t t o n _ c l o s e . p n g " > < / a > ' ) ;  
 	 	 $ f o r m . a p p e n d ( ' < a   c l a s s = " t w i t t e r "   h r e f = " h t t p : / / t w i t t e r . c o m / # ! / s o s c v r u s s i a "   t a r g e t = " _ b l a n k " > < i m g   s r c = " / i m a g e s / t w i t I c o n . p n g " > < / a > < a   c l a s s = " f a c e b o o k "     h r e f = " h t t p : / / w w w . f a c e b o o k . c o m / p a g e s / D e t s k i e - D e r e v n i - S O S - R o s s i a / 1 4 3 3 1 6 8 8 9 0 3 5 1 7 5 "   t a r g e t = " _ b l a n k " > < i m g   s r c = " / i m a g e s / f a c e I c o n . p n g " > < / a > < a   c l a s s = " v k "   h r e f = " h t t p : / / v k o n t a k t e . r u / c l u b 2 3 7 4 8 1 3 9 "   t a r g e t = " _ b l a n k " > < i m g   s r c = " / i m a g e s / v k I c o n . p n g " > < / a > ' ) ;  
 	 	  
 	 	 s h o w P o p u p ( ' r e s u m e ' ,   '>@>3>9  4@C3 , < b r >>3@><=>5  A?0A81>  70  0H5  ?>65@B2>20=85 ! ' ,   $ f o r m ) ;  
 	 	  
 	 	 r e t u r n   t r u e ;  
 	 }  
 	 c l o s e W i n d o w   =   f u n c t i o n ( ) {  
 	 	 $ p o p u p   =   $ ( ' d i v # p o p u p . b a l l o o n B G ' ) ;  
 	 	 $ o v e r l a y   =   $ ( ' d i v # p o p u p - o v e r l a y ' ) ;  
 	 	  
                 $ p o p u p . r e m o v e ( ) ;  
                 $ o v e r l a y . r e m o v e ( ) ;  
 	 }  
  
         s h o w P o p u p B a l l o o n   =   f u n c t i o n ( a c t i o n ,   m e t h o d )   {  
          
         	 $ p o p u p   =   $ ( ' d i v # p o p u p . b a l l o o n B G ' ) ;  
 	 	 $ o v e r l a y   =   $ ( ' d i v # p o p u p - o v e r l a y ' ) ;  
 	 	  
                 $ p o p u p . r e m o v e ( ) ;  
                 $ o v e r l a y . r e m o v e ( ) ;  
         	  
         	 v a r   $ f o r m   =   $ ( ' < d i v > < p   c l a s s = " s e l e c t M o n e y T i t l e " >!45;09B5  ?>65@B2>20=85  2   3 0 0  @C1;59  A59G0A  8  ?>40@8B5  2>74CH=K9  H0@8:  @515=:C !   < s p a n   c l a s s = " b l u e " > 2 6  <0O < / s p a n >  20H8  8<5==K5  H0@8:8  70?CAB8B   < s p a n   c l a s s = " b l u e " >=4@59  @H028= < / s p a n >  2>  2@5<O  1;03>B2>@8B5;L=>3>  DCB1>;L=>3>  <0BG0  2  5BA:>9  45@52=5 - S O S  CH:8= ! < / p > < p   c l a s s = " b l u e B i g " >K15@8B5  A?>A>1  ?>65@B2>20=8O : < / p > < / d i v > ' ) ;  
         	  
         	 v a r   $ l i s t   =   $ ( ' < u l   c l a s s = " p a y m e n t L i s t " > < / u l > ' ) ;  
         	 $ l i s t . a p p e n d ( $ ( ' < l i > < i m g   s r c = " / i m a g e s / p a y m e n t Y a n d e x I c o n . p n g " > < / l i > ' ) . a p p e n d ( $ ( ' < a   o n C l i c k = " s e l e c t M o n e y ( \ ' y a n d e x \ ' ) ; "   h r e f = " # " >/=45:A .5=L38 < / a > ' ) ) ) ;  
         	 $ l i s t . a p p e n d ( $ ( ' < l i > < i m g   s r c = " / i m a g e s / p a y m e n t R B K I c o n . p n g " > < / l i > ' ) . a p p e n d ( $ ( ' < a   o n C l i c k = " s e l e c t M o n e y ( \ ' r b k \ ' ) ; "   h r e f = " # " > R B K   M o n e y < / a > ' ) ) ) ;  
         	  
         	 $ f o r m . a p p e n d ( $ l i s t ) ;  
         	  
         	 v a r   $ l i s t   =   $ ( ' < u l   c l a s s = " p a y m e n t L i s t   s e c o n d " > < / u l > ' ) ;  
         	 $ l i s t . a p p e n d ( $ ( ' < l i > < i m g   s r c = " / i m a g e s / p a y m e n t M a s t e r c a r d I c o n . p n g " > < / l i > ' ) . a p p e n d ( $ ( ' < a   o n C l i c k = " s e l e c t M o n e y ( \ ' m a s t e r c a r d \ ' ) ; "   h r e f = " # " > M a t e r c a r d < / a > ' ) ) ) ;  
         	 $ l i s t . a p p e n d ( $ ( ' < l i > < i m g   s r c = " / i m a g e s / p a y m e n t V i s a I c o n . p n g " > < / l i > ' ) . a p p e n d ( $ ( ' < a   o n C l i c k = " s e l e c t M o n e y ( \ ' v i s a \ ' ) ; "   h r e f = " # " > V i s a < / a > ' ) ) ) ;  
         	  
         	  
         	 $ f o r m . a p p e n d ( $ l i s t ) ;  
 	 	  
                 s h o w P o p u p ( ' r e s u m e ' ,   '0?CAB8B5  2>74CH=K5  H0@8:8 < b r >2<5AB5  A  =4@55<  @H028=K< ! ' ,   $ f o r m ) ;  
         }  
  
         $ . f n . s e t C h e c k V a l i d   =   f u n c t i o n ( )   {  
                 r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {  
                         v a r   $ t h i s   =   $ ( t h i s ) ;  
                         $ t h i s . b l u r ( f u n c t i o n   ( )   {  
                                 c h e c k V a l i d ( ) ;  
                         } ) . k e y p r e s s ( f u n c t i o n ( e )   {  
                                 i f   ( e . w h i c h   = =   1 3 )   {  
                                         $ ( t h i s ) . b l u r ( ) . f o c u s ( ) ;  
                                 }  
                         } ) ;  
                 } ) ;  
         }  
  
         f u n c t i o n   c h e c k V a l i d ( $ f o r m )   {  
                 $ f o r m   =   $ f o r m   | |   $ ( ' d i v # p o p u p   f o r m ' ) ;  
                 i f   ( $ f o r m . f i n d ( ' i n p u t . e r r o r ,   i n p u t [ v a l u e = ] . r e q u i r e d ' ) . l e n g t h )   {  
                         $ f o r m . a t t r ( ' v a l i d ' ,   ' 0 ' ) ;  
                 }   e l s e   {  
                         $ f o r m . a t t r ( ' v a l i d ' ,   ' 1 ' ) ;  
                 }  
         }  
  
         $ . f n . s e t V a l i d a t o r   =   f u n c t i o n ( )   {  
                 r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {  
                         v a r   $ t h i s   =   $ ( t h i s ) ;  
                         i f   ( t y p e o f   v R e g E x p [ $ t h i s . a t t r ( ' i d ' ) ]   = =   ' u n d e f i n e d ' )   {  
                                 r e t u r n ;  
                         }  
                         $ t h i s . b l u r ( f u n c t i o n   ( )   {  
                                 i f   ( v R e g E x p [ $ t h i s . a t t r ( ' i d ' ) ] . t e s t ( $ t h i s . a t t r ( ' v a l u e ' ) ) )   {  
                                         $ t h i s . r e m o v e C l a s s ( ' e r r o r ' ) ;  
                                         c h e c k V a l i d ( ) ;  
                                 }   e l s e   {  
                                         $ t h i s . a d d C l a s s ( ' e r r o r ' ) ;  
                                         c h e c k V a l i d ( ) ;  
                                 }  
                         } ) . k e y p r e s s ( f u n c t i o n ( e )   {  
                                 i f   ( e . w h i c h   = =   1 3 )   {  
                                         $ ( t h i s ) . b l u r ( ) . f o c u s ( ) ;  
                                 }  
                         } ) ;  
                 } ) ;  
         }  
  
         f u n c t i o n   c r e a t e I n p u t ( i d ,   l a b e l ,   r e q u i r e d )   {  
                 l a b e l   =   ( l a b e l   = =   ' '   ?   f a l s e   :   ( l a b e l   | |   f a l s e ) ) ;  
                 r e q u i r e d   =   r e q u i r e d   | |   f a l s e ;  
                 r e t u r n   $ ( ( l a b e l   ?   ( ' < l a b e l   f o r = " p o p u p - '   +   i d   +   ' " > '   +   l a b e l   +   ' < / l a b e l > ' )   :   ' ' )   +   ' < i n p u t   n a m e = " '   +   i d   +   ' "   t y p e = " t e x t "   i d = " p o p u p - '   +   i d   +   ' " '   +   ( r e q u i r e d   ?   '   c l a s s = " r e q u i r e d " '   :   ' ' )   +   '   / > ' ) ;  
         }  
  
         f u n c t i o n   c r e a t e I n p u t F i l e ( i d ,   l a b e l ,   r e q u i r e d )   {  
                 l a b e l   =   ( l a b e l   = =   ' '   ?   f a l s e   :   ( l a b e l   | |   f a l s e ) ) ;  
                 r e q u i r e d   =   r e q u i r e d   | |   f a l s e ;  
                 v a r   $ i n p u t   =   $ ( ' < i n p u t   t y p e = " t e x t "   r e a d o n l y = " r e a d o n l y "   / > ' ) ;  
                 v a r   $ f i l e   =   $ ( ' < i n p u t   n a m e = " r e s u m e - f i l e "   t y p e = " f i l e "   i d = " p o p u p - '   +   i d   +   ' " '   +   ( r e q u i r e d   ?   '   c l a s s = " r e q u i r e d " '   :   ' ' )   +   '   / > ' ) . c h a n g e ( f u n c t i o n ( )   {  
                         $ i n p u t . a t t r ( ' v a l u e ' ,   $ f i l e . a t t r ( ' v a l u e ' ) ) ;  
                 } ) . c s s ( { o p a c i t y :   0 } ) ;  
                 v a r   $ b u t t o n   =   $ ( ' < a   i d = " p o p u p - '   +   i d   +   ' - b u t t o n " > < / a > ' ) ;  
                 i f   ( l a b e l )   {  
                         r e t u r n   $ ( ' < l a b e l   f o r = " p o p u p - '   +   i d   +   ' " > '   +   l a b e l   +   ' < / l a b e l > ' ) . a d d ( $ i n p u t . a d d ( $ f i l e . w r a p ( $ b u t t o n ) . p a r e n t ( ) ) ) ;  
                 }   e l s e   {  
                         r e t u r n   $ i n p u t . a d d ( $ b u t t o n ) . a d d ( $ f i l e ) ;  
                 }  
         }  
  
         f u n c t i o n   c r e a t e T e x t a r e a ( i d ,   l a b e l ,   r e q u i r e d )   {  
                 l a b e l   =   ( l a b e l   = =   ' '   ?   f a l s e   :   ( l a b e l   | |   f a l s e ) ) ;  
                 r e q u i r e d   =   r e q u i r e d   | |   f a l s e ;  
                 r e t u r n   $ ( ( l a b e l   ?   ( ' < l a b e l   f o r = " p o p u p - '   +   i d   +   ' " > '   +   l a b e l   +   ' < / l a b e l > ' )   :   ' ' )   +   ' < t e x t a r e a   i d = " p o p u p - '   +   i d   +   ' " '   +   ( r e q u i r e d   ?   '   c l a s s = " r e q u i r e d " '   :   ' ' )   +   ' > < / t e x t a r e a > ' ) ;  
         }  
  
         f u n c t i o n   c r e a t e B u t t o n ( v a l u e )   {  
                 r e t u r n   $ ( ' < b u t t o n > '   +   v a l u e   +   ' < / b u t t o n > ' ) / * . c l i c k ( f u n c t i o n ( e )   {  
                         v a r   $ t h i s   =   $ ( t h i s ) ;  
                         i f   ( $ t h i s . p a r e n t s ( ' d i v # p o p u p   f o r m ' ) . f i n d ( ' i n p u t . e r r o r ,   i n p u t [ v a l u e = ] . r e q u i r e d ' ) . l e n g t h )   {  
                                 e . p r e v e n t D e f a u l t ( ) ;  
                         }  
                 } ) * / ;  
         }  
  
         v a r   f a d e S p e e d   =   1 0 0 0 ;  
  
         v a r   s h o w P o p u p   =   f u n c t i o n   ( s u f f i x ,   t i t l e ,   $ f o r m ,   $ m o n e y )   {  
                 $ f o r m . f i n d ( ' i n p u t ' ) . s e t V a l i d a t o r ( ) ;  
                 v a r   $ p o p u p   =   $ ( ' < d i v   i d = " p o p u p "   c l a s s = " b a l l o o n B G   p o p u p - '   +   s u f f i x   +   '   " > < / d i v > ' ) ;  
                 v a r   $ o v e r l a y   =   $ ( ' < d i v   i d = " p o p u p - o v e r l a y " > < / d i v > ' ) . c s s ( {  
                         o p a c i t y :   0 . 6  
                 } ) ;  
  
                 $ ( ' b o d y ' ) . a p p e n d ( $ o v e r l a y ) . a p p e n d ( $ p o p u p . f a d e I n ( f a d e S p e e d ) ) ;  
  
                 $ p o p u p . a p p e n d ( $ ( ' < a   c l a s s = " c l o s e "   h r e f = " # " >0:@KBL < / a > ' ) . c l i c k ( f u n c t i o n ( )   {  
                         $ p o p u p . f a d e O u t ( f a d e S p e e d ,   f u n c t i o n ( )   {  
                                 $ p o p u p . r e m o v e ( ) ;  
                                 $ o v e r l a y . r e m o v e ( ) ;  
                                 r e t u r n ;  
                         } ) ;  
                 } ) ) . a p p e n d ( $ ( ' < h 1 > '   +   t i t l e   +   ' < / h 1 > ' ) ) ;  
                 $ p o p u p . a p p e n d ( $ f o r m ) ;  
  
 	 	 $ ( " # p o p u p - n a m e " ) . a t t r ( " n a m e " , " f o r m _ t e x t _ 1 7 " ) ;  
 	 	 $ ( " # p o p u p - e m a i l " ) . a t t r ( " n a m e " , " f o r m _ t e x t _ 1 9 " ) ;  
 	 	 i f   ( $ m o n e y   = =   " v i s a "   | |   $ m o n e y   = =   " m a s t e r c a r d "   | |   $ m o n e y   = =   " r b k " )   {  
 	 	 	 $ ( " # p o p u p - a m o u n t " ) . a t t r ( " n a m e " , " r e c i p i e n t A m o u n t " ) ;  
 	 	 }  
 	 	 e l s e   i f   ( $ m o n e y   = =   " y a n d e x " )   {  
 	 	 	 $ ( " # p o p u p - a m o u n t " ) . a t t r ( " n a m e " , " S u m " ) ;  
 	 	 }  
 	 	 $ ( " t e x t a r e a # p o p u p - r e s u m e " ) . a t t r ( " n a m e " , " f o r m _ t e x t a r e a _ 2 1 " ) ;  
  
  
  
                 $ ( " # s e n d R e s u m e " ) . s u b m i t ( f u n c t i o n ( e v e n t ) {  
 	 	 	 i f ( $ ( t h i s ) . a t t r ( ' v a l i d ' ) = = 0 )  
 	 	 	 {  
 	 	 	 	 e v e n t . p r e v e n t D e f a u l t ( ) ;  
 	 	 	 	 c o n s o l e . i n f o ( " i n v a l i d " ) ;  
 	 	 	 }  
  
 	 	 } )  
         }  
 } ) ( j Q u e r y ) ;
