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