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