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