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