ÿþv a r   f l = f a l s e ;  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {  
 	 / /   h o v e r  
 	  
 	 $ ( ' . i m a g e s   l i ' ) . e a c h ( f u n c t i o n ( n u m ) {  
 	 	 $ ( t h i s ) . d a t a ( { n u m : n u m } ) 	 	 	 	 	 	    
 	 } )  
 	  
 	 v a r   l a s t = 0 ;  
 	  
 	 $ ( ' . i m a g e s   l i ' ) . h o v e r ( f u n c t i o n ( ) {  
 	 	 i f   ( l a s t = = $ ( t h i s ) . d a t a ( ' n u m ' ) )   {  
 	 	 	 $ ( t h i s ) . f i n d ( ' >   s p a n ' ) . c s s ( { l e f t : - 1 9 2 } ) . s t o p ( ) . a n i m a t e ( { l e f t : 0 } ,   6 0 0 ,   ' e a s e O u t C i r c ' )  
 	 	 }   e l s e   {  
 	 	 	 i f   ( l a s t < $ ( t h i s ) . d a t a ( ' n u m ' ) )   { 	 	 	 	 	 	      
 	 	 	 	 $ ( t h i s ) . f i n d ( ' >   s p a n ' ) . c s s ( { l e f t : - 1 9 2 } ) . s t o p ( ) . a n i m a t e ( { l e f t : 0 } ,   6 0 0 ,   ' e a s e O u t C i r c ' ) 	  
 	 	 	 	 $ ( ' . i m a g e s   l i ' ) . e q ( l a s t ) . f i n d ( ' >   s p a n ' ) . s t o p ( ) . a n i m a t e ( { l e f t : 1 9 2 } ,   6 0 0 ,   ' e a s e O u t C i r c ' ) 	  
 	 	 	 }   e l s e   {  
 	 	 	 	 $ ( t h i s ) . f i n d ( ' >   s p a n ' ) . c s s ( { l e f t : 1 9 2 } ) . s t o p ( ) . a n i m a t e ( { l e f t : 0 } ,   6 0 0 ,   ' e a s e O u t C i r c ' )  
 	 	 	 	 $ ( ' . i m a g e s   l i ' ) . e q ( l a s t ) . f i n d ( ' >   s p a n ' ) . s t o p ( ) . a n i m a t e ( { l e f t : - 1 9 2 } ,   6 0 0 ,   ' e a s e O u t C i r c ' ) 	  
 	 	 	 }  
 	 	 	 l a s t = $ ( t h i s ) . d a t a ( ' n u m ' ) ;  
 	 	 }  
 	 } ,   f u n c t i o n ( ) { } )  
 	  
 	 $ ( ' . i m a g e s ' ) . m o u s e l e a v e ( f u n c t i o n ( ) {  
 	 	 i f   ( l a s t < $ ( t h i s ) . d a t a ( ' n u m ' ) )   { 	 	 	 	 	 	      
 	 	 	 $ ( ' . i m a g e s   l i ' ) . e q ( l a s t ) . f i n d ( ' >   s p a n ' ) . s t o p ( ) . a n i m a t e ( { l e f t : 1 9 2 } ,   6 0 0 ,   ' e a s e O u t C i r c ' ) 	  
 	 	 }   e l s e   {  
 	 	 	 $ ( ' . i m a g e s   l i ' ) . e q ( l a s t ) . f i n d ( ' >   s p a n ' ) . s t o p ( ) . a n i m a t e ( { l e f t : - 1 9 2 } ,   6 0 0 ,   ' e a s e O u t C i r c ' ) 	  
 	 	 }  
 	 	 l a s t = 0  
 	 } )  
 	  
 	 	  
 	 $ ( ' # i c o n s   a ' ) . h o v e r ( f u n c t i o n ( ) {  
 	 	 $ ( t h i s ) . f i n d ( ' i m g ' ) . s t o p ( ) . a n i m a t e ( { o p a c i t y : 0 . 3 } ) 	 	 	 	 	 	    
 	 } ,   f u n c t i o n ( ) {  
 	 	 $ ( t h i s ) . f i n d ( ' i m g ' ) . s t o p ( ) . a n i m a t e ( { o p a c i t y : 1 } ) 	 	 	 	 	 	    
 	 } )  
 	  
 	  
 	 $ ( ' u l # m e n u ' ) . s u p e r f i s h ( {  
             d e l a y :               6 0 0 ,  
             a n i m a t i o n :       { h e i g h t : ' s h o w ' } ,  
             s p e e d :               6 0 0 ,  
             a u t o A r r o w s :     f a l s e ,  
             d r o p S h a d o w s :   f a l s e  
         } ) ;  
 	  
 	 $ ( ' . c l o s e   s p a n ' ) . c s s ( { o p a c i t y : 0 } )  
 	  
 	 $ ( ' . c l o s e ' ) . h o v e r ( f u n c t i o n ( ) {  
 	 	 $ ( t h i s ) . f i n d ( ' s p a n ' ) . s t o p ( ) . a n i m a t e ( { o p a c i t y : 1 } ) 	 	 	 	 	        
 	 } ,   f u n c t i o n ( ) {  
 	 	 $ ( t h i s ) . f i n d ( ' s p a n ' ) . s t o p ( ) . a n i m a t e ( { o p a c i t y : 0 } ) 	 	 	 	 	        
 	 } )  
 	  
   } ) ;  
 $ ( w i n d o w ) . l o a d ( f u n c t i o n ( )   { 	  
 	  
 	 / /   s c r o l l  
 	 $ ( ' . s c r o l l ' ) . c S c r o l l ( {  
 	 	 d u r a t i o n : 7 0 0 ,  
 	 	 s t e p : 7 2 ,  
 	 	 t r a c k C l : ' t r a c k ' ,  
 	 	 s h u t t l e C l : ' s h u t t l e '  
 	 } ) 	  
 	  
 	 / / c o n t e n t   s w i t c h  
 	 v a r   c o n t e n t = $ ( ' # c o n t e n t ' ) ,  
 	 	 n a v = $ ( ' . m e n u ' ) ;  
 	 n a v . n a v s ( {  
 	 	 u s e H a s h : t r u e 	 	 	 	 	 	        
 	 } ) 	  
 	 n a v . n a v s ( f u n c t i o n ( n ,   _ ) {  
 	 	 c o n t e n t . c o n t _ s w ( n ) ;  
 	 } )  
 	 c o n t e n t . c o n t _ s w ( {  
 	 	 s h o w F u : f u n c t i o n ( ) {  
 	 	 	 v a r   _ = t h i s  
 	 	 	 $ . w h e n ( _ . l i ) . t h e n ( f u n c t i o n ( ) {  
 	 	 	 	 _ . n e x t . c s s ( { d i s p l a y : ' b l o c k ' ,   l e f t : - 1 2 0 0 } ) . s t o p ( ) . a n i m a t e ( { l e f t : 0 } ,   6 0 0 ,   ' e a s e O u t C i r c ' ) ;  
 	 	 	 	 i f   ( _ . n e x t . a t t r ( ' i d ' ) = = ' p a g e _ p o r t f o l i o ' )   {  
 	 	 	 	 	 $ ( ' . i m a g e s   i m g ' ) . s t o p ( ) . a n i m a t e ( { o p a c i t y : 1 } ,   f u n c t i o n ( ) { $ ( ' . d a r k ' ) . c s s ( { d i s p l a y : ' n o n e ' } ) } )  
 	 	 	 	 	  
 	 	 	 	 }   e l s e   {  
 	 	 	 	 	 $ ( ' . i m a g e s   i m g ' ) . s t o p ( ) . a n i m a t e ( { o p a c i t y : 0 . 2 8 } ,   f u n c t i o n ( ) { $ ( ' . d a r k ' ) . c s s ( { d i s p l a y : ' b l o c k ' } ) } )  
 	 	 	 	 	  
 	 	 	 	 } 	  
 	 	 	 } ) ;  
 	 	 } ,  
 	 	 h i d e F u : f u n c t i o n ( ) {  
 	 	 	 v a r   _ = t h i s 	  
 	 	 	 _ . l i . s t o p ( ) . a n i m a t e ( { l e f t : 1 8 0 0 } , 6 0 0 ,   ' e a s e O u t C i r c ' ,   f u n c t i o n ( ) {  
 	 	 	 	 _ . l i . c s s ( { d i s p l a y : ' n o n e ' } ) ;  
 	 	 	 } )  
 	 	 } ,  
 	 	 p r e F u : f u n c t i o n ( ) {  
 	 	 	 v a r   _ = t h i s  
 	 	 	 _ . l i . c s s ( { p o s i t i o n : ' a b s o l u t e ' ,   d i s p l a y : ' n o n e ' } ) ;  
 	 	 }  
 	 } )  
 	 n a v . n a v s ( 0 )  
 	  
 	 v a r   m _ t o p = 0 ,  
 	 	 h _ c o n t = 4 4 4 ,  
 	 	 h _ c o n t _ a l l = 8 4 0 ,  
 	 	 a m o u n t = 2 7 ,  
 	 	 w _ i m g = 1 9 2 ,  
 	 	 h _ i m g = 1 4 8 ;  
 	 f u n c t i o n   c e n t r e ( )   {  
 	 	 v a r   h = $ ( w i n d o w ) . h e i g h t ( ) ;  
 	 	 v a r   w = $ ( d o c u m e n t ) . w i d t h ( ) ;  
 	 	 i f   ( h > h _ c o n t )   {  
 	 	 	 m _ t o p = ( h - h _ c o n t ) / 2 ;  
 	 	 }   e l s e   {  
 	 	 	 m _ t o p = 0  
 	 	 }  
 	 	 $ ( ' . m a i n ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : m _ t o p } )  
 	 	 n u m _ w = ~ ~ ( ( w - 2 7 0 ) / w _ i m g )  
 	 	 n u m _ h = M a t h . c e i l ( a m o u n t / n u m _ w ) ;  
 	 	 h _ c o n t _ n e w = n u m _ h * h _ i m g ;  
 	 	 i f   ( h _ c o n t _ n e w > h )   {  
 	 	 	 	 $ ( ' . c e n t e r ' ) . c s s ( { h e i g h t : h _ c o n t _ n e w } ) ;  
 	 	 	 	 $ ( ' . i m a g e s ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : 0 } )  
 	 	 	 	 i f   ( h _ c o n t _ a l l > h _ c o n t _ n e w )   {  
 	 	 	 	 	 $ ( ' . c e n t e r ' ) . c s s ( { h e i g h t : h _ c o n t _ a l l } ) ;  
 	 	 	 	 	 $ ( ' . i m a g e s ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : ( h _ c o n t _ a l l - h _ c o n t _ n e w ) / 2 } )  
 	 	 	 	 }   e l s e   {  
 	 	 	 	 	 $ ( ' . c e n t e r ' ) . c s s ( { h e i g h t : h _ c o n t _ n e w } ) ;  
 	 	 	 	 	 $ ( ' . i m a g e s ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : 0 } )  
 	 	 	 	 }  
 	 	 }   e l s e   {  
 	 	 	 i f   ( h > h _ c o n t _ a l l )   {  
 	 	 	 	 $ ( ' . c e n t e r ' ) . c s s ( { h e i g h t : h } ) ;  
 	 	 	 	 $ ( ' . i m a g e s ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : ( h - h _ c o n t _ n e w ) / 2 } )  
 	 	 	 }   e l s e   {  
 	 	 	 	 $ ( ' . c e n t e r ' ) . c s s ( { h e i g h t : h _ c o n t _ a l l } ) ;  
 	 	 	 	 $ ( ' . i m a g e s ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : ( h _ c o n t _ a l l - h _ c o n t _ n e w ) / 2 } )  
 	 	 	 }  
 	 	 }  
 	 	 i f   ( h > h _ c o n t _ a l l )   {  
 	 	 	 m _ t o p = ( h - h _ c o n t _ a l l ) / 2 ;  
 	 	 }   e l s e   {  
 	 	 	 m _ t o p = 0  
 	 	 }  
 	 	 $ ( ' h 1 ' ) . s t o p ( ) . a n i m a t e ( { m a r g i n T o p : m _ t o p } )  
 	 }  
 	 c e n t r e ( ) ;  
 	 $ ( w i n d o w ) . r e s i z e ( c e n t r e ) ;  
 	  
 } ) 
