ÿþ 
 f u n c t i o n   n o E r r o r ( )   {   r e t u r n   t r u e ;   }  
 w i n d o w . o n e r r o r   =   n o E r r o r ;  
  
  
 f u n c t i o n   G e t I m a g e T e x t ( i d )   {  
         a l e r t ( i d )  
 }  
  
 f u n c t i o n   S e l e c t e d B u t t o n ( i d )   {  
         $ ( " # b u t t o n 1 " ) . r e m o v e C l a s s ( " b u t t o n s - c l i c k - a c t i v e " ) ;  
 }  
  
 f u n c t i o n   N e w C u r s o r V a l u e ( i m g I d ,   i m g U r l )   {  
         v a r   t h e I m a g e   =   n e w   I m a g e ( ) ;  
         t h e I m a g e . s r c   =   i m g U r l ;  
         v a r   w   =   t h e I m a g e . w i d t h ;  
         v a r   h   =   t h e I m a g e . h e i g h t ;  
         i f   ( w   ! =   0   & &   h   ! =   0 )   {  
                 $ ( ' # '   +   i m g I d ) . c s s ( ' c u r s o r ' ,   ' p o i n t e r ' ) ;  
         }  
         e l s e   {  
  
         }  
 }  
  
 f u n c t i o n   Z o o m P a g e ( p a g e U r l ,   i m g U r l ,   n a m e )   {  
         v a r   t h e I m a g e   =   n e w   I m a g e ( ) ;  
         t h e I m a g e . s r c   =   i m g U r l ;  
         v a r   w   =   t h e I m a g e . w i d t h ;  
         v a r   h   =   t h e I m a g e . h e i g h t ;  
         i f   ( w   ! =   0   & &   h   ! =   0 )   {  
                 w i n d o w . o p e n ( i m g U r l ,   ' z o o m ' ,   ' w i d t h = 6 0 0 p x , h e i g h t = 5 0 0 p x , r e s i z a b l e = y e s ,   m e n u b a r = n o ,   t i t l e b a r = n o ,   s c r o l l b a r s = 1 ,   t o o l b a r = n o ,   s t a t u s = n o ,   l o c a t i o n = n o ,   d i r e c t o r i e s = n o ,   t o p = 3 0 0 ,   l e f t = 2 5 0 ' )  
         }  
         e l s e   {  
  
         }  
 }  
  
  
 v a r   d d l V a l i d   =   f a l s e ;  
  
  
 f u n c t i o n   D d l V a l i d a t e ( c l a s s C s s )   {  
         / / a l e r t ( c l a s s C s s ) ;  
         i f   ( ( $ ( ' . '   +   c l a s s C s s ) . t e x t ( ) ) . i n d e x O f ( ' Ñ×è  àÕéÐ' )   ! =   - 1 )   {  
                 $ ( ' . '   +   c l a s s C s s ) . c s s ( ' c o l o r ' ,   ' r e d ' ) ;  
                 r e t u r n   d d l V a l i d   =   f a l s e ;  
         }  
         e l s e   {  
                 $ ( ' . '   +   c l a s s C s s ) . c s s ( ' c o l o r ' ,   ' b l a c k ' ) ;  
                 r e t u r n   d d l V a l i d   =   t r u e ;  
         }  
  
 }  
  
  
  
 v a r   s e n d F o r m   =   f a l s e ;  
  
 f u n c t i o n   C h e c k C a p t c h a ( v a l T x t )  
 {  
     v a r   s e s s i o n C a p t c h a ;  
     v a r   t x t C a p t c h a ;  
  
  
       t x t C a p t c h a   =   $ ( " # " +   v a l T x t ) . v a l ( ) ;  
  
       i f ( t x t C a p t c h a = = " "   | |   t x t C a p t c h a   = =   " Ôâêç  ÞÙÞÙß"   )  
       {  
             $ ( " # " +   v a l T x t ) . c s s ( ' c o l o r ' ,   ' r e d ' ) ;  
             $ ( " # " +   v a l T x t ) . v a l ( " Ôâêç  ÞÙÞÙß" ) ;  
             s e n d F o r m   =   f a l s e ;  
             r e t u r n   f a l s e ;  
       }  
  
  
     v a r   x m l D a t a   =   f f L o a d X M L B r o w s e r ( " < c o n t e n t > g e t   c a p t c h a   s e c u r e   c o d e < / c o n t e n t > " ) ;  
  
       / / O p e n   h t t p   t o   s e n d   d a t a   t o   s e r v e r  
       v a r   h t t p O b   =   G e t H t t p ( x m l D a t a ) ;  
  
       i f ( h t t p O b . s t a t u s = = 2 0 0 )  
       {  
           i f ( h t t p O b . g e t R e s p o n s e H e a d e r ( ' R e t V a l ' ) = = " 0 " )  
                   s e s s i o n C a p t c h a   =   0 ;  
           e l s e  
                   s e s s i o n C a p t c h a   =     h t t p O b . g e t R e s p o n s e H e a d e r ( ' R e t V a l ' ) ;  
                 / / w i n d o w . d o c u m e n t . l o c a t i o n . h r e f = w i n d o w . d o c u m e n t . l o c a t i o n . h r e f ;  
       }  
       e l s e  
       {  
           s e n d F o r m   =   f a l s e ;  
           r e t u r n   f a l s e ;  
       }  
         / / a l e r t ( s e s s i o n C a p t c h a ) ;  
         / / a l e r t ( t x t C a p t c h a ) ;  
  
         i f ( t x t C a p t c h a . t o U p p e r C a s e ( ) = = s e s s i o n C a p t c h a )  
         {  
             $ ( " # " +   v a l T x t ) . c s s ( ' c o l o r ' ,   ' w h i t e ' ) ;  
             s e n d F o r m   =   t r u e ;  
                 r e t u r n   t r u e ;  
         }  
         e l s e  
         {  
             $ ( " # " +   v a l T x t ) . v a l ( " àáÔ  éÕÑ" ) ;  
             $ ( " # " +   v a l T x t ) . c s s ( ' d i r e c t i o n ' ,   ' r t l ' ) ;  
             $ ( " # " +   v a l T x t ) . c s s ( ' c o l o r ' ,   ' r e d ' ) ;  
             s e n d F o r m   =   f a l s e ;  
                 r e t u r n   f a l s e ;  
         }  
  
 }  
  
  
  
   f u n c t i o n   C l e a r F i e l d ( i d )  
   {  
             $ ( " # " +   i d ) . v a l ( " " ) ;  
   }  
  
  
  
  
 v a r   n a m e I s V a l i d   =   f a l s e ;  
 v a r   p h o n e I s V a l i d   =   f a l s e ;  
 v a r   m a i l I s V a l i d   =   f a l s e ;  
 v a r   a r e a I s V a l i d   =   f a l s e ;  
  
 f u n c t i o n   V a l i d a t e A n d S e n d ( )   {  
  
         s e t T i m e o u t ( f u n c t i o n ( )   {   v a l i d a t e ( ' s e n d F o r m ' ,   ' N a m e ' ,   ' N a m e ' ,   ' s i d e B a r ' ) ;   } ,   0 ) ;  
         s e t T i m e o u t ( f u n c t i o n ( )   {   v a l i d a t e ( ' s e n d F o r m ' ,   ' E m a i l ' ,   ' E m a i l ' ,   ' s i d e B a r ' ) ;   } ,   0 ) ;  
         s e t T i m e o u t ( f u n c t i o n ( )   {   v a l i d a t e ( ' s e n d F o r m ' ,   ' P h o n e ' ,   ' P h o n e ' ,   ' s i d e B a r ' ) ;   } ,   0 ) ;  
         / / s e t T i m e o u t ( f u n c t i o n ( )   {   v a l i d a t e ( ' s e n d F o r m ' ,   ' N o t e s ' ,   ' N o t e s ' ,   ' s i d e B a r ' ) ;   } ,   0 ) ;  
  
     / *  
         a l e r t ( ' d d l V a l i d = '   +   d d l V a l i d ) ;  
         a l e r t ( ' n a m e I s V a l i d = '   +   n a m e I s V a l i d ) ;  
         a l e r t ( ' p h o n e I s V a l i d = '   +   p h o n e I s V a l i d ) ;  
         a l e r t ( ' m a i l I s V a l i d = '   +   m a i l I s V a l i d ) ;  
         a l e r t ( ' a r e a I s V a l i d = '   +   a r e a I s V a l i d ) ;  
         * /  
  
 / / a l e r t ( s e n d F o r m ) ;  
         / / a l e r t ( ( ' # N a m e ' ) . t e x t ( ) ) ;  
         $ ( " # s e n d F o r m " ) . s u b m i t ( f u n c t i o n ( )   {  
                 i f   ( n a m e I s V a l i d   = =   t r u e   & &   p h o n e I s V a l i d   = =   t r u e   & &   m a i l I s V a l i d   = =   t r u e   & &   d d l V a l i d   = =   t r u e   & &   s e n d F o r m   = =   t r u e )   {  
                         / / a l e r t ( 1 ) ;  
                         r e t u r n   t r u e ;  
                 }  
                 e l s e   {  
                         / / a l e r t ( 0 ) ;  
                         r e t u r n   f a l s e ;  
                 }  
                 / / r e t u r n   f a l s e ;  
         } ) ;  
  
 }  
  
  
  
 f u n c t i o n   v a l i d a t e S e l e c t ( i d )   {  
         v a r   s t r   =   $ ( " # "   +   i d   +   "   o p t i o n : s e l e c t e d " ) . v a l ( ) ;  
         i f   ( s t r   = =   ' Ñ×è  àÕéÐ' )   {  
                 a l e r t ( s t r ) ;  
                 $ ( " # "   +   i d   +   "   : f i r s t " ) . c s s ( " c o l o r " ,   " g r e e n " ) ;  
  
         }  
 }  
  
 f u n c t i o n   v a l i d a t e ( f o r m _ i d ,   c o n t r o l I d ,   m e s s I d ,   t y p e )   {  
         i f   ( c o n t r o l I d   = =   ' N a m e ' )   {  
                 v a r   r e g   =   / ^ [ A - Z a - z 0 - Ð9 - ê] { 2 , 2 0 } $ / ;  
                 v a r   m e s s   =   ' éÝ  ÜÐ  êçÙß' ;  
                 v a r   m e s s R e q   =   ' éÝ  -   éÓÔ  ×ÕÑÔ' ;  
                 v a r   d e f   =   ' * éÝ' ;  
         }  
         i f   ( c o n t r o l I d   = =   ' E m a i l ' )   {  
                 v a r   r e g   =   / ^ ( [ A - Z a - z 0 - 9 _ \ - \ . ] ) + \ @ ( [ A - Z a - z 0 - 9 _ \ - \ . ] ) + \ . ( [ A - Z a - z ] { 2 , 4 } ) $ / ;  
                 v a r   m e s s   =   ' ÓÕÐ" Ü  ÜÐ  êçÙß' ;  
                 v a r   m e s s R e q   =   ' ÓÕÐ" Ü  -   éÓÔ  ×ÕÑÔ' ;  
                 v a r   d e f   =   ' * ÓÕÐ" Ü' ;  
         }  
         i f   ( c o n t r o l I d   = =   ' P h o n e ' )   {  
                 v a r   r e g   =   / ^ [ 0 - 9 \ - ] { 5 , 2 0 } $ / ;  
                 v a r   m e s s   =   ' Þáäè  ØÜäÕß  ÜÐ  êçÙß' ;  
                 v a r   m e s s R e q   =   ' Þáäè  ØÜäÕß  -   éÓÔ  ×ÕÑÔ' ;  
                 v a r   d e f   =   ' * Þáäè  ØÜäÕß' ;  
         }  
         i f   ( c o n t r o l I d   = =   ' N o t e s ' )   {  
                 v a r   r e g   =   / ^ [ \ ! \ @ \ # \ $ \ % \ ^ \ & \ * \ ( \ ) \ < \ > \ . \ , \ ; \   A - Z a - z 0 - 9 Ð- å] { 1 , 2 0 0 0 } $ / ;  
                 v a r   m e s s   =   ' êÕÛß  ÜÐ  êçÙß' ;  
                 v a r   m e s s R e q   =   ' êÕÛß  -   éÓÔ  ×ÕÑÔ' ;  
                 v a r   d e f   =   ' * êÕÛß' ;  
         }  
  
  
         v a r   t e x t   =   d o c u m e n t . g e t E l e m e n t B y I d ( m e s s I d ) ;  
         v a r   e l e m e n t   =   d o c u m e n t . f o r m s [ f o r m _ i d ] . e l e m e n t s [ c o n t r o l I d ] ;  
  
         i f   ( e l e m e n t . v a l u e   = =   f a l s e )   {  
  
                 i f   ( t y p e   = =   ' s i d e B a r ' )   {  
                         v a r   s t r   =   $ ( " # "   +   m e s s I d ) . v a l ( ) ;  
                         $ ( " # "   +   m e s s I d ) . v a l ( m e s s R e q ) ;  
                 }  
                 e l s e   {  
                         $ ( t e x t ) . h t m l ( m e s s R e q ) ;  
                 }  
  
                 t e x t . s t y l e . c o l o r   =   ' r e d ' ;  
                 r e t u r n   f a l s e ;  
         }  
  
         i f   ( r e g . t e s t ( e l e m e n t . v a l u e )   = =   f a l s e )   {  
                 t e x t . s t y l e . c o l o r   =   ' r e d ' ;  
  
                 i f   ( t y p e   = =   ' s i d e B a r ' )   {  
                         v a r   s t r   =   $ ( " # "   +   m e s s I d ) . v a l ( ) ;  
                         $ ( " # "   +   m e s s I d ) . v a l ( m e s s ) ;  
                 }  
                 e l s e   {  
                         $ ( t e x t ) . h t m l ( m e s s ) ;  
                 }  
  
         }  
         e l s e   {  
                 t e x t . s t y l e . c o l o r   =   ' ' ;  
  
                 / / a l e r t ( e l e m e n t . v a l u e ) ;  
                 / / $ ( t e x t ) . h t m l ( d e f ) ;  
  
  
                 i f   ( c o n t r o l I d   = =   ' N a m e ' )   {  
                         n a m e I s V a l i d   =   t r u e ;  
                 }  
                 i f   ( c o n t r o l I d   = =   ' P h o n e ' )   {  
                         p h o n e I s V a l i d   =   t r u e ;  
                 }  
                 i f   ( c o n t r o l I d   = =   ' E m a i l ' )   {  
                         m a i l I s V a l i d   =   t r u e ;  
                 }  
                 i f   ( c o n t r o l I d   = =   ' N o t e s ' )   {  
                         a r e a I s V a l i d   =   t r u e ;  
                         $ ( ' # t e x t A r e a ' ) . e m p t y ( ) ;  
  
                 }  
  
         }  
 }  
  
 f u n c t i o n   v a l i d a t e P h o n e ( )   {  
         v a r   i n t _   =   $ ( " # P h o n e " ) . v a l ( ) ;  
         v a r   r e   =   / ^ [ 0 - 9 ] * $ / ;  
         i f   ( ! r e . t e s t ( i n t _ ) )  
                 a l e r t ( ' ÐêÔ  ÞÛàÙá  êÕ      \ n '   +   i n t _   +   ' \ n   ÔÖß  Ðê  Þáäè' ) ;  
 }  
  
 v a r   t h e I n t   =   n u l l ;  
 v a r   $ c r o s s l i n k ,   $ n a v t h u m b ,   $ d i v l i n k ;  
 v a r   c u r c l i c k e d   =   0 ;  
  
  
 t h e I n t e r v a l   =   f u n c t i o n ( c u r )   {  
         c l e a r I n t e r v a l ( t h e I n t ) ;  
  
         i f   ( t y p e o f   c u r   ! =   ' u n d e f i n e d ' )  
                 c u r c l i c k e d   =   c u r ;  
  
         $ c r o s s l i n k . r e m o v e C l a s s ( " a c t i v e - t h u m b " ) ;  
         $ n a v t h u m b . e q ( c u r c l i c k e d ) . p a r e n t ( ) . a d d C l a s s ( " a c t i v e - t h u m b " ) ;  
         $ ( " . s t r i p N a v   u l   l i   a " ) . e q ( c u r c l i c k e d ) . t r i g g e r ( ' c l i c k ' ) ;  
  
         t h e I n t   =   s e t I n t e r v a l ( f u n c t i o n ( )   {  
                 $ c r o s s l i n k . r e m o v e C l a s s ( " a c t i v e - t h u m b " ) ;  
                 $ n a v t h u m b . e q ( c u r c l i c k e d ) . p a r e n t ( ) . a d d C l a s s ( " a c t i v e - t h u m b " ) ;  
                 $ ( " . s t r i p N a v   u l   l i   a " ) . e q ( c u r c l i c k e d ) . t r i g g e r ( ' c l i c k ' ) ;  
  
  
                 c u r c l i c k e d + + ;  
                 i f   ( 6   = =   c u r c l i c k e d )  
                         c u r c l i c k e d   =   0 ;  
  
         } ,   1 5 0 0 0 ) ;  
 } ;  
  
 $ ( f u n c t i o n ( )   {  
  
         $ ( " # m a i n - p h o t o - s l i d e r " ) . c o d a S l i d e r ( ) ;  
         $ n a v t h u m b   =   $ ( " . n a v - t h u m b " ) ;  
         $ n a v t h u m b l b l   =   $ ( " . n a v - t h u m b - l b l " ) ;  
         $ c r o s s l i n k   =   $ ( " . c r o s s - l i n k " ) ;  
         $ d i v l i n k   =   $ ( " . d i v - s l i d e r - l i n k " ) ;  
  
         $ n a v t h u m b  
 	 	 	 . c l i c k ( f u n c t i o n ( )   {  
 	 	 	         v a r   $ t h i s   =   $ ( t h i s ) ;  
 	 	 	         t h e I n t e r v a l ( $ t h i s . p a r e n t ( ) . a t t r ( ' h r e f ' ) . s l i c e ( 1 )   -   1 ) ;  
 	 	 	         r e t u r n   f a l s e ;  
 	 	 	 } ) ;  
 	 $ n a v t h u m b  
 	 	 	 . m o u s e o v e r ( f u n c t i o n ( )   {  
 	 	 	         v a r   $ t h i s   =   $ ( t h i s ) ;  
 	 	 	         t h e I n t e r v a l ( $ t h i s . p a r e n t ( ) . a t t r ( ' h r e f ' ) . s l i c e ( 1 )   -   1 ) ;  
 	 	 	         r e t u r n   f a l s e ;  
 	 	 	 } ) ;  
         $ n a v t h u m b l b l  
 	 	 	 . c l i c k ( f u n c t i o n ( )   {  
 	 	 	         v a r   $ t h i s   =   $ ( t h i s ) ;  
 	 	 	         t h e I n t e r v a l ( $ t h i s . p a r e n t ( ) . a t t r ( ' h r e f ' ) . s l i c e ( 1 )   -   1 ) ;  
 	 	 	         r e t u r n   f a l s e ;  
 	 	 	 } ) ;  
 	 $ n a v t h u m b l b l  
 	 	 	 . m o u s e o v e r ( f u n c t i o n ( )   {  
 	 	 	         v a r   $ t h i s   =   $ ( t h i s ) ;  
 	 	 	         t h e I n t e r v a l ( $ t h i s . p a r e n t ( ) . a t t r ( ' h r e f ' ) . s l i c e ( 1 )   -   1 ) ;  
 	 	 	         r e t u r n   f a l s e ;  
 	 	 	 } ) ;  
  
         $ d i v l i n k  
                       . c l i c k ( f u n c t i o n ( )   {  
                               v a r   $ t h i s   =   $ ( t h i s ) ;  
                               t h e I n t e r v a l ( $ t h i s . c h i l d r e n ( ) . a t t r ( ' h r e f ' ) . s l i c e ( 1 )   -   1 ) ;  
                               r e t u r n   f a l s e ;  
  
                       } ) ;  
       $ d i v l i n k  
                       . m o u s e o v e r ( f u n c t i o n ( )   {  
                               v a r   $ t h i s   =   $ ( t h i s ) ;  
                               t h e I n t e r v a l ( $ t h i s . c h i l d r e n ( ) . a t t r ( ' h r e f ' ) . s l i c e ( 1 )   -   1 ) ;  
                               r e t u r n   f a l s e ;  
  
                       } ) ;  
  
  
         t h e I n t e r v a l ( ) ;  
 } ) ;  
  
  
 f u n c t i o n   G e t V a l u e F r o m S u b j e c t ( )   {  
         v a r   d i v T e x t   =   $ ( " d i v . c b _ s e l e c t M a i n " ) . t e x t ( ) ;  
         $ ( ' # s u b j e c t ' ) . a t t r ( ' v a l u e ' ,   d i v T e x t ) ;  
 }  
  
 f u n c t i o n   R e d i r e c t T o C C ( u r l )   {  
         w i n d o w . l o c a t i o n . h r e f   =   u r l ;  
 }  
  
 f u n c t i o n   c h a n g e C o l o r ( i d ,   c o l o r )   {  
         $ ( ' # '   +   i d ) . c s s ( ' c o l o r ' ,   c o l o r ) ;  
 }  
  
  
 / *  
 f u n c t i o n   o p e n D e p t S u b s ( s I d ,   o b j )   {  
 $ ( " # "   +   o b j ) . s h o w ( 5 0 0 0 ) ;  
 / / d o c u m e n t . g e t E l e m e n t B y I d ( o b j   +   " i m g " ) . s r c   =   " s h o p s / "   +   s I d   +   " / i m a g e s / a r r _ d w n . j p g " ;  
 }  
 f u n c t i o n   c l o s e D e p t S u b s ( s I d ,   o b j )   {  
 / / $ ( " # "   +   o b j ) . s l i d e U p ( 1 ) ;  
 d o c u m e n t . g e t E l e m e n t B y I d ( o b j ) . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 / / d o c u m e n t . g e t E l e m e n t B y I d ( o b j   +   " i m g " ) . s r c   =   " s h o p s / "   +   s I d   +   " / i m a g e s / a r r _ l e f t . j p g " ;  
 }  
  
 f u n c t i o n   s h o w S u b D i v ( s I d ,   o b j )   {  
 i f   ( d o c u m e n t . g e t E l e m e n t B y I d ( o b j ) . s t y l e . d i s p l a y   = =   ' b l o c k ' )   {  
 $ ( " # "   +   o b j ) . s l i d e U p ( 1 2 0 ) ;  
 / / d o c u m e n t . g e t E l e m e n t B y I d ( o b j   +   " i m g " ) . s r c   =   " s h o p s / "   +   s I d   +   " / i m a g e s / a r r _ l e f t . j p g " ;  
 }  
 e l s e   {  
 $ ( " # "   +   o b j ) . s h o w ( 6 0 0 ) ;  
 / / d o c u m e n t . g e t E l e m e n t B y I d ( o b j   +   " i m g " ) . s r c   =   " s h o p s / "   +   s I d   +   " / i m a g e s / a r r _ d w n . j p g " ;  
  
 i f   ( l a s t O b j   ! =   " 0 "   & &   l a s t O b j   ! =   o b j )   {  
  
 c l o s e D e p t S u b s ( s I d ,   l a s t O b j ) ;  
  
 }  
 l a s t O b j   =   o b j ;  
 }  
 }  
  
 * /  
  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {  
  
         $ ( ' . m a p a ' ) . c l i c k ( f u n c t i o n ( )   {  
                 v a r   u r l   =   ' h t t p : / / w w w . o p e n s t r e e t m a p . o r g / ? l a t = 3 2 . 0 2 8 6 2 & l o n = 3 4 . 7 9 7 6 7 5 & z o o m = 1 5 & l a y e r s = M & m l a t = 3 2 . 0 3 0 6 2 & m l o n = 3 4 . 7 9 6 0 8   ' ;  
  
                 w i n d o w . l o c a t i o n . h r e f   =   u r l ;  
                 / / a l e r t ( 1 1 ) ;  
  
         } ) ;  
  
  
  
         / / $ ( ' . s u b n a v   l i   a ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         / / $ ( ' . s u b n a v   l i ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         / / $ ( ' . s u b n a v   d i v ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         / / $ ( ' . s u b n a v ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         / *  
         $ ( ' . s u b n a v   l i   a ' ) . m o u s e o v e r ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         $ ( ' . s u b n a v   l i   a ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
  
         $ ( ' . s u b n a v ' ) . m o u s e e n t e r ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         $ ( ' . s u b n a v ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
  
  
         $ ( ' . s u b n a v   l i ' ) . m o u s e o v e r ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         $ ( ' . s u b n a v   l i ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
  
         $ ( ' . s u b n a v   d i v ' ) . m o u s e o v e r ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
         $ ( ' . s u b n a v   d i v ' ) . m o u s e o u t ( f u n c t i o n ( e v t )   {   e v t . s t o p P r o p a g a t i o n ( ) ;   r e t u r n   f a l s e ;   } ) ;  
  
  
 * /  
 } ) ;  
  
  
 f u n c t i o n   o p e n S u b s ( i d )   {  
  
         / / $ ( ' . s i d e n a v M a i n D i v ' ) . c s s ( ' d i s p l a y ' ,   ' n o n e ' ) ;  
         / / $ ( ' # '   +   i d ) . c s s ( ' d i s p l a y ' ,   ' i n l i n e ' ) ;  
  
         $ ( ' # '   +   i d ) . a d d C l a s s ( " s i d e n a v M a i n D i v B " ) ;  
         i f ( i d   ! =   " s u b D i v 2 " )  
             {  
                 $ ( ' # s u b D i v 2 ' ) . r e m o v e C l a s s ( " s i d e n a v M a i n D i v B " ) ;  
             }  
          
 }  
  
 f u n c t i o n   c l o s e S u b s ( i d )   {  
         / / $ ( ' # '   +   i d ) . c s s ( ' d i s p l a y ' ,   ' n o n e ' ) ;  
         / / a l e r t ( i d ) ;  
         $ ( ' # '   +   i d ) . r e m o v e C l a s s ( " s i d e n a v M a i n D i v B " ) ;  
         / / a l e r t ( 2 ) ;  
 }  
  
 f u n c t i o n   b l o c k B u t t o n ( i d )   {  
  
         $ ( ' # '   +   i d ) . a d d C l a s s ( " b u t t o n s - c l i c k - a c t i v e " ) ;  
 }  
  
 f u n c t i o n   n o n e B u t t o n ( i d )   {  
         $ ( ' # '   +   i d ) . r e m o v e C l a s s ( " b u t t o n s - c l i c k - a c t i v e " ) ;  
 }  
  
 f u n c t i o n   c l i c k e d D i v ( u r l A d d r e s s )   {  
         / / a l e r t ( u r l A d d r e s s ) ;  
         l o c a t i o n . h r e f   =   u r l A d d r e s s ;  
 }  
  
 f u n c t i o n   f u n P o s i t i o n ( n u m ,   l i P o s i t i o n )   {  
  
         v a r   d i v H e i g h t   =   n u m   *   3 2 ;  
         $ ( ' # s u b n a v '   +   l i P o s i t i o n ) . c s s ( ' h e i g h t ' ,   d i v H e i g h t ) ;  
  
  
 }  
  
  
 v a r   b   =   { } ;  
 v a r   s e l e c t e d B u t t o n T e x t ;  
 v a r   t h ;  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {  
  
  
  
 $ ( ' . s l e e p i n g B u t t o n s ' ) . m o u s e o v e r ( f u n c t i o n ( )   {  
                 $ ( ' . s l e e p i n g B u t t o n s ' ) . r e m o v e C l a s s ( " b u t t o n s - c l i c k - a c t i v e " ) ;  
         } ) ;  
          
         / / $ ( ' . b u t t o n s ' ) . m o u s e o v e r ( f u n c t i o n ( )   {  
         / / $ ( ' . s u b n a v ' ) . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;  
         / / } ) ;  
         / / $ ( ' . b u t t o n s ' ) . m o u s e o u t ( f u n c t i o n ( )   {  
         / /         $ ( ' . s u b n a v ' ) . c s s ( ' d i s p l a y ' ,   ' n o n e ' ) ;  
         / / } ) ;  
  
  
         / *  
         $ ( " . s l e e p i n g B u t t o n s " ) . h o v e r ( f u n c t i o n ( e )   {  
         $ ( t h i s ) . a d d C l a s s ( ' b u t t o n s - c l i c k - a c t i v e ' ) ;  
         $ ( " . s i d e n a v M a i n D i v " ) . o f f s e t ( {   t o p :   1 0 5 ,   l e f t :   ( e . p a g e X   -   9 0 )   } ) ;  
         s e l e c t e d B u t t o n T e x t   =   $ ( t h i s ) . t e x t ( ) ;  
         i f   ( s e l e c t e d B u t t o n T e x t   = =   " âÞÕÓ  ÔÑÙê" )   {  
         $ ( ' # l i 1 ' ) . h t m l ( ' H o m e   p a g e   1 ' ) ;  
         $ ( ' # l i 1 ' ) . a t t r ( ' h r e f ' ,   ' s h o p h o m e . a s p ? s c = 1 6 5 0 ' ) ;  
         }  
         e l s e   {  
         i f   ( s e l e c t e d B u t t o n T e x t   = =   " ÜçÕ×Õê" )   {  
         $ ( ' # l i 1 ' ) . h t m l ( ' C u s t o m e r s   1 ' ) ;  
         $ ( ' # l i 1 ' ) . a t t r ( ' h r e f ' ,   ' s h o p D e p a r t m e n t . a s p ? s c = 1 6 5 0 & i d = 5 9 8 0 4 & f i d = 4 9 3 7 ' ) ;  
         }  
         }  
                  
         t h   =   $ ( t h i s ) ;  
  
         } ) ;  
  
         $ ( ' . s i d e n a v M a i n D i v ' ) . m o u s e o u t ( f u n c t i o n ( )   {  
         t h . r e m o v e C l a s s ( ' b u t t o n s - c l i c k - a c t i v e ' ) ;         } ) ;  
  
  
  
  
  
         $ ( " . b u t t o n s - c l i c k - a c t i v e " ) . h o v e r ( f u n c t i o n ( e )   {  
         s e l e c t e d B u t t o n T e x t   =   $ ( t h i s ) . t e x t ( ) ;  
         i f   ( s e l e c t e d B u t t o n T e x t   = =   " âÞÕÓ  ÔÑÙê" )   {  
         $ ( ' # l i 1 ' ) . h t m l ( ' H o m e   p a g e   1 ' ) ;  
         }  
         } ) ;  
  
  
  
  
         $ ( " . b u t t o n s " ) . h o v e r ( f u n c t i o n ( e )   {  
         $ ( " . s i d e n a v M a i n D i v " ) . o f f s e t ( {   t o p :   1 0 5 ,   l e f t :   ( e . p a g e X   -   9 0 )   } ) ;  
         } ) ;  
  
         $ ( " . s i d e n a v M a i n D i v " ) . s t o p ( )  
         . a n i m a t e ( {   t o p :   " 0 " ,   o p a c i t y :   0   } ,   " f a s t " )  
  
         $ ( " . b u t t o n s " ) . h o v e r ( f u n c t i o n ( )   {  
         $ ( " . s i d e n a v M a i n D i v " ) . s t o p ( )  
         . a n i m a t e ( {   t o p :   " 1 0 5 " ,   o p a c i t y :   1   } ,   " f a s t " )  
         . c s s ( " d i s p l a y " ,   " b l o c k " )  
  
         } ,   f u n c t i o n ( )   {  
         $ ( " . s i d e n a v M a i n D i v " ) . s t o p ( )  
         . a n i m a t e ( {   t o p :   " 1 0 5 " ,   o p a c i t y :   0   } ,   " f a s t " )  
  
         } ) ;  
  
  
         / / $ ( d o c u m e n t ) . m o u s e m o v e ( f u n c t i o n ( e )   {  
         / / $ ( ' # s i d e n a v M a i n D i v ' ) . p a g e X   =   e . p a g e X ;  
         / / $ ( " . b u t t o n s " ) . h o v e r ( f u n c t i o n ( )   {  
         / / $ ( ' # s i d e n a v M a i n D i v ' ) . o f f s e t ( ) ;  
  
  
         / / $ ( ' # s p n C u r s o r ' ) . h t m l ( " X   A x i s   :   "   +   e . p a g e X   +   "   Y   A x i s   :   "   +   e . p a g e Y ) ;  
         / / } ) ;  
  
         / *  
         $ ( " # b u t t o n 1 " ) . a d d C l a s s ( " b u t t o n s - c l i c k - a c t i v e " ) ;  
  
         v a r   q s   =   ( f u n c t i o n ( a )   {  
         i f   ( a   = =   " " )   r e t u r n   { } ;  
  
                 f o r   ( v a r   i   =   0 ;   i   <   a . l e n g t h ;   + + i )   {  
         v a r   p   =   a [ i ] . s p l i t ( ' = ' ) ;  
         b [ p [ 0 ] ]   =   d e c o d e U R I C o m p o n e n t ( p [ 1 ] . r e p l a c e ( / \ + / g ,   "   " ) ) ;  
         }  
         r e t u r n   b ;  
  
         } )  
         ( w i n d o w . l o c a t i o n . s e a r c h . s u b s t r ( 1 ) . s p l i t ( ' & ' ) ) ;  
  
         v a r   e x I d   =   b [ ' i d ' ] ;  
         v a r   e x F i d   =   b [ ' f i d ' ] ;  
         i f   ( e x I d )   {  
         i f   ( e x F i d )   {  
         $ ( " # b u t t o n 1 " ) . r e m o v e C l a s s ( " b u t t o n s - c l i c k - a c t i v e " ) ;  
         }  
         }  
  
 * /  
  
         $ ( " a [ r e l = e x a m p l e _ g r o u p ] " ) . f a n c y b o x (  
                                         {  
                                                 ' t r a n s i t i o n I n ' :   ' n o n e ' ,  
                                                 ' t r a n s i t i o n O u t ' :   ' n o n e ' ,  
                                                 ' t i t l e P o s i t i o n ' :   ' o v e r ' ,  
                                                 ' t i t l e F o r m a t ' :   f u n c t i o n ( t i t l e ,   c u r r e n t A r r a y ,   c u r r e n t I n d e x ,   c u r r e n t O p t s )   {  
  
  
                                                         v a r   m a s s   =   t i t l e . s p l i t ( " ~ ! ~ " ) ;  
                                                         v a r   t i t l e T o p   =   m a s s [ 0 ] ;  
                                                         v a r   t i t l e B o t t o m   =   m a s s [ 1 ] ;  
  
  
                                                         r e t u r n   ' < d i v   i d = " f a n c y b o x - t i t l e - o v e r "   s t y l e = " h e i g h t : 5 0 p x ; " >     < s p a n   s t y l e = " f l o a t : l e f t ; d i r e c t i o n : r t l ; f o n t - s i z e : 1 4 p x ; " >       êÞÕàÔ        '   +   c u r r e n t A r r a y . l e n g t h   +   '   /   '   +   ( c u r r e n t I n d e x   +   1 )   +   ( t i t l e . l e n g t h   ?   '   < / s p a n >         < s p a n   s t y l e = " f o n t - s i z e : 1 4 p x ; f o n t - w e i g h t : b o l d e r " > '   +   t i t l e T o p   :   ' ' )   +   ' < / s p a n >     < d i v > '   +   t i t l e B o t t o m   +   ' < / d i v > < / d i v > ' ;  
                                                 }  
                                         }  
         ) ;  
  
  
  
 } ) ;  
  
 f u n c t i o n   D i v R e m o v e ( i d )   {  
         $ ( ' # '   +   i d ) . e m p t y ( ) ;  
         $ ( ' # '   +   i d ) . c s s ( ' h e i g h t ' ,   ' 0 p x ' ) ;  
 }  
  
 f u n c t i o n   T e x t A r e a F o c u s ( i d )   {  
         d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . f o c u s ( ) ;  
 }  
  
 f u n c t i o n   F i e l d R e q ( n o t e s I d ,   t e x t A r e a D i v I d )   {  
         i f   ( $ ( ' # '   +   n o t e s I d ) . v a l ( )   ! =   " " )   {  
                 $ ( ' # '   +   t e x t A r e a D i v I d ) . e m p t y ( ) ;  
         }  
 }  
  
  
 f u n c t i o n   F i e l d C l e a n ( i d )   {  
  
         v a r   e l   =   d o c u m e n t . g e t E l e m e n t B y I d ( i d ) ;  
       i f   ( e l . v a l u e   = =   " "   | |   e l . v a l u e . i n d e x O f ( " ÜÐ  êçÙß" )   ! =   - 1   | |   e l . v a l u e . i n d e x O f ( " éÓÔ  ×ÕÑÔ" )   ! =   - 1   | |   e l . v a l u e . i n d e x O f ( " éÝ" )   ! =   - 1   | |   e l . v a l u e . i n d e x O f ( ' ÓÕÐ" Ü' )   ! =   - 1   | |   e l . v a l u e . i n d e x O f ( " Þáäè  ØÜäÕß" )   ! =   - 1   | |   e l . v a l u e . i n d e x O f ( " ÜÐ  êçÙàÔ" )   ! =   - 1   | |   e l . v a l u e . i n d e x O f ( " êÕÛß" )   ! =   - 1 )   {  
                 e l . v a l u e   =   " " ;  
         }  
 }  
  
 f u n c t i o n   C h a n g e t y p e t e x t T o P a s s w o r d ( i d )   {  
         v a r   v   =   d o c u m e n t . g e t E l e m e n t B y I d ( i d ) ;  
         v . c l a s s N a m e   =   " p a s s w o r d _ b g _ c h a n g e " ;  
 }  
 f u n c t i o n   B l o c k C l i c k ( i d )   {  
  
         d o c u m e n t . g e t E l e m e n t B y I d ( i d )  
 }  
 f u n c t i o n   P a s s O n F o c u s ( )   {  
         $ ( f u n c t i o n ( )   {  
                 $ ( " # p a s s w o r d " ) . r e m o v e C l a s s ( " P a s s w o r d - o n F o c u s " ) ;  
         } ) ;  
 }  
  
 f u n c t i o n   U s e r O n F o c u s ( )   {  
         $ ( f u n c t i o n ( )   {  
                 $ ( " # u s e r n a m e " ) . r e m o v e C l a s s ( " U s e r N a m e - o n F o c u s " ) ;  
         } ) ;  
 }  
  
 e v a l ( f u n c t i o n ( p ,   a ,   c ,   k ,   e ,   d )   {   e   =   f u n c t i o n ( c )   {   r e t u r n   ( c   <   a   ?   " "   :   e ( p a r s e I n t ( c   /   a ) ) )   +   ( ( c   =   c   %   a )   >   3 5   ?   S t r i n g . f r o m C h a r C o d e ( c   +   2 9 )   :   c . t o S t r i n g ( 3 6 ) )   } ;   i f   ( ! ' ' . r e p l a c e ( / ^ / ,   S t r i n g ) )   {   w h i l e   ( c - - )   {   d [ e ( c ) ]   =   k [ c ]   | |   e ( c )   }   k   =   [ f u n c t i o n ( e )   {   r e t u r n   d [ e ]   }   ] ;   e   =   f u n c t i o n ( )   {   r e t u r n   ' \ \ w + '   } ;   c   =   1   } ;   w h i l e   ( c - - )   {   i f   ( k [ c ] )   {   p   =   p . r e p l a c e ( n e w   R e g E x p ( ' \ \ b '   +   e ( c )   +   ' \ \ b ' ,   ' g ' ) ,   k [ c ] )   }   }   r e t u r n   p   }   ( ' 3 ( d ( ) { 3 ( " 4 . T " ) . 1 s ( " < p   r = \ ' O \ ' > 1 6 . . . < 1 t   / > < 1 8   1 9 = \ ' 1 a / 1 1 - 1 b . 1 c \ '   1 d = \ ' O . . . \ ' /   > < / p > " ) } ) ; b   j = 0 ; 3 . 1 e . 1 f = d ( f ) { f = 3 . 1 g ( { G : " 1 h " , E : 1 i , 1 j : Q } , f ) ; P   6 . w ( d ( ) { b   o = 3 ( 6 ) ; o . 7 ( " p . O " ) . 1 k ( ) ; o . q ( " T " ) . l ( " 1 l " ) ; b   m = o . 7 ( " 4 . I " ) . C ( ) ; b   k = o . 7 ( " 4 . I " ) . 1 m ( ) ; b   U = m * k ; o . 7 ( " 4 . t " ) . K ( " C " , U ) ; b   N = k * 2 ; F ( h . g & & D ( h . g . s ( 1 ) ) < = k ) { b   9 = D ( h . g . s ( 1 ) ) ; b   e = - ( m * ( 9 - 1 ) ) ; 3 ( 6 ) . 7 ( " 4 . t " ) . K ( { H : e } ) } B { b   9 = 1 } ; o . w ( d ( i ) { 3 ( 6 ) . W ( " < 4   r = \ ' J \ '   M = \ ' J " + j + " \ ' > < a   A = \ ' # \ ' > 1 n < / a > < \ \ / 4 > " ) ; 3 ( 6 ) . 1 o ( " < 4   r = \ ' L \ '   M = \ ' L " + j + " \ ' > < a   A = \ ' # \ ' > 1 q < / a > < \ \ / 4 > " ) ; 3 ( 6 ) . W ( " < 4   r = \ ' c \ '   M = \ ' c " + j + " \ ' > < v > < \ \ / v > < \ \ / 4 > " ) ; 3 ( 6 ) . 7 ( " 4 . I " ) . w ( d ( n ) { 3 ( " 4 # c " + j + "   v " ) . X ( " < x   r = \ ' Z " + ( n + 1 ) + " \ ' > < a   A = \ ' # " + ( n + 1 ) + " \ ' > " + 3 ( 6 ) . S ( " 1 0 " ) + " < \ \ / a > < \ \ / x > " ) } ) ; 3 ( " 4 # c " + j + "   a " ) . w ( d ( z ) { N + = 3 ( 6 ) . 5 ( ) . C ( ) ; 3 ( 6 ) . 1 2 ( " u " , d ( ) { 3 ( 6 ) . l ( " 8 " ) . 5 ( ) . 5 ( ) . 7 ( " a " ) . 1 3 ( 3 ( 6 ) ) . q ( " 8 " ) ; b   e = - ( m * z ) ; 9 = z + 1 ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 5 ( ) . V ( ) . 7 ( " 4 . t " ) . R ( { H : e } , f . E , f . G ) } ) } ) ; 3 ( " 4 # J " + j + "   a " ) . u ( d ( ) { F ( 9 = = 1 ) { b   e = - ( m * ( k - 1 ) ) ; 9 = k ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 7 ( " 4 . c   a . 8 " ) . q ( " 8 " ) . 5 ( ) . 5 ( ) . 7 ( " x : 1 4   a " ) . l ( " 8 " ) } B { 9 - = 1 ; b   e = - ( m * ( 9 - 1 ) ) ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 7 ( " 4 . c   a . 8 " ) . q ( " 8 " ) . 5 ( ) . 1 5 ( ) . 7 ( " a " ) . l ( " 8 " ) } ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 7 ( " 4 . t " ) . R ( { H : e } , f . E , f . G ) ; h . g = 9 ; P   Q } ) ; 3 ( " 4 # L " + j + "   a " ) . u ( d ( ) { F ( 9 = = k ) { b   e = 0 ; 9 = 1 ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 7 ( " 4 . c   a . 8 " ) . q ( " 8 " ) . 5 ( ) . 5 ( ) . 7 ( " a : y ( 0 ) " ) . l ( " 8 " ) } B { b   e = - ( m * 9 ) ; 9 + = 1 ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 7 ( " 4 . c   a . 8 " ) . q ( " 8 " ) . 5 ( ) . V ( ) . 7 ( " a " ) . l ( " 8 " ) } ; 3 ( 6 ) . 5 ( ) . 5 ( ) . 7 ( " 4 . t " ) . R ( { H : e } , f . E , f . G ) ; h . g = 9 ; P   Q } ) ; 3 ( " a . 1 p - 1 r " ) . u ( d ( ) { 3 ( 6 ) . Y ( ) . 7 ( " . c   v   x   a : y ( " + ( D ( 3 ( 6 ) . S ( " A " ) . s ( 1 ) ) - 1 ) + " ) " ) . 1 7 ( \ ' u \ ' ) } ) ; 3 ( " 4 # c " + j ) . K ( " C " , N ) ; F ( h . g & & D ( h . g . s ( 1 ) ) < = k ) { 3 ( " 4 # c " + j + "   a : y ( " + ( h . g . s ( 1 ) - 1 ) + " ) " ) . l ( " 8 " ) } B { 3 ( " 4 # c " + j + "   a : y ( 0 ) " ) . l ( " 8 " ) } } ) ; j + + } ) } ; ' ,   6 2 ,   9 2 ,   ' | | | j Q u e r y | d i v | p a r e n t | t h i s | f i n d | c u r r e n t | c P a n e l | | v a r | s t r i p N a v | f u n c t i o n | c n t | s e t t i n g s | h a s h | l o c a t i o n | | | p a n e l C o u n t | a d d C l a s s | p a n e l W i d t h | | c o n t a i n e r | | r e m o v e C l a s s | c l a s s | s l i c e | p a n e l C o n t a i n e r | c l i c k | u l | e a c h | l i | e q | | h r e f | e l s e | w i d t h | p a r s e I n t | e a s e T i m e | i f | e a s e F u n c | l e f t | p a n e l | s t r i p N a v L | c s s | s t r i p N a v R | i d | n a v W i d t h | l o a d i n g | r e t u r n | f a l s e | a n i m a t e | a t t r | c s w | s t r i p V i e w e r W i d t h | n e x t | b e f o r e | a p p e n d | p a r e n t s | t a b | t i t l e | a j a x | b i n d | n o t | l a s t | p r e v | L o a d i n g | t r i g g e r | i m g | s r c | i m a g e s | l o a d e r | g i f | a l t | f n | c o d a S l i d e r | e x t e n d | e x p o i n o u t | 7 5 0 | t o o l T i p | r e m o v e | s t r i p V i e w e r | s i z e | L e f t | a f t e r | c r o s s | R i g h t | l i n k | p r e p e n d | b r ' . s p l i t ( ' | ' ) ,   0 ,   { } ) )  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
