ÿþ$ s l i d e s h o w   =   {   
         c o n t e x t :   f a l s e ,     
         s l i d e s :   { } , 
         t a b s :   { } , 
         t i m e o u t :   6 0 0 0 ,             / /   t i m e   b e f o r e   n e x t   s l i d e   a p p e a r s   ( i n   m s )     
         s l i d e S p e e d :   1 6 0 0 ,       / /   t i m e   i t   t a k e s   t o   s l i d e   i n   e a c h   s l i d e   ( i n   m s )     
         t a b S p e e d :   5 0 0 ,             / /   t i m e   i t   t a k e s   t o   s l i d e   i n   e a c h   s l i d e   ( i n   m s )   w h e n   c l i c k i n g   t h r o u g h   t a b s     
         f x :   ' f a d e ' ,       / /   t h e   s l i d e   e f f e c t   t o   u s e     
 
         i n i t :   f u n c t i o n ( s l i d e s ,   t a b s ,   c o n t e x t )   {     
                 / /   s e t   t h e   c o n t e x t   t o   h e l p   s p e e d   u p   s e l e c t o r s / i m p r o v e   p e r f o r m a n c e     
                 t h i s . c o n t e x t   =   $ ( c o n t e x t ) ;     
 
                 / /   s e t   a n   i n s t a n c e   v a r   f o r   t h e   s l i d e s   t o   c y c l e 
                 t h i s . s l i d e s   =   $ ( s l i d e s ,   t h i s . c o n t e x t ) ; 
 
                 / /   s e t   t a b s   t o   c u r r e n t   h a r d   c o d e d   n a v i g a t i o n   i t e m s     
                 t h i s . t a b s   =   $ ( t a b s ,   t h i s . c o n t e x t ) ; 
                 t h i s . t a b s . p a r e n t   =   t h i s . t a b s . p a r e n t ( ) ; 
 
                 / /   r e m o v e   h a r d   c o d e d   n a v i g a t i o n   i t e m s   f r o m   D O M       
                 / /   b e c a u s e   t h e y   a r e n ' t   h o o k e d   u p   t o   j Q u e r y   c y c l e     
                 t h i s . t a b s . r e m o v e ( ) ; 
 
                 / /   p r e p a r e   s l i d e s h o w   a n d   j Q u e r y   c y c l e   t a b s     
                 t h i s . p r e p a r e S l i d e s h o w ( ) ;     
         } ,     
 
         p r e p a r e S l i d e s h o w :   f u n c t i o n ( )   {     
                 / /   i n i t i a l i s e   t h e   j q u e r y   c y c l e   p l u g i n   -     
                 / /   f o r   i n f o r m a t i o n   o n   t h e   o p t i o n s   s e t   b e l o w   g o   t o :       
                 / /   h t t p : / / m a l s u p . c o m / j q u e r y / c y c l e / o p t i o n s . h t m l     
                 t h i s . s l i d e s . c y c l e ( {     
                         c l e a r t y p e N o B g :   t r u e , 
                         f x :   $ s l i d e s h o w . f x , 
                         t i m e o u t :   $ s l i d e s h o w . t i m e o u t , 
                         s p e e d :   $ s l i d e s h o w . s l i d e S p e e d , 
                         f a s t O n E v e n t :   $ s l i d e s h o w . t a b S p e e d , 
                         p a g e r :   $ s l i d e s h o w . t a b s . p a r e n t , 
                         p a g e r A n c h o r B u i l d e r :   $ s l i d e s h o w . p r e p a r e T a b s , 
                         b e f o r e :   $ s l i d e s h o w . a c t i v a t e T a b , 
                         p a u s e O n P a g e r H o v e r :   t r u e , 
                         p a u s e :   t r u e 
                 } ) ;                             
         } ,     
 
         p r e p a r e T a b s :   f u n c t i o n ( i ,   s l i d e )   {     
                 / /   r e t u r n   m a r k u p   f r o m   h a r d c o d e d   t a b s   f o r   u s e   a s   j Q u e r y   c y c l e   t a b s     
                 / /   ( a t t a c h e s   n e c e s s a r y   j Q u e r y   c y c l e   e v e n t s   t o   t a b s )     
                 r e t u r n   $ s l i d e s h o w . t a b s . e q ( i ) ;     
         } ,     
 
         a c t i v a t e T a b :   f u n c t i o n ( c u r r e n t S l i d e ,   n e x t S l i d e )   {     
                 / /   g e t   t h e   a c t i v e   t a b     
                 v a r   a c t i v e T a b   =   $ ( ' a [ h r e f = " # '   +   n e x t S l i d e . i d   +   ' " ] ' ,   $ s l i d e s h o w . c o n t e x t ) ;   
 
                 / /   i f   t h e r e   i s   a n   a c t i v e   t a b   
                 i f ( a c t i v e T a b . l e n g t h )   {   
                         / /   r e m o v e   a c t i v e   s t y l i n g   f r o m   a l l   o t h e r   t a b s   
                         $ s l i d e s h o w . t a b s . r e m o v e C l a s s ( ' o n ' ) ;   
 
                         / /   a d d   a c t i v e   s t y l i n g   t o   a c t i v e   b u t t o n   
                         a c t i v e T a b . p a r e n t ( ) . a d d C l a s s ( ' o n ' ) ;     
                 }                             
         } , 
 
         p a u s e :   f u n c t i o n ( )   { 
                 t h i s . s l i d e s . c y c l e ( ' p a u s e ' ) ; 
         } , 
 
         r e s u m e :   f u n c t i o n ( i n s t a n t )   { 
                 t h i s . s l i d e s . c y c l e ( ' r e s u m e ' ,   i n s t a n t ) ; 
         } 
 } ;     
 
 
 $ ( f u n c t i o n ( )   {     
         / /   a d d   a   ' j s '   c l a s s   t o   t h e   b o d y     
         $ ( ' b o d y ' ) . a d d C l a s s ( ' j s ' ) ; 
 
         / /   i n i t i a l i s e   t h e   s l i d e s h o w   w h e n   t h e   D O M   i s   r e a d y     
         $ s l i d e s h o w . i n i t ( ' d i v . s l i d e s   >   u l ' ,   ' u l . s l i d e s - n a v   l i ' ,   ' # s l i d e s h o w ' ) ; 
 
         / /   a t t a c h   p a u s e   f u n c t i o n a l i t y   t o   p a u s e   b u t t o n 
         $ ( ' # p a u s e B u t t o n ' ) . c l i c k ( f u n c t i o n ( )   { 
                 $ s l i d e s h o w . p a u s e ( ) ; 
         } ) ; 
 
         / /   a t t a c h   r e s u m e   f u n c t i o n a l i t y   t o   r e s u m e   b u t t o n 
         $ ( ' # r e s u m e B u t t o n ' ) . c l i c k ( f u n c t i o n ( )   { 
                 $ s l i d e s h o w . r e s u m e ( t r u e ) ; 
         } ) ; 
 } ) ; 
 
