ÿþ 
                          
 / / $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   { 	 	  
 / / 	  
 / / 	 / / E x e c u t e   t h e   s l i d e S h o w  
 / / 	 s l i d e S h o w 1 ( ) ;  
  
 / / } ) ;  
  
 / / f u n c t i o n   s l i d e S h o w 1 ( )    
 / / {  
  
 / / 	 / / S e t   t h e   o p a c i t y   o f   a l l   i m a g e s   t o   0  
 / / 	 $ ( ' # g a l l e r y 1   a ' ) . c s s ( { o p a c i t y :   0 . 0 } ) ;  
 / / 	  
 / / 	 / / G e t   t h e   f i r s t   i m a g e   a n d   d i s p l a y   i t   ( s e t   i t   t o   f u l l   o p a c i t y )  
 / / 	 $ ( ' # g a l l e r y 1   a : f i r s t ' ) . c s s ( { o p a c i t y :   1 . 0 } ) ;  
 / / 	  
 / / 	 / / S e t   t h e   c a p t i o n   b a c k g r o u n d   t o   s e m i - t r a n s p a r e n t  
 / / 	 $ ( ' # g a l l e r y 1   . c a p t i o n ' ) . c s s ( { o p a c i t y :   0 . 7 } ) ;  
  
 / / 	 / / R e s i z e   t h e   w i d t h   o f   t h e   c a p t i o n   a c c o r d i n g   t o   t h e   i m a g e   w i d t h  
 / / 	 $ ( ' # g a l l e r y 1   . c a p t i o n ' ) . c s s ( { w i d t h :   $ ( ' # g a l l e r y 1   a ' ) . f i n d ( ' i m g ' ) . c s s ( ' w i d t h ' ) } ) ;  
 / / 	  
 / / 	 / / G e t   t h e   c a p t i o n   o f   t h e   f i r s t   i m a g e   f r o m   R E L   a t t r i b u t e   a n d   d i s p l a y   i t  
 / / 	 $ ( ' # g a l l e r y 1   . c o n t e n t ' ) . h t m l ( $ ( ' # g a l l e r y 1   a : f i r s t ' ) . f i n d ( ' i m g ' ) . a t t r ( ' r e l ' ) )  
 / / 	 . a n i m a t e ( { o p a c i t y :   0 . 7 } ,   4 0 0 ) ;  
 / / 	  
 / / 	 / / C a l l   t h e   g a l l e r y   f u n c t i o n   t o   r u n   t h e   s l i d e s h o w ,   6 0 0 0   =   c h a n g e   t o   n e x t   i m a g e   a f t e r   6   s e c o n d s  
 / / 	 s e t I n t e r v a l ( ' g a l l e r y 1 ( ) ' , 6 0 0 0 ) ;  
 / / 	  
 / / }  
  
 / / f u n c t i o n   g a l l e r y 1 ( )   {  
 / / 	  
 / / 	 / / i f   n o   I M G s   h a v e   t h e   s h o w   c l a s s ,   g r a b   t h e   f i r s t   i m a g e  
 / / 	 v a r   c u r r e n t   =   ( $ ( ' # g a l l e r y 1   a . s h o w ' ) ?     $ ( ' # g a l l e r y 1   a . s h o w ' )   :   $ ( ' # g a l l e r y 1   a : f i r s t ' ) ) ;  
  
 / / 	 / / G e t   n e x t   i m a g e ,   i f   i t   r e a c h e d   t h e   e n d   o f   t h e   s l i d e s h o w ,   r o t a t e   i t   b a c k   t o   t h e   f i r s t   i m a g e  
 / / 	 v a r   n e x t   =   ( ( c u r r e n t . n e x t ( ) . l e n g t h )   ?   ( ( c u r r e n t . n e x t ( ) . h a s C l a s s ( ' c a p t i o n ' ) ) ?   $ ( ' # g a l l e r y 1   a : f i r s t ' )   : c u r r e n t . n e x t ( ) )   :   $ ( ' # g a l l e r y 1   a : f i r s t ' ) ) ; 	  
 / / 	  
 / / 	 / / G e t   n e x t   i m a g e   c a p t i o n  
 / / 	 v a r   c a p t i o n   =   n e x t . f i n d ( ' i m g ' ) . a t t r ( ' r e l ' ) ; 	  
 / / 	  
 / / 	 / / S e t   t h e   f a d e   i n   e f f e c t   f o r   t h e   n e x t   i m a g e ,   s h o w   c l a s s   h a s   h i g h e r   z - i n d e x  
 / / 	 n e x t . c s s ( { o p a c i t y :   0 . 0 } )  
 / / 	 . a d d C l a s s ( ' s h o w ' )  
 / / 	 . a n i m a t e ( { o p a c i t y :   1 . 0 } ,   1 0 0 0 ) ;  
  
 / / 	 / / H i d e   t h e   c u r r e n t   i m a g e  
 / / 	 c u r r e n t . a n i m a t e ( { o p a c i t y :   0 . 0 } ,   1 0 0 0 )  
 / / 	 . r e m o v e C l a s s ( ' s h o w ' ) ;  
 / / 	  
 / / 	 / / S e t   t h e   o p a c i t y   t o   0   a n d   h e i g h t   t o   1 p x  
 / / 	 $ ( ' # g a l l e r y 1   . c a p t i o n ' ) . a n i m a t e ( { o p a c i t y :   0 . 0 } ,   {   q u e u e : f a l s e ,   d u r a t i o n : 0   } ) . a n i m a t e ( { h e i g h t :   ' 1 p x ' } ,   {   q u e u e : t r u e ,   d u r a t i o n : 3 0 0   } ) ; 	  
 / / 	  
 / / 	 / / A n i m a t e   t h e   c a p t i o n ,   o p a c i t y   t o   0 . 7   a n d   h e i g t h   t o   1 0 0 p x ,   a   s l i d e   u p   e f f e c t  
 / / 	 $ ( ' # g a l l e r y 1   . c a p t i o n ' ) . a n i m a t e ( { o p a c i t y :   0 . 7 } , 1 0 0   ) . a n i m a t e ( { h e i g h t :   ' 4 0 p x ' } , 5 0 0   ) ;  
 / / 	  
 / / 	 / / D i s p l a y   t h e   c o n t e n t  
 / / 	 $ ( ' # g a l l e r y 1   . c o n t e n t ' ) . h t m l ( c a p t i o n ) ;  
 / / 	  
 / / 	  
 / / }  
  
 / * s l i d e   t i n   t u c * /  
 $ ( d o c u m e n t ) . r e a d y (   f u n c t i o n ( ) { 	  
 	 	 v a r   b u t t o n s   =   {   p r e v i o u s : $ ( ' # l o f s l i d e c o n t e n t 4 5   . l o f - p r e v i o u s ' )   ,  
 	 	 	 	 	 	 n e x t : $ ( ' # l o f s l i d e c o n t e n t 4 5   . l o f - n e x t ' )   } ;  
 	 	 	 	 	 	  
 	 	 $ o b j   =   $ ( ' # l o f s l i d e c o n t e n t 4 5 ' ) . l o f J S i d e r n e w s (   {   i n t e r v a l   :   5 0 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d i r e c t i o n 	 	 :   ' o p a c i t y ' , 	  
 	 	 	 	 	 	 	 	 	 	 	   	 e a s i n g 	 	 	 :   ' e a s e O u t B o u n c e ' ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d u r a t i o n 	 	 :   1 2 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 a u t o 	 	   	 :   t r u e ,  
 	 	 	 	 	 	 	 	 	 	 	 	 m a i n W i d t h : 9 8 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 b u t t o n s 	 	 	 :   b u t t o n s }   ) ; 	  
 	 } ) ;  
  
 / * s l i d e   s a n   p h a m * /  
 $ ( d o c u m e n t ) . r e a d y (   f u n c t i o n ( ) { 	  
 	 	 v a r   b u t t o n s   =   {   p r e v i o u s : $ ( ' # l o f s l i d e c o n t e n t 4 6   . l o f - p r e v i o u s ' )   ,  
 	 	 	 	 	 	 n e x t : $ ( ' # l o f s l i d e c o n t e n t 4 6   . l o f - n e x t ' )   } ;  
 	 	 	 	 	 	  
 	 	 $ o b j   =   $ ( ' # l o f s l i d e c o n t e n t 4 6 ' ) . l o f J S i d e r n e w s (   {   i n t e r v a l   :   4 0 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d i r e c t i o n 	 	 :   ' o p a c i t y ' , 	  
 	 	 	 	 	 	 	 	 	 	 	   	 e a s i n g 	 	 	 :   ' e a s e O u t B o u n c e ' ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d u r a t i o n 	 	 :   1 2 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 a u t o 	 	   	 :   t r u e ,  
 	 	 	 	 	 	 	 	 	 	 	 	 m a i n W i d t h : 9 8 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 b u t t o n s 	 	 	 :   b u t t o n s }   ) ; 	  
 	 } ) ;  
  
 / * s l i d e   d u   a n * /  
 $ ( d o c u m e n t ) . r e a d y (   f u n c t i o n ( ) { 	  
 	 	 v a r   b u t t o n s   =   {   p r e v i o u s : $ ( ' # l o f s l i d e c o n t e n t 4 4   . l o f - p r e v i o u s ' )   ,  
 	 	 	 	 	 	 n e x t : $ ( ' # l o f s l i d e c o n t e n t 4 4   . l o f - n e x t ' )   } ;  
 	 	 	 	 	 	  
 	 	 $ o b j   =   $ ( ' # l o f s l i d e c o n t e n t 4 4 ' ) . l o f J S i d e r n e w s (   {   i n t e r v a l   :   6 0 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d i r e c t i o n 	 	 :   ' o p a c i t y ' , 	  
 	 	 	 	 	 	 	 	 	 	 	   	 e a s i n g 	 	 	 :   ' e a s e O u t B o u n c e ' ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d u r a t i o n 	 	 :   1 2 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 a u t o 	 	   	 :   t r u e ,  
 	 	 	 	 	 	 	 	 	 	 	 	 m a i n W i d t h : 9 8 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 b u t t o n s 	 	 	 :   b u t t o n s }   ) ; 	  
 	 } ) ;  
 	 / * s l i d e   d u   a n * /  
 $ ( d o c u m e n t ) . r e a d y (   f u n c t i o n ( ) { 	  
 	 	 v a r   b u t t o n s   =   {   p r e v i o u s : $ ( ' # l o f s l i d e c o n t e n t 4 7   . l o f - p r e v i o u s ' )   ,  
 	 	 	 	 	 	 n e x t : $ ( ' # l o f s l i d e c o n t e n t 4 7   . l o f - n e x t ' )   } ;  
 	 	 	 	 	 	  
 	 	 $ o b j   =   $ ( ' # l o f s l i d e c o n t e n t 4 7 ' ) . l o f J S i d e r n e w s (   {   i n t e r v a l   :   6 0 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d i r e c t i o n 	 	 :   ' o p a c i t y ' , 	  
 	 	 	 	 	 	 	 	 	 	 	   	 e a s i n g 	 	 	 :   ' e a s e O u t B o u n c e ' ,  
 	 	 	 	 	 	 	 	 	 	 	 	 d u r a t i o n 	 	 :   1 2 0 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 a u t o 	 	   	 :   t r u e ,  
 	 	 	 	 	 	 	 	 	 	 	 	 m a i n W i d t h : 9 8 0 ,  
 	 	 	 	 	 	 	 	 	 	 	 	 b u t t o n s 	 	 	 :   b u t t o n s }   ) ; 	  
 	 } ) ; 
