ÿþ/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
 N a m e :         H i g h s l i d e   J S  
 V e r s i o n :   4 . 1 . 0   ( M a r c h   1 2   2 0 0 9 )  
 C o n f i g :     d e f a u l t   + e v e n t s   + u n o b t r u s i v e   + i m a g e m a p   + s l i d e s h o w   + p o s i t i o n i n g   + t r a n s i t i o n s   + v i e w p o r t   + t h u m b s t r i p   + i n l i n e   + a j a x   + i f r a m e   + f l a s h  
 A u t h o r :     T o r s t e i n   H ø n s i  
 S u p p o r t :   h t t p : / / h i g h s l i d e . c o m / s u p p o r t  
  
 L i c e n c e :  
 H i g h s l i d e   J S   i s   l i c e n s e d   u n d e r   a   C r e a t i v e   C o m m o n s   A t t r i b u t i o n - N o n C o m m e r c i a l   2 . 5  
 L i c e n s e   ( h t t p : / / c r e a t i v e c o m m o n s . o r g / l i c e n s e s / b y - n c / 2 . 5 / ) .  
  
 Y o u   a r e   f r e e :  
 	 *   t o   c o p y ,   d i s t r i b u t e ,   d i s p l a y ,   a n d   p e r f o r m   t h e   w o r k  
 	 *   t o   m a k e   d e r i v a t i v e   w o r k s  
  
 U n d e r   t h e   f o l l o w i n g   c o n d i t i o n s :  
 	 *   A t t r i b u t i o n .   Y o u   m u s t   a t t r i b u t e   t h e   w o r k   i n   t h e   m a n n e r     s p e c i f i e d   b y     t h e  
 	     a u t h o r   o r   l i c e n s o r .  
 	 *   N o n c o m m e r c i a l .   Y o u   m a y   n o t   u s e   t h i s   w o r k   f o r   c o m m e r c i a l   p u r p o s e s .  
  
 *   F o r     a n y     r e u s e     o r     d i s t r i b u t i o n ,   y o u     m u s t   m a k e   c l e a r   t o   o t h e r s   t h e   l i c e n s e  
     t e r m s   o f   t h i s   w o r k .  
 *   A n y     o f     t h e s e     c o n d i t i o n s     c a n     b e     w a i v e d     i f     y o u     g e t   p e r m i s s i o n   f r o m   t h e    
     c o p y r i g h t   h o l d e r .  
  
 Y o u r   f a i r   u s e   a n d   o t h e r   r i g h t s   a r e   i n   n o   w a y   a f f e c t e d   b y   t h e   a b o v e .  
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /  
 v a r   h s   =   {  
 / /   L a n g u a g e   s t r i n g s  
 l a n g   :   {  
 	 c s s D i r e c t i o n :   ' l t r ' ,  
 	 l o a d i n g T e x t   :   ' Y ü k l e n i y o r . . . ' ,  
 	 l o a d i n g T i t l e   :   ' Ç 1k ' ,  
 	 f o c u s T i t l e   :   ' A l t a   a l ' ,  
 	 f u l l E x p a n d T i t l e   :   ' G e r ç e k   B o y u t   ( f ) ' ,  
 	 c r e d i t s T e x t   :   ' ' ,  
 	 c r e d i t s T i t l e   :   ' ' ,  
 	 p r e v i o u s T e x t   :   ' ö n c e k i ' ,  
 	 n e x t T e x t   :   ' s o n r a k i ' ,    
 	 m o v e T e x t   :   ' t a _1' ,  
 	 c l o s e T e x t   :   ' k a p a t ' ,    
 	 c l o s e T i t l e   :   ' k a p a t   ( e s c ) ' ,    
 	 r e s i z e T i t l e   :   ' b o y u t l a n d 1r ' ,  
 	 p l a y T e x t   :   ' B a _l a t ' ,  
 	 p l a y T i t l e   :   ' S l a y t   B a _l a t   ( a r a   t u _u ) ' ,  
 	 p a u s e T e x t   :   ' D u r ' ,  
 	 p a u s e T i t l e   :   ' S l a y t 1  d u r d u r   ( a r a   t u _u ) ' ,  
 	 p r e v i o u s T i t l e   :   ' ö n c e k i   ( s o l   o k ) ' ,  
 	 n e x t T i t l e   :   ' s o n r a k i   ( s a   o k ) ' ,  
 	 m o v e T i t l e   :   ' t a _1' ,  
 	 f u l l E x p a n d T e x t   :   ' 1 : 1 ' ,  
 	 n u m b e r :   ' I m a g e   % 1   o f   % 2 ' ,  
 	 r e s t o r e T i t l e   :   ' k a p a t a b i l i r   v e y a   ö n c e k i   s o n r a k i   k a y 1t l a r 1  g ö r e b i l i r s i n i z . '  
 } ,  
 / /   S e e   h t t p : / / h i g h s l i d e . c o m / r e f   f o r   e x a m p l e s   o f   s e t t i n g s      
 g r a p h i c s D i r   :   ' h i g h s l i d e / g r a p h i c s / ' ,  
 e x p a n d C u r s o r   :   ' z o o m i n . c u r ' ,   / /   n u l l   d i s a b l e s  
 r e s t o r e C u r s o r   :   ' z o o m o u t . c u r ' ,   / /   n u l l   d i s a b l e s  
 e x p a n d D u r a t i o n   :   2 5 0 ,   / /   m i l l i s e c o n d s  
 r e s t o r e D u r a t i o n   :   2 5 0 ,  
 m a r g i n L e f t   :   1 5 ,  
 m a r g i n R i g h t   :   1 5 ,  
 m a r g i n T o p   :   1 5 ,  
 m a r g i n B o t t o m   :   1 5 ,  
 z I n d e x C o u n t e r   :   1 0 0 1 ,   / /   a d j u s t   t o   o t h e r   a b s o l u t e l y   p o s i t i o n e d   e l e m e n t s  
 l o a d i n g O p a c i t y   :   0 . 7 5 ,  
 a l l o w M u l t i p l e I n s t a n c e s :   t r u e ,  
 n u m b e r O f I m a g e s T o P r e l o a d   :   5 ,  
 o u t l i n e W h i l e A n i m a t i n g   :   2 ,   / /   0   =   n e v e r ,   1   =   a l w a y s ,   2   =   H T M L   o n l y    
 o u t l i n e S t a r t O f f s e t   :   3 ,   / /   e n d s   a t   1 0  
 p a d T o M i n W i d t h   :   f a l s e ,   / /   p a d   t h e   p o p u p   w i d t h   t o   m a k e   r o o m   f o r   w i d e   c a p t i o n  
 f u l l E x p a n d P o s i t i o n   :   ' b o t t o m   r i g h t ' ,  
 f u l l E x p a n d O p a c i t y   :   1 ,  
 s h o w C r e d i t s   :   t r u e ,   / /   y o u   c a n   s e t   t h i s   t o   f a l s e   i f   y o u   w a n t  
 c r e d i t s H r e f   :   ' ' ,  
 e n a b l e K e y L i s t e n e r   :   t r u e ,  
 o p e n e r T a g N a m e s   :   [ ' a ' ,   ' a r e a ' ] ,   / /   A d d   m o r e   t o   a l l o w   s l i d e s h o w   i n d e x i n g  
 t r a n s i t i o n s   :   [ ] ,  
 t r a n s i t i o n D u r a t i o n :   2 5 0 ,  
 d i m m i n g O p a c i t y :   0 ,   / /   L i g h t b o x   s t y l e   d i m m i n g   b a c k g r o u n d  
 d i m m i n g D u r a t i o n :   5 0 ,   / /   0   f o r   i n s t a n t   d i m m i n g  
  
 a l l o w W i d t h R e d u c t i o n   :   f a l s e ,  
 a l l o w H e i g h t R e d u c t i o n   :   t r u e ,  
 p r e s e r v e C o n t e n t   :   t r u e ,   / /   P r e s e r v e   c h a n g e s   m a d e   t o   t h e   c o n t e n t   a n d   p o s i t i o n   o f   H T M L   p o p u p s .  
 o b j e c t L o a d T i m e   :   ' b e f o r e ' ,   / /   L o a d   i f r a m e s   ' b e f o r e '   o r   ' a f t e r '   e x p a n s i o n .  
 c a c h e A j a x   :   t r u e ,   / /   C a c h e   a j a x   p o p u p s   f o r   i n s t a n t   d i s p l a y .   C a n   b e   o v e r r i d d e n   f o r   e a c h   p o p u p .  
 a n c h o r   :   ' a u t o ' ,   / /   w h e r e   t h e   i m a g e   e x p a n d s   f r o m  
 a l i g n   :   ' a u t o ' ,   / /   p o s i t i o n   i n   t h e   c l i e n t   ( o v e r r i d e s   a n c h o r )  
 t a r g e t X :   n u l l ,   / /   t h e   i d   o f   a   t a r g e t   e l e m e n t  
 t a r g e t Y :   n u l l ,  
 d r a g B y H e a d i n g :   t r u e ,  
 m i n W i d t h :   2 0 0 ,  
 m i n H e i g h t :   2 0 0 ,  
 a l l o w S i z e R e d u c t i o n :   t r u e ,   / /   a l l o w   t h e   i m a g e   t o   r e d u c e   t o   f i t   c l i e n t   s i z e .   I f   f a l s e ,   t h i s   o v e r r i d e s   m i n W i d t h   a n d   m i n H e i g h t  
 o u t l i n e T y p e   :   ' d r o p - s h a d o w ' ,   / /   s e t   n u l l   t o   d i s a b l e   o u t l i n e s  
 w r a p p e r C l a s s N a m e   :   ' h i g h s l i d e - w r a p p e r ' ,   / /   f o r   e n h a n c e d   c s s - c o n t r o l  
 s k i n   :   {  
 	 c o n t r o l s :  
 	 	 ' < d i v   c l a s s = " h i g h s l i d e - c o n t r o l s " > < u l > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - p r e v i o u s " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . p r e v i o u s T i t l e } " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . p r e v i o u s T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - p l a y " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . p l a y T i t l e } " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . p l a y T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - p a u s e " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . p a u s e T i t l e } " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . p a u s e T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - n e x t " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . n e x t T i t l e } " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . n e x t T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - m o v e " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . m o v e T i t l e } " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . m o v e T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - f u l l - e x p a n d " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . f u l l E x p a n d T i t l e } " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . f u l l E x p a n d T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - c l o s e " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . c l o s e T i t l e } "   > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . c l o s e T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 ' < / u l > < / d i v > '  
 	 ,  
 	 c o n t e n t W r a p p e r :  
 	 	 ' < d i v   c l a s s = " h i g h s l i d e - h e a d e r " > < u l > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - p r e v i o u s " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . p r e v i o u s T i t l e } "   o n c l i c k = " r e t u r n   h s . p r e v i o u s ( t h i s ) " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . p r e v i o u s T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - n e x t " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . n e x t T i t l e } "   o n c l i c k = " r e t u r n   h s . n e x t ( t h i s ) " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . n e x t T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - m o v e " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . m o v e T i t l e } "   o n c l i c k = " r e t u r n   f a l s e " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . m o v e T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 	 ' < l i   c l a s s = " h i g h s l i d e - c l o s e " > ' +  
 	 	 	 	 ' < a   h r e f = " # "   t i t l e = " { h s . l a n g . c l o s e T i t l e } "   o n c l i c k = " r e t u r n   h s . c l o s e ( t h i s ) " > ' +  
 	 	 	 	 ' < s p a n > { h s . l a n g . c l o s e T e x t } < / s p a n > < / a > ' +  
 	 	 	 ' < / l i > ' +  
 	 	 ' < / u l > < / d i v > ' +  
 	 	 ' < d i v   c l a s s = " h i g h s l i d e - b o d y " > < / d i v > ' +  
 	 	 ' < d i v   c l a s s = " h i g h s l i d e - f o o t e r " > < d i v > ' +  
 	 	 	 ' < s p a n   c l a s s = " h i g h s l i d e - r e s i z e "   t i t l e = " { h s . l a n g . r e s i z e T i t l e } " > < s p a n > < / s p a n > < / s p a n > ' +  
 	 	 ' < / d i v > < / d i v > '  
 } ,  
 / /   E N D   O F   Y O U R   S E T T I N G S  
  
  
 / /   d e c l a r e   i n t e r n a l   p r o p e r t i e s  
 p r e l o a d T h e s e I m a g e s   :   [ ] ,  
 c o n t i n u e P r e l o a d i n g :   t r u e ,  
 e x p a n d e r s   :   [ ] ,  
 o v e r r i d e s   :   [  
 	 ' a l l o w S i z e R e d u c t i o n ' ,  
 	 ' u s e B o x ' ,  
 	 ' a n c h o r ' ,  
 	 ' a l i g n ' ,  
 	 ' t a r g e t X ' ,  
 	 ' t a r g e t Y ' ,  
 	 ' o u t l i n e T y p e ' ,  
 	 ' o u t l i n e W h i l e A n i m a t i n g ' ,  
 	 ' c a p t i o n I d ' ,  
 	 ' c a p t i o n T e x t ' ,  
 	 ' c a p t i o n E v a l ' ,  
 	 ' c a p t i o n O v e r l a y ' ,  
 	 ' h e a d i n g I d ' ,  
 	 ' h e a d i n g T e x t ' ,  
 	 ' h e a d i n g E v a l ' ,  
 	 ' h e a d i n g O v e r l a y ' ,  
 	 ' d r a g B y H e a d i n g ' ,  
 	 ' a u t o p l a y ' ,  
 	 ' n u m b e r P o s i t i o n ' ,  
 	 ' t r a n s i t i o n s ' ,  
 	 ' d i m m i n g O p a c i t y ' ,  
 	  
 	 ' w i d t h ' ,  
 	 ' h e i g h t ' ,  
 	  
 	 ' c o n t e n t I d ' ,  
 	 ' a l l o w W i d t h R e d u c t i o n ' ,  
 	 ' a l l o w H e i g h t R e d u c t i o n ' ,  
 	 ' p r e s e r v e C o n t e n t ' ,  
 	 ' m a i n c o n t e n t I d ' ,  
 	 ' m a i n c o n t e n t T e x t ' ,  
 	 ' m a i n c o n t e n t E v a l ' ,  
 	 ' o b j e c t T y p e ' , 	  
 	 ' c a c h e A j a x ' , 	  
 	 ' o b j e c t W i d t h ' ,  
 	 ' o b j e c t H e i g h t ' ,  
 	 ' o b j e c t L o a d T i m e ' , 	  
 	 ' s w f O p t i o n s ' ,  
 	 ' w r a p p e r C l a s s N a m e ' ,  
 	 ' m i n W i d t h ' ,  
 	 ' m i n H e i g h t ' ,  
 	 ' m a x W i d t h ' ,  
 	 ' m a x H e i g h t ' ,  
 	 ' s l i d e s h o w G r o u p ' ,  
 	 ' e a s i n g ' ,  
 	 ' e a s i n g C l o s e ' ,  
 	 ' f a d e I n O u t ' ,  
 	 ' s r c '  
 ] ,  
 o v e r l a y s   :   [ ] ,  
 i d C o u n t e r   :   0 ,  
 o P o s   :   {  
 	 x :   [ ' l e f t p a n e l ' ,   ' l e f t ' ,   ' c e n t e r ' ,   ' r i g h t ' ,   ' r i g h t p a n e l ' ] ,  
 	 y :   [ ' a b o v e ' ,   ' t o p ' ,   ' m i d d l e ' ,   ' b o t t o m ' ,   ' b e l o w ' ]  
 } ,  
 m o u s e :   { } ,  
 h e a d i n g O v e r l a y :   { } ,  
 c a p t i o n O v e r l a y :   { } ,  
 s w f O p t i o n s :   {   f l a s h v a r s :   { } ,   p a r a m s :   { } ,   a t t r i b u t e s :   { }   } ,  
 t i m e r s   :   [ ] ,  
  
 s l i d e s h o w s   :   [ ] ,  
  
 p e n d i n g O u t l i n e s   :   { } ,  
 s l e e p i n g   :   [ ] ,  
 p r e l o a d T h e s e A j a x   :   [ ] ,  
 c a c h e B i n d i n g s   :   [ ] ,  
 c a c h e d G e t s   :   { } ,  
 c l o n e s   :   { } ,  
 u a V e r s i o n :   p a r s e F l o a t ( ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) . m a t c h (   / . + ( ? : r v | i t | r a | i e ) [ \ / :   ] ( [ \ d . ] + ) /   )   | |   [ 0 , ' 0 ' ] ) [ 1 ] ) ,  
 i e   :   ( d o c u m e n t . a l l   & &   ! w i n d o w . o p e r a ) ,  
 s a f a r i   :   / S a f a r i / . t e s t ( n a v i g a t o r . u s e r A g e n t ) ,  
 g e c k o M a c   :   / M a c i n t o s h . + r v : 1 \ . [ 0 - 8 ] . + G e c k o / . t e s t ( n a v i g a t o r . u s e r A g e n t ) ,  
  
 $   :   f u n c t i o n   ( i d )   {  
 	 i f   ( i d )   r e t u r n   d o c u m e n t . g e t E l e m e n t B y I d ( i d ) ;  
 } ,  
  
 p u s h   :   f u n c t i o n   ( a r r ,   v a l )   {  
 	 a r r [ a r r . l e n g t h ]   =   v a l ;  
 } ,  
  
 c r e a t e E l e m e n t   :   f u n c t i o n   ( t a g ,   a t t r i b s ,   s t y l e s ,   p a r e n t ,   n o p a d )   {  
 	 v a r   e l   =   d o c u m e n t . c r e a t e E l e m e n t ( t a g ) ;  
 	 i f   ( a t t r i b s )   h s . e x t e n d ( e l ,   a t t r i b s ) ;  
 	 i f   ( n o p a d )   h s . s e t S t y l e s ( e l ,   { p a d d i n g :   0 ,   b o r d e r :   ' n o n e ' ,   m a r g i n :   0 } ) ;  
 	 i f   ( s t y l e s )   h s . s e t S t y l e s ( e l ,   s t y l e s ) ;  
 	 i f   ( p a r e n t )   p a r e n t . a p p e n d C h i l d ( e l ) ; 	  
 	 r e t u r n   e l ;  
 } ,  
  
 e x t e n d   :   f u n c t i o n   ( e l ,   a t t r i b s )   {  
 	 f o r   ( v a r   x   i n   a t t r i b s )   e l [ x ]   =   a t t r i b s [ x ] ;  
 	 r e t u r n   e l ;  
 } ,  
  
 s e t S t y l e s   :   f u n c t i o n   ( e l ,   s t y l e s )   {  
 	 f o r   ( v a r   x   i n   s t y l e s )   {  
 	 	 i f   ( h s . i e   & &   x   = =   ' o p a c i t y ' )   {  
 	 	 	 i f   ( s t y l e s [ x ]   >   0 . 9 9 )   e l . s t y l e . r e m o v e A t t r i b u t e ( ' f i l t e r ' ) ;  
 	 	 	 e l s e   e l . s t y l e . f i l t e r   =   ' a l p h a ( o p a c i t y = ' +   ( s t y l e s [ x ]   *   1 0 0 )   + ' ) ' ;  
 	 	 }  
 	 	 e l s e   e l . s t y l e [ x ]   =   s t y l e s [ x ] ;  
 	 }  
 } ,  
 a n i m a t e :   f u n c t i o n ( e l ,   p r o p ,   d u r ,   e a s i n g ,   c a l l b a c k )   {  
 	 v a r   r a t e   =   2 5 ,  
 	 	 f r o m   =   { } ,  
 	 	 t o   =   { } ,  
 	 	 u n i t s   =   { } ,  
 	 	 t i m e r s   =   h s . t i m e r s ,  
 	 	 t i m e r   =   [ ] ,  
 	 	 s t e p ;  
 	 i f   ( t y p e o f   d u r   = =   ' o b j e c t '   & &   d u r   ! =   n u l l )   {  
 	 	 e a s i n g   =   d u r . e a s i n g ;  
 	 	 c a l l b a c k   =   d u r . c a l l b a c k ;  
 	 	 s t e p   =   d u r . s t e p ;  
 	 	 d u r   =   d u r . d u r a t i o n ;  
 	 }  
  
 	 i f   ( t y p e o f   d u r   ! =   ' n u m b e r ' )   d u r   =   2 5 0 ;  
 	 d u r   =   M a t h . f l o o r ( d u r   /   r a t e )   *   r a t e   +   r a t e ;  
 	 e a s i n g   =   M a t h [ e a s i n g ]   | |   M a t h . e a s e I n Q u a d ;  
 	 f o r   ( v a r   x   i n   p r o p )   {  
 	 	 f r o m [ x ]   =   p a r s e F l o a t ( h s . c s s ( e l ,   x ) )   | |   0 ;  
 	 	 t o [ x ]   =   p a r s e F l o a t ( p r o p [ x ] ) ;  
 	 	 u n i t s [ x ]   =   x   ! =   ' o p a c i t y '   ?   ' p x '   :   ' ' ;  
 	 }  
 	 f o r   ( v a r   t i m e   =   r a t e ;   t i m e   < =   d u r ;   t i m e   + =   r a t e )   {  
 	 	 ( f u n c t i o n ( ) {  
 	 	 	 v a r   i n t e r   =   { } ,   s t e p s   =   [ ] ;  
 	 	 	  
 	 	 	 f o r   ( v a r   x   i n   p r o p )   {  
 	 	 	 	 i n t e r [ x ]   =   e a s i n g ( t i m e ,   f r o m [ x ] ,   t o [ x ]   -   f r o m [ x ] ,   d u r ) ;  
 	 	 	 	 i f   ( i s N a N ( i n t e r [ x ] ) )   i n t e r [ x ]   =   t o [ x ] ;  
 	 	 	 	 i f   ( u n i t s [ x ] )   i n t e r [ x ]   =   M a t h . r o u n d ( i n t e r [ x ] ) ;  
 	 	 	 	 i f   ( s t e p )   ( f u n c t i o n ( )   {  
 	 	 	 	 	 v a r   v a l   =   i n t e r [ x ] ,  
 	 	 	 	 	 	 p X   =   x ;  
 	 	 	 	 	 h s . p u s h ( s t e p s ,   f u n c t i o n ( )   {  
 	 	 	 	 	 	 s t e p ( v a l ,   {   p r o p :   p X   }   )    
 	 	 	 	 	 } ) ;  
 	 	 	 	 } ) ( ) ;  
 	 	 	 	 i n t e r [ x ]   + =   u n i t s [ x ] ;  
 	 	 	 	  
 	 	 	 }  
 	 	 	 t i m e r . p u s h ( f u n c t i o n ( )   {  
 	 	 	 	 h s . s e t S t y l e s ( e l ,   i n t e r ) ;  
 	 	 	 	 i f   ( s t e p s )   f o r   ( v a r   i   =   0 ;   i   <   s t e p s . l e n g t h ;   i + + )   s t e p s [ i ] ( ) ;  
 	 	 	 } ) ;  
 	 	 } ) ( ) ;  
 	 }  
 	 f o r   ( v a r   i   =   0 ;   i   <   t i m e r s . l e n g t h ;   i + + )   {  
 	 	 i f   ( t i m e r s [ i ] . e l   = =   e l )   {  
 	 	 	 t i m e r s . s p l i c e ( i - - ,   1 ) ;  
 	 	 }  
 	 }  
 	 t i m e r . e l   =   e l ;  
 	 t i m e r . c a l l b a c k   =   c a l l b a c k ;  
 	 t i m e r . s h i f t ( ) ( ) ;  
 	 i f   ( t i m e r . l e n g t h )   t i m e r s . p u s h ( t i m e r ) ;  
 	 e l s e   i f   ( c a l l b a c k )   c a l l b a c k ( ) ;  
 	 i f   ( h s . t i m e r I d   = =   n u l l )   {  
 	 	 h s . t i m e r I d   =   s e t I n t e r v a l (   f u n c t i o n ( )   {  
 	 	 	 f o r   (   v a r   i   =   0 ;   i   <   t i m e r s . l e n g t h ;   i + +   )   {  
 	 	 	 	 t i m e r s [ i ] . s h i f t ( ) ( ) ;  
 	 	 	 	 i f   ( ! t i m e r s [ i ] . l e n g t h )   {  
 	 	 	 	 	 i f   ( t i m e r s [ i ] . c a l l b a c k )   t i m e r s [ i ] . c a l l b a c k ( ) ;  
 	 	 	 	 	 t i m e r s . s p l i c e ( i - - ,   1 ) ;  
 	 	 	 	 }  
 	 	 	 }  
  
 	 	 	 i f   (   ! t i m e r s . l e n g t h   )   {  
 	 	 	 	 c l e a r I n t e r v a l (   h s . t i m e r I d   ) ;  
 	 	 	 	 h s . t i m e r I d   =   n u l l ;  
 	 	 	 }  
 	 	 } ,   r a t e ) ;  
 	 }  
 } ,  
 c s s :   f u n c t i o n ( e l ,   p r o p )   {  
 	 i f   ( d o c u m e n t . d e f a u l t V i e w )   {  
 	 	 r e t u r n   d o c u m e n t . d e f a u l t V i e w . g e t C o m p u t e d S t y l e ( e l ,   n u l l ) . g e t P r o p e r t y V a l u e ( p r o p ) ;  
  
 	 }   e l s e   {  
 	 	 i f   ( p r o p   = =   ' o p a c i t y ' )   p r o p   =   ' f i l t e r ' ;  
 	 	 v a r   v a l   =   e l . c u r r e n t S t y l e [ p r o p . r e p l a c e ( / \ - ( \ w ) / g ,   f u n c t i o n   ( a ,   b ) {   r e t u r n   b . t o U p p e r C a s e ( ) ;   } ) ] ;  
 	 	 i f   ( p r o p   = =   ' f i l t e r ' )    
 	 	 	 v a l   =   v a l . r e p l a c e ( / a l p h a \ ( o p a c i t y = ( [ 0 - 9 ] + ) \ ) / ,    
 	 	 	 	 f u n c t i o n   ( a ,   b )   {   r e t u r n   b   /   1 0 0   } ) ;  
 	 	 r e t u r n   v a l   = = =   ' '   ?   1   :   v a l ;  
 	 }    
 } ,  
  
 g e t P a g e S i z e   :   f u n c t i o n   ( )   {  
 	 v a r   d   =   d o c u m e n t ,   w   =   w i n d o w ,   i e b o d y   =   d . c o m p a t M o d e   & &   d . c o m p a t M o d e   ! =   ' B a c k C o m p a t '    
 	 	 ?   d . d o c u m e n t E l e m e n t   :   d . b o d y ; 	  
 	  
 	  
 	 v a r   b   =   d . b o d y ;  
 	 v a r   x S c r o l l   =   ( w . i n n e r W i d t h   & &   w . s c r o l l M a x X )    
 	 	 	 ?   w . i n n e r W i d t h   +   w . s c r o l l M a x X   :   M a t h . m a x ( b . s c r o l l W i d t h ,   b . o f f s e t W i d t h ) ,  
 	 	 y S c r o l l   =   ( w . i n n e r H e i g h t   & &   w i n d o w . s c r o l l M a x Y )    
 	 	 	 ?   w . i n n e r H e i g h t   +   w . s c r o l l M a x Y   :   M a t h . m a x ( b . s c r o l l H e i g h t ,   b . o f f s e t H e i g h t ) ,  
 	 	 p a g e W i d t h   =   h s . i e   ?   i e b o d y . s c r o l l W i d t h   :  
 	 	 	 ( d . d o c u m e n t E l e m e n t . c l i e n t W i d t h   | |   s e l f . i n n e r W i d t h ) ,  
             	 p a g e H e i g h t   =   h s . i e   ?   M a t h . m a x ( i e b o d y . s c r o l l H e i g h t ,   i e b o d y . c l i e n t H e i g h t )   :    
 	 	 	 ( d . d o c u m e n t E l e m e n t . c l i e n t H e i g h t   | |   s e l f . i n n e r H e i g h t ) ;  
 	  
 	 v a r   w i d t h   =   h s . i e   ?   i e b o d y . c l i e n t W i d t h   :    
 	 	 	 ( d . d o c u m e n t E l e m e n t . c l i e n t W i d t h   | |   s e l f . i n n e r W i d t h ) ,  
 	 	 h e i g h t   =   h s . i e   ?   i e b o d y . c l i e n t H e i g h t   :   s e l f . i n n e r H e i g h t ;  
 	  
 	 r e t u r n   {  
 	 	 p a g e W i d t h :   M a t h . m a x ( p a g e W i d t h ,   x S c r o l l ) ,  
 	 	 p a g e H e i g h t :   M a t h . m a x ( p a g e H e i g h t ,   y S c r o l l ) ,  
 	 	 w i d t h :   w i d t h ,  
 	 	 h e i g h t :   h e i g h t , 	 	  
 	 	 s c r o l l L e f t :   h s . i e   ?   i e b o d y . s c r o l l L e f t   :   p a g e X O f f s e t ,  
 	 	 s c r o l l T o p :   h s . i e   ?   i e b o d y . s c r o l l T o p   :   p a g e Y O f f s e t  
 	 }  
 } ,  
  
 g e t P o s i t i o n   :   f u n c t i o n ( e l ) 	 {  
 	 i f   ( / a r e a / i . t e s t ( e l . t a g N a m e ) )   {  
 	 	 v a r   i m g s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) ;  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   i m g s . l e n g t h ;   i + + )   {  
 	 	 	 v a r   u   =   i m g s [ i ] . u s e M a p ;  
 	 	 	 i f   ( u   & &   u . r e p l a c e ( / ^ . * ? # / ,   ' ' )   = =   e l . p a r e n t N o d e . n a m e )   {  
 	 	 	 	 e l   =   i m g s [ i ] ;  
 	 	 	 	 b r e a k ;  
 	 	 	 }  
 	 	 }  
 	 }  
 	 v a r   p   =   {   x :   e l . o f f s e t L e f t ,   y :   e l . o f f s e t T o p   } ;  
 	 w h i l e   ( e l . o f f s e t P a r e n t ) 	 {  
 	 	 e l   =   e l . o f f s e t P a r e n t ;  
 	 	 p . x   + =   e l . o f f s e t L e f t ;  
 	 	 p . y   + =   e l . o f f s e t T o p ;  
 	 	 i f   ( e l   ! =   d o c u m e n t . b o d y   & &   e l   ! =   d o c u m e n t . d o c u m e n t E l e m e n t )   {  
 	 	 	 p . x   - =   e l . s c r o l l L e f t ;  
 	 	 	 p . y   - =   e l . s c r o l l T o p ;  
 	 	 }  
 	 }  
 	 r e t u r n   p ;  
 } ,  
  
 e x p a n d   :   f u n c t i o n ( a ,   p a r a m s ,   c u s t o m ,   t y p e )   {  
 	 i f   ( ! a )   a   =   h s . c r e a t e E l e m e n t ( ' a ' ,   n u l l ,   {   d i s p l a y :   ' n o n e '   } ,   h s . c o n t a i n e r ) ;  
 	 i f   ( t y p e o f   a . g e t P a r a m s   = =   ' f u n c t i o n ' )   r e t u r n   p a r a m s ;  
 	 i f   ( t y p e   = =   ' h t m l ' )   {  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   h s . s l e e p i n g . l e n g t h ;   i + + )   {  
 	 	 	 i f   ( h s . s l e e p i n g [ i ]   & &   h s . s l e e p i n g [ i ] . a   = =   a )   {  
 	 	 	 	 h s . s l e e p i n g [ i ] . a w a k e ( ) ;  
 	 	 	 	 h s . s l e e p i n g [ i ]   =   n u l l ;  
 	 	 	 	 r e t u r n   f a l s e ;  
 	 	 	 }  
 	 	 }  
 	 	 h s . h a s H t m l E x p a n d e r s   =   t r u e ;  
 	 } 	  
 	 t r y   { 	  
 	 	 n e w   h s . E x p a n d e r ( a ,   p a r a m s ,   c u s t o m ,   t y p e ) ;  
 	 	 r e t u r n   f a l s e ;  
 	 }   c a t c h   ( e )   {   r e t u r n   t r u e ;   }  
 } ,  
  
 h t m l E x p a n d   :   f u n c t i o n ( a ,   p a r a m s ,   c u s t o m )   {  
 	 r e t u r n   h s . e x p a n d ( a ,   p a r a m s ,   c u s t o m ,   ' h t m l ' ) ;  
 } ,  
  
 g e t S e l f R e n d e r e d   :   f u n c t i o n ( )   {  
 	 r e t u r n   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {    
 	 	 c l a s s N a m e :   ' h i g h s l i d e - h t m l - c o n t e n t ' ,    
 	 	 i n n e r H T M L :   h s . r e p l a c e L a n g ( h s . s k i n . c o n t e n t W r a p p e r )    
 	 } ) ;  
 } ,  
 g e t E l e m e n t B y C l a s s   :   f u n c t i o n   ( e l ,   t a g N a m e ,   c l a s s N a m e )   {  
 	 v a r   e l s   =   e l . g e t E l e m e n t s B y T a g N a m e ( t a g N a m e ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   e l s . l e n g t h ;   i + + )   {  
         	 i f   ( ( n e w   R e g E x p ( c l a s s N a m e ) ) . t e s t ( e l s [ i ] . c l a s s N a m e ) )   {  
 	 	 	 r e t u r n   e l s [ i ] ;  
 	 	 }  
 	 }  
 	 r e t u r n   n u l l ;  
 } ,  
 r e p l a c e L a n g   :   f u n c t i o n ( s )   {  
 	 s   =   s . r e p l a c e ( / \ s / g ,   '   ' ) ;  
 	 v a r   r e   =   / { h s \ . l a n g \ . ( [ ^ } ] + ) \ } / g ,  
 	 	 m a t c h e s   =   s . m a t c h ( r e ) ,  
 	 	 l a n g ;  
 	 i f   ( m a t c h e s )   f o r   ( v a r   i   =   0 ;   i   <   m a t c h e s . l e n g t h ;   i + + )   {  
 	 	 l a n g   =   m a t c h e s [ i ] . r e p l a c e ( r e ,   " $ 1 " ) ;  
 	 	 i f   ( t y p e o f   h s . l a n g [ l a n g ]   ! =   ' u n d e f i n e d ' )   s   =   s . r e p l a c e ( m a t c h e s [ i ] ,   h s . l a n g [ l a n g ] ) ;  
 	 }  
 	 r e t u r n   s ;  
 } ,  
  
  
 s e t C l i c k E v e n t s   :   f u n c t i o n   ( )   {  
 	 v a r   e l s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   e l s . l e n g t h ;   i + + )   {  
 	 	 v a r   t y p e   =   h s . i s U n o b t r u s i v e A n c h o r ( e l s [ i ] ) ;  
 	 	 i f   ( t y p e   & &   ! e l s [ i ] . h s H a s S e t C l i c k )   {  
 	 	 	 ( f u n c t i o n ( ) {  
 	 	 	 	 v a r   t   =   t y p e ;  
 	 	 	 	 i f   ( h s . f i r e E v e n t ( h s ,   ' o n S e t C l i c k E v e n t ' ,   {   e l e m e n t :   e l s [ i ] ,   t y p e :   t   } ) )   {  
 	 	 	 	 	 e l s [ i ] . o n c l i c k   = ( t y p e   = =   ' i m a g e ' )   ? f u n c t i o n ( )   {   r e t u r n   h s . e x p a n d ( t h i s )   } :  
 	 	 	 	 	 	 f u n c t i o n ( )   {   r e t u r n   h s . h t m l E x p a n d ( t h i s ,   {   o b j e c t T y p e :   t   }   ) ; } ;  
 	 	 	 	 }  
 	 	 	 } ) ( ) ;  
 	 	 	 e l s [ i ] . h s H a s S e t C l i c k   =   t r u e ; 	  
 	 	 }  
 	 }  
 	 i f   ( ! h s . p a g e L o a d e d )   s e t T i m e o u t (   h s . s e t C l i c k E v e n t s ,   5 0 ) ;  
 	 e l s e   i f   ( i )   h s . u p d a t e A n c h o r s ( ) ;  
 } ,  
 i s U n o b t r u s i v e A n c h o r :   f u n c t i o n ( e l )   {  
 	 i f   ( e l . r e l   = =   ' h i g h s l i d e ' )   r e t u r n   ' i m a g e ' ;  
 	 e l s e   i f   ( e l . r e l   = =   ' h i g h s l i d e - a j a x ' )   r e t u r n   ' a j a x ' ;  
 	 e l s e   i f   ( e l . r e l   = =   ' h i g h s l i d e - i f r a m e ' )   r e t u r n   ' i f r a m e ' ;  
 	 e l s e   i f   ( e l . r e l   = =   ' h i g h s l i d e - s w f ' )   r e t u r n   ' s w f ' ;  
 } ,  
  
 g e t C a c h e B i n d i n g   :   f u n c t i o n   ( a )   {  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . c a c h e B i n d i n g s . l e n g t h ;   i + + )   {  
 	 	 i f   ( h s . c a c h e B i n d i n g s [ i ] [ 0 ]   = =   a )   {  
 	 	 	 v a r   c   =   h s . c a c h e B i n d i n g s [ i ] [ 1 ] ;  
 	 	 	 h s . c a c h e B i n d i n g s [ i ] [ 1 ]   =   c . c l o n e N o d e ( 1 ) ;  
 	 	 	 r e t u r n   c ;  
 	 	 }  
 	 }  
 	 r e t u r n   n u l l ;  
 } ,  
  
 p r e l o a d A j a x   :   f u n c t i o n   ( e )   {  
 	 v a r   a r r   =   h s . g e t A n c h o r s ( ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   a r r . h t m l s . l e n g t h ;   i + + )   {  
 	 	 v a r   a   =   a r r . h t m l s [ i ] ;  
 	 	 i f   ( h s . g e t P a r a m ( a ,   ' o b j e c t T y p e ' )   = =   ' a j a x '   & &   h s . g e t P a r a m ( a ,   ' c a c h e A j a x ' ) )  
 	 	 	 h s . p u s h ( h s . p r e l o a d T h e s e A j a x ,   a ) ;  
 	 }  
 	  
 	 h s . p r e l o a d A j a x E l e m e n t ( 0 ) ;  
 } ,  
  
 p r e l o a d A j a x E l e m e n t   :   f u n c t i o n   ( i )   {  
 	 i f   ( ! h s . p r e l o a d T h e s e A j a x [ i ] )   r e t u r n ;  
 	 v a r   a   =   h s . p r e l o a d T h e s e A j a x [ i ] ;  
 	 v a r   c a c h e   =   h s . g e t N o d e ( h s . g e t P a r a m ( a ,   ' c o n t e n t I d ' ) ) ;  
 	 i f   ( ! c a c h e )   c a c h e   =   h s . g e t S e l f R e n d e r e d ( ) ;  
 	 v a r   a j a x   =   n e w   h s . A j a x ( a ,   c a c h e ,   1 ) ; 	  
       	 a j a x . o n E r r o r   =   f u n c t i o n   ( )   {   } ;  
       	 a j a x . o n L o a d   =   f u n c t i o n   ( )   {  
       	 	 h s . p u s h ( h s . c a c h e B i n d i n g s ,   [ a ,   c a c h e ] ) ;  
       	 	 h s . p r e l o a d A j a x E l e m e n t ( i   +   1 ) ;  
       	 } ;  
       	 a j a x . r u n ( ) ;  
 } ,  
  
 f o c u s T o p m o s t   :   f u n c t i o n ( )   {  
 	 v a r   t o p Z   =   0 ,    
 	 	 t o p m o s t K e y   =   - 1 ,  
 	 	 e x p a n d e r s   =   h s . e x p a n d e r s ,  
 	 	 e x p ,  
 	 	 z I n d e x ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   e x p a n d e r s . l e n g t h ;   i + + )   {  
 	 	 e x p   =   e x p a n d e r s [ i ] ;  
 	 	 i f   ( e x p )   {  
 	 	 	 z I n d e x   =   e x p . w r a p p e r . s t y l e . z I n d e x ;  
 	 	 	 i f   ( z I n d e x   & &   z I n d e x   >   t o p Z )   {  
 	 	 	 	 t o p Z   =   z I n d e x ; 	 	 	 	  
 	 	 	 	 t o p m o s t K e y   =   i ;  
 	 	 	 }  
 	 	 }  
 	 }  
 	 i f   ( t o p m o s t K e y   = =   - 1 )   h s . f o c u s K e y   =   - 1 ;  
 	 e l s e   e x p a n d e r s [ t o p m o s t K e y ] . f o c u s ( ) ;  
 } ,  
  
 g e t P a r a m   :   f u n c t i o n   ( a ,   p a r a m )   {  
 	 a . g e t P a r a m s   =   a . o n c l i c k ;  
 	 v a r   p   =   a . g e t P a r a m s   ?   a . g e t P a r a m s ( )   :   n u l l ;  
 	 a . g e t P a r a m s   =   n u l l ;  
 	  
 	 r e t u r n   ( p   & &   t y p e o f   p [ p a r a m ]   ! =   ' u n d e f i n e d ' )   ?   p [ p a r a m ]   :    
 	 	 ( t y p e o f   h s [ p a r a m ]   ! =   ' u n d e f i n e d '   ?   h s [ p a r a m ]   :   n u l l ) ;  
 } ,  
  
 g e t S r c   :   f u n c t i o n   ( a )   {  
 	 v a r   s r c   =   h s . g e t P a r a m ( a ,   ' s r c ' ) ;  
 	 i f   ( s r c )   r e t u r n   s r c ;  
 	 r e t u r n   a . h r e f ;  
 } ,  
  
 g e t N o d e   :   f u n c t i o n   ( i d )   {  
 	 v a r   n o d e   =   h s . $ ( i d ) ,   c l o n e   =   h s . c l o n e s [ i d ] ,   a   =   { } ;  
 	 i f   ( ! n o d e   & &   ! c l o n e )   r e t u r n   n u l l ;  
 	 i f   ( ! c l o n e )   {  
 	 	 c l o n e   =   n o d e . c l o n e N o d e ( t r u e ) ;  
 	 	 c l o n e . i d   =   ' ' ;  
 	 	 h s . c l o n e s [ i d ]   =   c l o n e ;  
 	 	 r e t u r n   n o d e ;  
 	 }   e l s e   {  
 	 	 r e t u r n   c l o n e . c l o n e N o d e ( t r u e ) ;  
 	 }  
 } ,  
  
 d i s c a r d E l e m e n t   :   f u n c t i o n ( d )   {  
 	 h s . g a r b a g e B i n . a p p e n d C h i l d ( d ) ;  
 	 h s . g a r b a g e B i n . i n n e r H T M L   =   ' ' ;  
 } ,  
 d i m   :   f u n c t i o n ( e x p )   {  
 	 i f   ( ! h s . d i m m e r )   {  
 	 	 h s . d i m m e r   =   h s . c r e a t e E l e m e n t   ( ' d i v ' ,    
 	 	 	 {    
 	 	 	 	 c l a s s N a m e :   ' h i g h s l i d e - d i m m i n g ' ,  
 	 	 	 	 o w n e r :   ' ' ,  
 	 	 	 	 o n c l i c k :   f u n c t i o n ( )   {  
 	 	 	 	 	 i f   ( h s . f i r e E v e n t ( h s ,   ' o n D i m m e r C l i c k ' ) )  
 	 	 	 	 	    
 	 	 	 	 	 	 h s . c l o s e ( ) ;  
 	 	 	 	 }  
 	 	 	 } ,   {    
 	 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 	 v i s i b i l i t y :   ' v i s i b l e ' ,  
 	 	 	 	 l e f t :   0 ,  
 	 	 	 	 o p a c i t y :   0    
 	 	 	 } ,   h s . c o n t a i n e r ,   t r u e ) ;  
 	 	 h s . a d d E v e n t L i s t e n e r ( w i n d o w ,   ' r e s i z e ' ,   h s . s e t D i m m e r S i z e ) ;  
 	 }  
 	 h s . d i m m e r . s t y l e . d i s p l a y   =   ' ' ;  
 	 h s . s e t D i m m e r S i z e ( ) ;  
 	 h s . d i m m e r . o w n e r   + =   ' | ' +   e x p . k e y ;  
 	 i f   ( h s . g e c k o M a c   & &   h s . d i m m i n g G e c k o F i x )    
 	 	 h s . d i m m e r . s t y l e . b a c k g r o u n d   =   ' u r l ( ' +   h s . g r a p h i c s D i r   +   ' g e c k o d i m m e r . p n g ) ' ; 	 	  
 	 e l s e  
 	 	 h s . a n i m a t e ( h s . d i m m e r ,   {   o p a c i t y :   e x p . d i m m i n g O p a c i t y   } ,   h s . d i m m i n g D u r a t i o n ) ;    
 } ,  
 u n d i m   :   f u n c t i o n ( k e y )   {  
 	 i f   ( ! h s . d i m m e r )   r e t u r n ;  
 	 i f   ( t y p e o f   k e y   ! =   ' u n d e f i n e d ' )   h s . d i m m e r . o w n e r   =   h s . d i m m e r . o w n e r . r e p l a c e ( ' | ' +   k e y ,   ' ' ) ;  
 	  
 	 i f   (  
 	 	 ( t y p e o f   k e y   ! =   ' u n d e f i n e d '   & &   h s . d i m m e r . o w n e r   ! =   ' ' )  
 	 	 | |   ( h s . u p c o m i n g   & &   h s . g e t P a r a m ( h s . u p c o m i n g ,   ' d i m m i n g O p a c i t y ' ) )  
 	 )   r e t u r n ;  
 	 i f   ( h s . g e c k o M a c   & &   h s . d i m m i n g G e c k o F i x )    
 	 	 h s . s e t S t y l e s ( h s . d i m m e r ,   {   b a c k g r o u n d :   ' n o n e ' ,   w i d t h :   0 ,   h e i g h t :   0   } ) ;  
 	 e l s e   h s . a n i m a t e ( h s . d i m m e r ,   {   o p a c i t y :   0   } ,   h s . d i m m i n g D u r a t i o n ,   n u l l ,   f u n c t i o n ( )   {  
 	 	 h s . s e t S t y l e s ( h s . d i m m e r ,   {   d i s p l a y :   ' n o n e ' ,   w i d t h :   0 ,   h e i g h t :   0   } ) ;  
 	 } ) ;  
 } ,  
 s e t D i m m e r S i z e   :   f u n c t i o n ( e x p )   {  
 	 i f   ( ! h s . d i m m e r )   r e t u r n ;  
 	 v a r   h   =   ( h s . i e   & &   e x p   & &   e x p . w r a p p e r )   ?    
 	 	 p a r s e I n t ( e x p . w r a p p e r . s t y l e . t o p )   +   p a r s e I n t ( e x p . w r a p p e r . s t y l e . h e i g h t ) +   ( e x p . o u t l i n e   ?   e x p . o u t l i n e . o f f s e t   :   0 )   :   0 ;    
 	 h s . s e t S t y l e s ( h s . d i m m e r ,   {    
 	 	 w i d t h :   h s . p a g e . p a g e W i d t h   + ' p x ' ,    
 	 	 h e i g h t :   M a t h . m a x ( h s . p a g e . p a g e H e i g h t ,   h )   + ' p x '  
 	 } ) ;  
 } ,  
 t r a n s i t   :   f u n c t i o n   ( a d j ,   e x p )   {  
 	 v a r   l a s t   =   e x p   =   e x p   | |   h s . g e t E x p a n d e r ( ) ;  
 	 i f   ( h s . u p c o m i n g )   r e t u r n   f a l s e ;  
 	 e l s e   h s . l a s t   =   l a s t ;  
 	 t r y   {  
 	 	 h s . u p c o m i n g   =   a d j ;  
 	 	 a d j . o n c l i c k ( ) ;   	 	  
 	 }   c a t c h   ( e ) {  
 	 	 h s . l a s t   =   h s . u p c o m i n g   =   n u l l ;  
 	 }  
 	 t r y   {  
 	 	 i f   ( ! a d j   | |   e x p . t r a n s i t i o n s [ 1 ]   ! =   ' c r o s s f a d e ' )  
 	 	 e x p . c l o s e ( ) ;  
 	 }   c a t c h   ( e )   { }  
 	 r e t u r n   f a l s e ;  
 } ,  
  
 p r e v i o u s O r N e x t   :   f u n c t i o n   ( e l ,   o p )   {  
 	 v a r   e x p   =   h s . g e t E x p a n d e r ( e l ) ;  
 	 i f   ( e x p )   {  
 	 	 a d j   =   e x p . g e t A d j a c e n t A n c h o r ( o p ) ;  
 	 	 r e t u r n   h s . t r a n s i t ( a d j ,   e x p ) ;  
 	 }   e l s e   r e t u r n   f a l s e ;  
 } ,  
  
 p r e v i o u s   :   f u n c t i o n   ( e l )   {  
 	 r e t u r n   h s . p r e v i o u s O r N e x t ( e l ,   - 1 ) ;  
 } ,  
  
 n e x t   :   f u n c t i o n   ( e l )   {  
 	 r e t u r n   h s . p r e v i o u s O r N e x t ( e l ,   1 ) ; 	  
 } ,  
  
 k e y H a n d l e r   :   f u n c t i o n ( e )   {  
 	 i f   ( ! e )   e   =   w i n d o w . e v e n t ;  
 	 i f   ( ! e . t a r g e t )   e . t a r g e t   =   e . s r c E l e m e n t ;   / /   i e  
 	 i f   ( t y p e o f   e . t a r g e t . f o r m   ! =   ' u n d e f i n e d ' )   r e t u r n   t r u e ;   / /   f o r m   e l e m e n t   h a s   f o c u s  
 	 i f   ( ! h s . f i r e E v e n t ( h s ,   ' o n K e y D o w n ' ,   e ) )   r e t u r n   t r u e ;  
 	 v a r   e x p   =   h s . g e t E x p a n d e r ( ) ;  
 	  
 	 v a r   o p   =   n u l l ;  
 	 s w i t c h   ( e . k e y C o d e )   {  
 	 	 c a s e   7 0 :   / /   f  
 	 	 	 i f   ( e x p )   e x p . d o F u l l E x p a n d ( ) ;  
 	 	 	 r e t u r n   t r u e ;  
 	 	 c a s e   3 2 :   / /   S p a c e  
 	 	 	 o p   =   2 ;  
 	 	 	 b r e a k ;  
 	 	 c a s e   3 4 :   / /   P a g e   D o w n  
 	 	 c a s e   3 9 :   / /   A r r o w   r i g h t  
 	 	 c a s e   4 0 :   / /   A r r o w   d o w n  
 	 	 	 o p   =   1 ;  
 	 	 	 b r e a k ;  
 	 	 c a s e   8 :     / /   B a c k s p a c e  
 	 	 c a s e   3 3 :   / /   P a g e   U p  
 	 	 c a s e   3 7 :   / /   A r r o w   l e f t  
 	 	 c a s e   3 8 :   / /   A r r o w   u p  
 	 	 	 o p   =   - 1 ;  
 	 	 	 b r e a k ;  
 	 	 c a s e   2 7 :   / /   E s c a p e  
 	 	 c a s e   1 3 :   / /   E n t e r  
 	 	 	 o p   =   0 ;  
 	 }  
 	 i f   ( o p   ! = =   n u l l )   { i f   ( o p   ! =   2 ) h s . r e m o v e E v e n t L i s t e n e r ( d o c u m e n t ,   w i n d o w . o p e r a   ?   ' k e y p r e s s '   :   ' k e y d o w n ' ,   h s . k e y H a n d l e r ) ;  
 	 	 i f   ( ! h s . e n a b l e K e y L i s t e n e r )   r e t u r n   t r u e ;  
 	 	  
 	 	 i f   ( e . p r e v e n t D e f a u l t )   e . p r e v e n t D e f a u l t ( ) ;  
         	 e l s e   e . r e t u r n V a l u e   =   f a l s e ;  
         	 i f   ( e x p )   {  
 	 	 	 i f   ( o p   = =   0 )   {  
 	 	 	 	 e x p . c l o s e ( ) ;  
 	 	 	 }   e l s e   i f   ( o p   = =   2 )   {  
 	 	 	 	 i f   ( e x p . s l i d e s h o w )   e x p . s l i d e s h o w . h i t S p a c e ( ) ;  
 	 	 	 }   e l s e   {  
 	 	 	 	 i f   ( e x p . s l i d e s h o w )   e x p . s l i d e s h o w . p a u s e ( ) ;  
 	 	 	 	 h s . p r e v i o u s O r N e x t ( e x p . k e y ,   o p ) ;  
 	 	 	 }  
 	 	 	 r e t u r n   f a l s e ;  
 	 	 }  
 	 }  
 	 r e t u r n   t r u e ;  
 } ,  
  
  
 r e g i s t e r O v e r l a y   :   f u n c t i o n   ( o v e r l a y )   {  
 	 h s . p u s h ( h s . o v e r l a y s ,   o v e r l a y ) ;  
 } ,  
  
  
 a d d S l i d e s h o w   :   f u n c t i o n   ( o p t i o n s )   {  
 	 v a r   s g   =   o p t i o n s . s l i d e s h o w G r o u p ;  
 	 i f   ( t y p e o f   s g   = =   ' o b j e c t ' )   {  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   s g . l e n g t h ;   i + + )   {  
 	 	 	 v a r   o   =   { } ;  
 	 	 	 f o r   ( v a r   x   i n   o p t i o n s )   o [ x ]   =   o p t i o n s [ x ] ;  
 	 	 	 o . s l i d e s h o w G r o u p   =   s g [ i ] ;  
 	 	 	 h s . p u s h ( h s . s l i d e s h o w s ,   o ) ;  
 	 	 }  
 	 }   e l s e   {  
 	 	 h s . p u s h ( h s . s l i d e s h o w s ,   o p t i o n s ) ;  
 	 }  
 } ,  
  
 g e t W r a p p e r K e y   :   f u n c t i o n   ( e l e m e n t ,   e x p O n l y )   {  
 	 v a r   e l ,   r e   =   / ^ h i g h s l i d e - w r a p p e r - ( [ 0 - 9 ] + ) $ / ;  
 	 / /   1 .   l o o k   i n   o p e n   e x p a n d e r s  
 	 e l   =   e l e m e n t ;  
 	 w h i l e   ( e l . p a r e n t N o d e ) 	 {  
 	 	 i f   ( e l . h s K e y   ! = =   u n d e f i n e d )   r e t u r n   e l . h s K e y ;  
 	 	 i f   ( e l . i d   & &   r e . t e s t ( e l . i d ) )   r e t u r n   e l . i d . r e p l a c e ( r e ,   " $ 1 " ) ;  
 	 	 e l   =   e l . p a r e n t N o d e ;  
 	 }  
 	 / /   2 .   l o o k   i n   t h u m b n a i l  
 	 i f   ( ! e x p O n l y )   {  
 	 	 e l   =   e l e m e n t ;  
 	 	 w h i l e   ( e l . p a r e n t N o d e ) 	 {  
 	 	 	 i f   ( e l . t a g N a m e   & &   h s . i s H s A n c h o r ( e l ) )   {  
 	 	 	 	 f o r   ( v a r   k e y   =   0 ;   k e y   <   h s . e x p a n d e r s . l e n g t h ;   k e y + + )   {  
 	 	 	 	 	 v a r   e x p   =   h s . e x p a n d e r s [ k e y ] ;  
 	 	 	 	 	 i f   ( e x p   & &   e x p . a   = =   e l )   r e t u r n   k e y ;  
 	 	 	 	 }  
 	 	 	 }  
 	 	 	 e l   =   e l . p a r e n t N o d e ;  
 	 	 }  
 	 }  
 	 r e t u r n   n u l l ;    
 } ,  
  
 g e t E x p a n d e r   :   f u n c t i o n   ( e l ,   e x p O n l y )   {  
 	 i f   ( t y p e o f   e l   = =   ' u n d e f i n e d ' )   r e t u r n   h s . e x p a n d e r s [ h s . f o c u s K e y ]   | |   n u l l ;  
 	 i f   ( t y p e o f   e l   = =   ' n u m b e r ' )   r e t u r n   h s . e x p a n d e r s [ e l ]   | |   n u l l ;  
 	 i f   ( t y p e o f   e l   = =   ' s t r i n g ' )   e l   =   h s . $ ( e l ) ;  
 	 r e t u r n   h s . e x p a n d e r s [ h s . g e t W r a p p e r K e y ( e l ,   e x p O n l y ) ]   | |   n u l l ;  
 } ,  
  
 i s H s A n c h o r   :   f u n c t i o n   ( a )   {  
 	 r e t u r n   ( a . o n c l i c k   & &   a . o n c l i c k . t o S t r i n g ( ) . r e p l a c e ( / \ s / g ,   '   ' ) . m a t c h ( / h s . ( h t m l E | e ) x p a n d / ) ) ;  
 } ,  
  
 r e O r d e r   :   f u n c t i o n   ( )   {  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . e x p a n d e r s . l e n g t h ;   i + + )  
 	 	 i f   ( h s . e x p a n d e r s [ i ]   & &   h s . e x p a n d e r s [ i ] . i s E x p a n d e d )   h s . f o c u s T o p m o s t ( ) ;  
 } ,  
 f i r e E v e n t   :   f u n c t i o n   ( o b j ,   e v t ,   a r g s )   {  
 	 r e t u r n   o b j   & &   o b j [ e v t ]   ?   ( o b j [ e v t ] ( o b j ,   a r g s )   ! = =   f a l s e )   :   t r u e ;  
 } ,  
  
 m o u s e C l i c k H a n d l e r   :   f u n c t i o n ( e )    
 { 	  
 	 i f   ( ! e )   e   =   w i n d o w . e v e n t ;  
 	 i f   ( e . b u t t o n   >   1 )   r e t u r n   t r u e ;  
 	 i f   ( ! e . t a r g e t )   e . t a r g e t   =   e . s r c E l e m e n t ;  
 	  
 	 v a r   e l   =   e . t a r g e t ;  
 	 w h i l e   ( e l . p a r e n t N o d e  
 	 	 & &   ! ( / h i g h s l i d e - ( i m a g e | m o v e | h t m l | r e s i z e ) / . t e s t ( e l . c l a s s N a m e ) ) )  
 	 {  
 	 	 e l   =   e l . p a r e n t N o d e ;  
 	 }  
 	 v a r   e x p   =   h s . g e t E x p a n d e r ( e l ) ;  
 	 i f   ( e x p   & &   ( e x p . i s C l o s i n g   | |   ! e x p . i s E x p a n d e d ) )   r e t u r n   t r u e ;  
 	 	  
 	 i f   ( e x p   & &   e . t y p e   = =   ' m o u s e d o w n ' )   {  
 	 	 i f   ( e . t a r g e t . f o r m )   r e t u r n   t r u e ;  
 	 	 v a r   m a t c h   =   e l . c l a s s N a m e . m a t c h ( / h i g h s l i d e - ( i m a g e | m o v e | r e s i z e ) / ) ;  
 	 	 i f   ( m a t c h )   {  
 	 	 	 h s . d r a g A r g s   =   {   e x p :   e x p   ,   t y p e :   m a t c h [ 1 ] ,   l e f t :   e x p . x . p o s ,   w i d t h :   e x p . x . s i z e ,   t o p :   e x p . y . p o s ,    
 	 	 	 	 h e i g h t :   e x p . y . s i z e ,   c l i c k X :   e . c l i e n t X ,   c l i c k Y :   e . c l i e n t Y   } ;  
 	 	 	  
 	 	 	  
 	 	 	 h s . a d d E v e n t L i s t e n e r ( d o c u m e n t ,   ' m o u s e m o v e ' ,   h s . d r a g H a n d l e r ) ;  
 	 	 	 i f   ( e . p r e v e n t D e f a u l t )   e . p r e v e n t D e f a u l t ( ) ;   / /   F F  
 	 	 	  
 	 	 	 i f   ( / h i g h s l i d e - ( i m a g e | h t m l ) - b l u r / . t e s t ( e x p . c o n t e n t . c l a s s N a m e ) )   {  
 	 	 	 	 e x p . f o c u s ( ) ;  
 	 	 	 	 h s . h a s F o c u s e d   =   t r u e ;  
 	 	 	 }  
 	 	 	 r e t u r n   f a l s e ;  
 	 	 }  
 	 	 e l s e   i f   ( / h i g h s l i d e - h t m l / . t e s t ( e l . c l a s s N a m e )   & &   h s . f o c u s K e y   ! =   e x p . k e y )   {  
 	 	 	 e x p . f o c u s ( ) ;  
 	 	 	 e x p . d o S h o w H i d e ( ' h i d d e n ' ) ;  
 	 	 }  
 	 }   e l s e   i f   ( e . t y p e   = =   ' m o u s e u p ' )   {  
 	 	  
 	 	 h s . r e m o v e E v e n t L i s t e n e r ( d o c u m e n t ,   ' m o u s e m o v e ' ,   h s . d r a g H a n d l e r ) ;  
 	 	  
 	 	 i f   ( h s . d r a g A r g s )   {  
 	 	 	 i f   ( h s . s t y l e R e s t o r e C u r s o r   & &   h s . d r a g A r g s . t y p e   = =   ' i m a g e ' )    
 	 	 	 	 h s . d r a g A r g s . e x p . c o n t e n t . s t y l e . c u r s o r   =   h s . s t y l e R e s t o r e C u r s o r ;  
 	 	 	 v a r   h a s D r a g g e d   =   h s . d r a g A r g s . h a s D r a g g e d ;  
 	 	 	  
 	 	 	 i f   ( ! h a s D r a g g e d   & & ! h s . h a s F o c u s e d   & &   ! / ( m o v e | r e s i z e ) / . t e s t ( h s . d r a g A r g s . t y p e ) )   {  
 	 	 	 	 i f   ( h s . f i r e E v e n t ( e x p ,   ' o n I m a g e C l i c k ' ) )  
 	 	 	 	 e x p . c l o s e ( ) ;  
 	 	 	 }    
 	 	 	 e l s e   i f   ( h a s D r a g g e d   | |   ( ! h a s D r a g g e d   & &   h s . h a s H t m l E x p a n d e r s ) )   {  
 	 	 	 	 h s . d r a g A r g s . e x p . d o S h o w H i d e ( ' h i d d e n ' ) ;  
 	 	 	 }  
 	 	 	  
 	 	 	 i f   ( h s . d r a g A r g s . e x p . r e l e a s e M a s k )    
 	 	 	 	 h s . d r a g A r g s . e x p . r e l e a s e M a s k . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 	  
 	 	 	 i f   ( h a s D r a g g e d )   h s . f i r e E v e n t ( h s . d r a g A r g s . e x p ,   ' o n D r o p ' ,   h s . d r a g A r g s ) ;  
 	 	 	 i f   ( h a s D r a g g e d )   h s . s e t D i m m e r S i z e ( e x p ) ;  
 	 	 	  
 	 	 	 h s . h a s F o c u s e d   =   f a l s e ;  
 	 	 	 h s . d r a g A r g s   =   n u l l ;  
 	 	  
 	 	 }   e l s e   i f   ( / h i g h s l i d e - i m a g e - b l u r / . t e s t ( e l . c l a s s N a m e ) )   {  
 	 	 	 e l . s t y l e . c u r s o r   =   h s . s t y l e R e s t o r e C u r s o r ; 	 	  
 	 	 }  
 	 }  
 	 r e t u r n   f a l s e ;  
 } ,  
  
 d r a g H a n d l e r   :   f u n c t i o n ( e )  
 {  
 	 i f   ( ! h s . d r a g A r g s )   r e t u r n   t r u e ;  
 	 i f   ( ! e )   e   =   w i n d o w . e v e n t ;  
 	 v a r   a   =   h s . d r a g A r g s ,   e x p   =   a . e x p ;  
 	 i f   ( e x p . i f r a m e )   { 	 	  
 	 	 i f   ( ! e x p . r e l e a s e M a s k )   e x p . r e l e a s e M a s k   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,    
 	 	 	 {   p o s i t i o n :   ' a b s o l u t e ' ,   w i d t h :   e x p . x . s i z e + ' p x ' ,   h e i g h t :   e x p . y . s i z e + ' p x ' ,    
 	 	 	 	 l e f t :   e x p . x . c b + ' p x ' ,   t o p :   e x p . y . c b + ' p x ' ,   z I n d e x :   4 , 	 b a c k g r o u n d :   ( h s . i e   ?   ' w h i t e '   :   ' n o n e ' ) ,    
 	 	 	 	 o p a c i t y :   . 0 1   } ,    
 	 	 	 e x p . w r a p p e r ,   t r u e ) ;  
 	 	 i f   ( e x p . r e l e a s e M a s k . s t y l e . d i s p l a y   = =   ' n o n e ' )  
 	 	 	 e x p . r e l e a s e M a s k . s t y l e . d i s p l a y   =   ' ' ;  
 	 }  
 	  
 	 a . d X   =   e . c l i e n t X   -   a . c l i c k X ;  
 	 a . d Y   =   e . c l i e n t Y   -   a . c l i c k Y ; 	  
 	  
 	 v a r   d i s t a n c e   =   M a t h . s q r t ( M a t h . p o w ( a . d X ,   2 )   +   M a t h . p o w ( a . d Y ,   2 ) ) ;  
 	 i f   ( ! a . h a s D r a g g e d )   a . h a s D r a g g e d   =   ( a . t y p e   ! =   ' i m a g e '   & &   d i s t a n c e   >   0 )  
 	 	 | |   ( d i s t a n c e   >   ( h s . d r a g S e n s i t i v i t y   | |   5 ) ) ;  
 	  
 	 i f   ( a . h a s D r a g g e d   & &   e . c l i e n t X   >   5   & &   e . c l i e n t Y   >   5 )   {  
 	 	 i f   ( ! h s . f i r e E v e n t ( e x p ,   ' o n D r a g ' ,   a ) )   r e t u r n   f a l s e ;  
 	 	  
 	 	 i f   ( a . t y p e   = =   ' r e s i z e ' )   e x p . r e s i z e ( a ) ;  
 	 	 e l s e   {  
 	 	 	 e x p . m o v e T o ( a . l e f t   +   a . d X ,   a . t o p   +   a . d Y ) ;  
 	 	 	 i f   ( a . t y p e   = =   ' i m a g e ' )   e x p . c o n t e n t . s t y l e . c u r s o r   =   ' m o v e ' ;  
 	 	 }  
 	 }  
 	 r e t u r n   f a l s e ;  
 } ,  
  
 w r a p p e r M o u s e H a n d l e r   :   f u n c t i o n   ( e )   {  
 	 t r y   {  
 	 	 i f   ( ! e )   e   =   w i n d o w . e v e n t ;  
 	 	 v a r   o v e r   =   / m o u s e o v e r / i . t e s t ( e . t y p e ) ;    
 	 	 i f   ( ! e . t a r g e t )   e . t a r g e t   =   e . s r c E l e m e n t ;   / /   i e  
 	 	 i f   ( h s . i e )   e . r e l a t e d T a r g e t   =    
 	 	 	 o v e r   ?   e . f r o m E l e m e n t   :   e . t o E l e m e n t ;   / /   i e  
 	 	 v a r   e x p   =   h s . g e t E x p a n d e r ( e . t a r g e t ) ;  
 	 	 i f   ( ! e x p . i s E x p a n d e d )   r e t u r n ;  
 	 	 i f   ( ! e x p   | |   ! e . r e l a t e d T a r g e t   | |   h s . g e t E x p a n d e r ( e . r e l a t e d T a r g e t ,   t r u e )   = =   e x p    
 	 	 	 | |   h s . d r a g A r g s )   r e t u r n ;  
 	 	 h s . f i r e E v e n t ( e x p ,   o v e r   ?   ' o n M o u s e O v e r '   :   ' o n M o u s e O u t ' ,   e ) ;  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   e x p . o v e r l a y s . l e n g t h ;   i + + )   ( f u n c t i o n ( )   {  
 	 	 	 v a r   o   =   h s . $ ( ' h s I d ' +   e x p . o v e r l a y s [ i ] ) ;  
 	 	 	 i f   ( o   & &   o . h i d e O n M o u s e O u t )   {  
 	 	 	 	 i f   ( o v e r )   h s . s e t S t y l e s ( o ,   {   v i s i b i l i t y :   ' v i s i b l e '   } ) ;  
 	 	 	 	 h s . a n i m a t e ( o ,   {   o p a c i t y :   o v e r   ?   o . o p a c i t y   :   0   } ,   o . d u r ,   n u l l ,    
 	 	 	 	 	 o v e r   ?   n u l l   :   f u n c t i o n ( )   {   h s . s e t S t y l e s ( o ,   {   v i s i b i l i t y :   ' h i d d e n '   } ) } ) ;  
 	 	 	 }  
 	 	 } ) ( ) ; 	  
 	 }   c a t c h   ( e )   { }  
 } ,  
 a d d E v e n t L i s t e n e r   :   f u n c t i o n   ( e l ,   e v e n t ,   f u n c )   {  
 	 t r y   {  
 	 	 e l . a d d E v e n t L i s t e n e r ( e v e n t ,   f u n c ,   f a l s e ) ;  
 	 }   c a t c h   ( e )   {  
 	 	 t r y   {  
 	 	 	 e l . d e t a c h E v e n t ( ' o n ' +   e v e n t ,   f u n c ) ;  
 	 	 	 e l . a t t a c h E v e n t ( ' o n ' +   e v e n t ,   f u n c ) ;  
 	 	 }   c a t c h   ( e )   {  
 	 	 	 e l [ ' o n ' +   e v e n t ]   =   f u n c ;  
 	 	 }  
 	 }    
 } ,  
  
 r e m o v e E v e n t L i s t e n e r   :   f u n c t i o n   ( e l ,   e v e n t ,   f u n c )   {  
 	 t r y   {  
 	 	 e l . r e m o v e E v e n t L i s t e n e r ( e v e n t ,   f u n c ,   f a l s e ) ;  
 	 }   c a t c h   ( e )   {  
 	 	 t r y   {  
 	 	 	 e l . d e t a c h E v e n t ( ' o n ' +   e v e n t ,   f u n c ) ;  
 	 	 }   c a t c h   ( e )   {  
 	 	 	 e l [ ' o n ' +   e v e n t ]   =   n u l l ;  
 	 	 }  
 	 }  
 } ,  
  
 p r e l o a d F u l l I m a g e   :   f u n c t i o n   ( i )   {  
 	 i f   ( h s . c o n t i n u e P r e l o a d i n g   & &   h s . p r e l o a d T h e s e I m a g e s [ i ]   & &   h s . p r e l o a d T h e s e I m a g e s [ i ]   ! =   ' u n d e f i n e d ' )   {  
 	 	 v a r   i m g   =   d o c u m e n t . c r e a t e E l e m e n t ( ' i m g ' ) ;  
 	 	 i m g . o n l o a d   =   f u n c t i o n ( )   {    
 	 	 	 i m g   =   n u l l ;  
 	 	 	 h s . p r e l o a d F u l l I m a g e ( i   +   1 ) ;  
 	 	 } ;  
 	 	 i m g . s r c   =   h s . p r e l o a d T h e s e I m a g e s [ i ] ;  
 	 }  
 } ,  
 p r e l o a d I m a g e s   :   f u n c t i o n   ( n u m b e r )   {  
 	 i f   ( n u m b e r   & &   t y p e o f   n u m b e r   ! =   ' o b j e c t ' )   h s . n u m b e r O f I m a g e s T o P r e l o a d   =   n u m b e r ;  
 	  
 	 v a r   a r r   =   h s . g e t A n c h o r s ( ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   a r r . i m a g e s . l e n g t h   & &   i   <   h s . n u m b e r O f I m a g e s T o P r e l o a d ;   i + + )   {  
 	 	 h s . p u s h ( h s . p r e l o a d T h e s e I m a g e s ,   h s . g e t S r c ( a r r . i m a g e s [ i ] ) ) ;  
 	 }  
 	  
 	 / /   p r e l o a d   o u t l i n e s  
 	 i f   ( h s . o u t l i n e T y p e ) 	 n e w   h s . O u t l i n e ( h s . o u t l i n e T y p e ,   f u n c t i o n   ( )   {   h s . p r e l o a d F u l l I m a g e ( 0 ) }   ) ;  
 	 e l s e  
 	  
 	 h s . p r e l o a d F u l l I m a g e ( 0 ) ;  
 	  
 	 / /   p r e l o a d   c u r s o r  
 	 i f   ( h s . r e s t o r e C u r s o r )   v a r   c u r   =   h s . c r e a t e E l e m e n t ( ' i m g ' ,   {   s r c :   h s . g r a p h i c s D i r   +   h s . r e s t o r e C u r s o r   } ) ;  
 } ,  
  
  
 i n i t   :   f u n c t i o n   ( )   {  
 	 i f   ( ! h s . c o n t a i n e r )   {  
 	  
 	 	 h s . p a g e   =   h s . g e t P a g e S i z e ( ) ;  
 	 	 h s . i e L t 7   =   h s . i e   & &   h s . u a V e r s i o n   <   7 ;  
 	 	 h s . i e 6 S S L   =   h s . i e L t 7   & &   l o c a t i o n . p r o t o c o l   = =   ' h t t p s : ' ;  
 	 	 f o r   ( v a r   x   i n   h s . l a n g D e f a u l t s )   {  
 	 	 	 i f   ( t y p e o f   h s [ x ]   ! =   ' u n d e f i n e d ' )   h s . l a n g [ x ]   =   h s [ x ] ;  
 	 	 	 e l s e   i f   ( t y p e o f   h s . l a n g [ x ]   = =   ' u n d e f i n e d '   & &   t y p e o f   h s . l a n g D e f a u l t s [ x ]   ! =   ' u n d e f i n e d ' )    
 	 	 	 	 h s . l a n g [ x ]   =   h s . l a n g D e f a u l t s [ x ] ;  
 	 	 }  
 	 	  
 	 	 h s . c o n t a i n e r   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {  
 	 	 	 	 c l a s s N a m e :   ' h i g h s l i d e - c o n t a i n e r '  
 	 	 	 } ,   {  
 	 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,    
 	 	 	 	 l e f t :   0 ,    
 	 	 	 	 t o p :   0 ,    
 	 	 	 	 w i d t h :   ' 1 0 0 % ' ,    
 	 	 	 	 z I n d e x :   h s . z I n d e x C o u n t e r ,  
 	 	 	 	 d i r e c t i o n :   ' l t r '  
 	 	 	 } ,    
 	 	 	 d o c u m e n t . b o d y ,  
 	 	 	 t r u e  
 	 	 ) ;  
 	 	 h s . l o a d i n g   =   h s . c r e a t e E l e m e n t ( ' a ' ,   {  
 	 	 	 	 c l a s s N a m e :   ' h i g h s l i d e - l o a d i n g ' ,  
 	 	 	 	 t i t l e :   h s . l a n g . l o a d i n g T i t l e ,  
 	 	 	 	 i n n e r H T M L :   h s . l a n g . l o a d i n g T e x t ,  
 	 	 	 	 h r e f :   ' j a v a s c r i p t : ; '  
 	 	 	 } ,   {  
 	 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 	 t o p :   ' - 9 9 9 9 p x ' ,  
 	 	 	 	 o p a c i t y :   h s . l o a d i n g O p a c i t y ,  
 	 	 	 	 z I n d e x :   1  
 	 	 	 } ,   h s . c o n t a i n e r  
 	 	 ) ;  
 	 	 h s . g a r b a g e B i n   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,   {   d i s p l a y :   ' n o n e '   } ,   h s . c o n t a i n e r ) ;  
 	 	 h s . v i e w p o r t   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {  
 	 	 	 	 c l a s s N a m e :   ' h i g h s l i d e - v i e w p o r t '  
 	 	 	 } ,   n u l l ,   h s . c o n t a i n e r ,   1  
 	 	 ) ;  
 	 	 h s . c l e a r i n g   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,    
 	 	 	 {   c l e a r :   ' b o t h ' ,   p a d d i n g T o p :   ' 1 p x '   } ,   n u l l ,   t r u e ) ;  
 	 	  
 	 	 / /   h t t p : / / w w w . r o b e r t p e n n e r . c o m / e a s i n g /    
 	 	 M a t h . l i n e a r T w e e n   =   f u n c t i o n   ( t ,   b ,   c ,   d )   {  
 	 	 	 r e t u r n   c * t / d   +   b ;  
 	 	 } ;  
 	 	 M a t h . e a s e I n Q u a d   =   f u n c t i o n   ( t ,   b ,   c ,   d )   {  
 	 	 	 r e t u r n   c * ( t / = d ) * t   +   b ;  
 	 	 } ;  
 	 	 M a t h . e a s e O u t Q u a d   =   f u n c t i o n   ( t ,   b ,   c ,   d )   {  
 	 	 	 r e t u r n   - c   * ( t / = d ) * ( t - 2 )   +   b ;  
 	 	 } ;  
 	 	  
 	 	 h s . h i d e S e l e c t s   =   h s . i e L t 7 ;  
 	 	 h s . h i d e I f r a m e s   =   ( ( w i n d o w . o p e r a   & &   h s . u a V e r s i o n   <   9 )   | |   n a v i g a t o r . v e n d o r   = =   ' K D E '    
 	 	 	 | |   ( h s . i e   & &   h s . u a V e r s i o n   <   5 . 5 ) ) ;  
 	 	 h s . f i r e E v e n t ( t h i s ,   ' o n A c t i v a t e ' ) ;  
 	 }  
 } ,  
 d o m R e a d y   :   f u n c t i o n ( )   {  
 	 h s . i s D o m R e a d y   =   t r u e ;  
 	 i f   ( h s . o n D o m R e a d y )   h s . o n D o m R e a d y ( ) ;  
 } ,  
  
 u p d a t e A n c h o r s   :   f u n c t i o n ( )   {  
 	 v a r   e l ,   e l s ,   a l l   =   [ ] ,   i m a g e s   =   [ ] ,   h t m l s   =   [ ] , g r o u p s   =   { } ,   r e ;  
 	 	  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . o p e n e r T a g N a m e s . l e n g t h ;   i + + )   {  
 	 	 e l s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( h s . o p e n e r T a g N a m e s [ i ] ) ;  
 	 	 f o r   ( v a r   j   =   0 ;   j   <   e l s . l e n g t h ;   j + + )   {  
 	 	 	 e l   =   e l s [ j ] ;  
 	 	 	 r e   =   h s . i s H s A n c h o r ( e l ) ;  
 	 	 	 i f   ( r e )   {  
 	 	 	 	 h s . p u s h ( a l l ,   e l ) ;  
 	 	 	 	 i f   ( r e [ 0 ]   = =   ' h s . e x p a n d ' )   h s . p u s h ( i m a g e s ,   e l ) ;  
 	 	 	 	 e l s e   i f   ( r e [ 0 ]   = =   ' h s . h t m l E x p a n d ' )   h s . p u s h ( h t m l s ,   e l ) ;  
 	 	 	 	 v a r   g   =   h s . g e t P a r a m ( e l ,   ' s l i d e s h o w G r o u p ' )   | |   ' n o n e ' ;  
 	 	 	 	 i f   ( ! g r o u p s [ g ] )   g r o u p s [ g ]   =   [ ] ;  
 	 	 	 	 h s . p u s h ( g r o u p s [ g ] ,   e l ) ;  
 	 	 	 }  
 	 	 }  
 	 }  
 	 h s . a n c h o r s   =   {   a l l :   a l l ,   g r o u p s :   g r o u p s ,   i m a g e s :   i m a g e s ,   h t m l s :   h t m l s   } ;  
 	 r e t u r n   h s . a n c h o r s ;  
 	  
 } ,  
  
 g e t A n c h o r s   :   f u n c t i o n ( )   {  
 	 r e t u r n   h s . a n c h o r s   | |   h s . u p d a t e A n c h o r s ( ) ;  
 } ,  
  
  
 c l o s e   :   f u n c t i o n ( e l )   {  
 	 v a r   e x p   =   h s . g e t E x p a n d e r ( e l ) ;  
 	 i f   ( e x p )   e x p . c l o s e ( ) ;  
 	 r e t u r n   f a l s e ;  
 }  
 } ;   / /   e n d   h s   o b j e c t  
  
  
 h s . O u t l i n e   =     f u n c t i o n   ( o u t l i n e T y p e ,   o n L o a d )   {  
 	 t h i s . o n L o a d   =   o n L o a d ;  
 	 t h i s . o u t l i n e T y p e   =   o u t l i n e T y p e ;  
 	 v a r   v   =   h s . u a V e r s i o n ,   t r ;  
 	  
 	 t h i s . h a s A l p h a I m a g e L o a d e r   =   h s . i e   & &   v   > =   5 . 5   & &   v   <   7 ;  
 	 i f   ( ! o u t l i n e T y p e )   {  
 	 	 i f   ( o n L o a d )   o n L o a d ( ) ;  
 	 	 r e t u r n ;  
 	 }  
 	  
 	 h s . i n i t ( ) ;  
 	 t h i s . t a b l e   =   h s . c r e a t e E l e m e n t (  
 	 	 ' t a b l e ' ,   {    
 	 	 	 c e l l S p a c i n g :   0    
 	 	 } ,   {  
 	 	 	 v i s i b i l i t y :   ' h i d d e n ' ,  
 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 b o r d e r C o l l a p s e :   ' c o l l a p s e ' ,  
 	 	 	 w i d t h :   0  
 	 	 } ,  
 	 	 h s . c o n t a i n e r ,  
 	 	 t r u e  
 	 ) ;  
 	 v a r   t b o d y   =   h s . c r e a t e E l e m e n t ( ' t b o d y ' ,   n u l l ,   n u l l ,   t h i s . t a b l e ,   1 ) ;  
 	  
 	 t h i s . t d   =   [ ] ;  
 	 f o r   ( v a r   i   =   0 ;   i   < =   8 ;   i + + )   {  
 	 	 i f   ( i   %   3   = =   0 )   t r   =   h s . c r e a t e E l e m e n t ( ' t r ' ,   n u l l ,   {   h e i g h t :   ' a u t o '   } ,   t b o d y ,   t r u e ) ;  
 	 	 t h i s . t d [ i ]   =   h s . c r e a t e E l e m e n t ( ' t d ' ,   n u l l ,   n u l l ,   t r ,   t r u e ) ;  
 	 	 v a r   s t y l e   =   i   ! =   4   ?   {   l i n e H e i g h t :   0 ,   f o n t S i z e :   0 }   :   {   p o s i t i o n   :   ' r e l a t i v e '   } ;  
 	 	 h s . s e t S t y l e s ( t h i s . t d [ i ] ,   s t y l e ) ;  
 	 }  
 	 t h i s . t d [ 4 ] . c l a s s N a m e   =   o u t l i n e T y p e   + '   h i g h s l i d e - o u t l i n e ' ;  
 	  
 	 t h i s . p r e l o a d G r a p h i c ( ) ;    
 } ;  
  
 h s . O u t l i n e . p r o t o t y p e   =   {  
 p r e l o a d G r a p h i c   :   f u n c t i o n   ( )   {  
 	 v a r   s r c   =   h s . g r a p h i c s D i r   +   ( h s . o u t l i n e s D i r   | |   " o u t l i n e s / " ) +   t h i s . o u t l i n e T y p e   + " . p n g " ;  
 	 	 	 	  
 	 v a r   a p p e n d T o   =   h s . s a f a r i   ?   h s . c o n t a i n e r   :   n u l l ;  
 	 t h i s . g r a p h i c   =   h s . c r e a t e E l e m e n t ( ' i m g ' ,   n u l l ,   {   p o s i t i o n :   ' a b s o l u t e ' ,    
 	 	 t o p :   ' - 9 9 9 9 p x '   } ,   a p p e n d T o ,   t r u e ) ;   / /   f o r   o n l o a d   t r i g g e r  
 	  
 	 v a r   p T h i s   =   t h i s ;  
 	 t h i s . g r a p h i c . o n l o a d   =   f u n c t i o n ( )   {   p T h i s . o n G r a p h i c L o a d ( ) ;   } ;  
 	  
 	 t h i s . g r a p h i c . s r c   =   s r c ;  
 } ,  
  
 o n G r a p h i c L o a d   :   f u n c t i o n   ( )   {  
 	 v a r   o   =   t h i s . o f f s e t   =   t h i s . g r a p h i c . w i d t h   /   4 ,  
 	 	 p o s   =   [ [ 0 , 0 ] , [ 0 , - 4 ] , [ - 2 , 0 ] , [ 0 , - 8 ] , 0 , [ - 2 , - 8 ] , [ 0 , - 2 ] , [ 0 , - 6 ] , [ - 2 , - 2 ] ] ,  
 	 	 d i m   =   {   h e i g h t :   ( 2 * o )   + ' p x ' ,   w i d t h :   ( 2 * o )   + ' p x '   } ;  
 	 f o r   ( v a r   i   =   0 ;   i   < =   8 ;   i + + )   {  
 	 	 i f   ( p o s [ i ] )   {  
 	 	 	 i f   ( t h i s . h a s A l p h a I m a g e L o a d e r )   {  
 	 	 	 	 v a r   w   =   ( i   = =   1   | |   i   = =   7 )   ?   ' 1 0 0 % '   :   t h i s . g r a p h i c . w i d t h   + ' p x ' ;  
 	 	 	 	 v a r   d i v   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,   {   w i d t h :   ' 1 0 0 % ' ,   h e i g h t :   ' 1 0 0 % ' ,   p o s i t i o n :   ' r e l a t i v e ' ,   o v e r f l o w :   ' h i d d e n ' } ,   t h i s . t d [ i ] ,   t r u e ) ;  
 	 	 	 	 h s . c r e a t e E l e m e n t   ( ' d i v ' ,   n u l l ,   {    
 	 	 	 	 	 	 f i l t e r :   " p r o g i d : D X I m a g e T r a n s f o r m . M i c r o s o f t . A l p h a I m a g e L o a d e r ( s i z i n g M e t h o d = s c a l e ,   s r c = ' " +   t h i s . g r a p h i c . s r c   +   " ' ) " ,    
 	 	 	 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 	 	 	 w i d t h :   w ,    
 	 	 	 	 	 	 h e i g h t :   t h i s . g r a p h i c . h e i g h t   + ' p x ' ,  
 	 	 	 	 	 	 l e f t :   ( p o s [ i ] [ 0 ] * o ) + ' p x ' ,  
 	 	 	 	 	 	 t o p :   ( p o s [ i ] [ 1 ] * o ) + ' p x '  
 	 	 	 	 	 } ,    
 	 	 	 	 d i v ,  
 	 	 	 	 t r u e ) ;  
 	 	 	 }   e l s e   {  
 	 	 	 	 h s . s e t S t y l e s ( t h i s . t d [ i ] ,   {   b a c k g r o u n d :   ' u r l ( ' +   t h i s . g r a p h i c . s r c   + ' )   ' +   ( p o s [ i ] [ 0 ] * o ) + ' p x   ' + ( p o s [ i ] [ 1 ] * o ) + ' p x ' } ) ;  
 	 	 	 }  
 	 	 	  
 	 	 	 i f   ( w i n d o w . o p e r a   & &   ( i   = =   3   | |   i   = = 5 ) )    
 	 	 	 	 h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,   d i m ,   t h i s . t d [ i ] ,   t r u e ) ;  
 	 	 	  
 	 	 	 h s . s e t S t y l e s   ( t h i s . t d [ i ] ,   d i m ) ;  
 	 	 }  
 	 }  
 	 t h i s . g r a p h i c   =   n u l l ;  
 	 i f   ( h s . p e n d i n g O u t l i n e s [ t h i s . o u t l i n e T y p e ] )   h s . p e n d i n g O u t l i n e s [ t h i s . o u t l i n e T y p e ] . d e s t r o y ( ) ;  
 	 h s . p e n d i n g O u t l i n e s [ t h i s . o u t l i n e T y p e ]   =   t h i s ;  
 	 i f   ( t h i s . o n L o a d )   t h i s . o n L o a d ( ) ;  
 } ,  
 	  
 s e t P o s i t i o n   :   f u n c t i o n   ( p a r s e ,   o f f s e t ,   v i s ,   d u r ,   e a s i n g )   {  
 	 v a r   e x p   =   t h i s . e x p ,  
 	 	 s t l   =   e x p . w r a p p e r . s t y l e ,  
 	 	 o f f s e t   =   o f f s e t   | |   0 ,  
 	 	 p o s   =   p a r s e   ?   {  
 	 	 	 x :   p a r s e I n t ( s t l . l e f t ) ,  
 	 	 	 y :   p a r s e I n t ( s t l . t o p ) ,  
 	 	 	 w :   p a r s e I n t ( s t l . w i d t h ) ,  
 	 	 	 h :   p a r s e I n t ( s t l . h e i g h t )  
 	 	 }   :   {  
 	 	 	 x :   e x p . x . p o s   +   o f f s e t ,  
 	 	 	 y :   e x p . y . p o s   +   o f f s e t ,  
 	 	 	 w :   e x p . x . g e t ( ' w s i z e ' )   -   2   *   o f f s e t ,  
 	 	 	 h :   e x p . y . g e t ( ' w s i z e ' )   -   2   *   o f f s e t  
 	 	 } ;  
 	 i f   ( v i s )   t h i s . t a b l e . s t y l e . v i s i b i l i t y   =   ( p o s . h   > =   4   *   t h i s . o f f s e t )    
 	 	 ?   ' v i s i b l e '   :   ' h i d d e n ' ;  
 	 h s . s e t S t y l e s ( t h i s . t a b l e ,   {  
 	 	 l e f t :   ( p o s . x   -   t h i s . o f f s e t )   + ' p x ' ,  
 	 	 t o p :   ( p o s . y   -   t h i s . o f f s e t )   + ' p x ' ,  
 	 	 w i d t h :   ( p o s . w   +   2   *   t h i s . o f f s e t )   + ' p x '  
 	 } ) ;  
 	  
 	 p o s . w   - =   2   *   t h i s . o f f s e t ;  
 	 p o s . h   - =   2   *   t h i s . o f f s e t ;  
 	 h s . s e t S t y l e s   ( t h i s . t d [ 4 ] ,   {  
 	 	 w i d t h :   p o s . w   > =   0   ?   p o s . w   + ' p x '   :   0 ,  
 	 	 h e i g h t :   p o s . h   > =   0   ?   p o s . h   + ' p x '   :   0  
 	 } ) ;  
 	 i f   ( t h i s . h a s A l p h a I m a g e L o a d e r )   t h i s . t d [ 3 ] . s t y l e . h e i g h t    
 	 	 =   t h i s . t d [ 5 ] . s t y l e . h e i g h t   =   t h i s . t d [ 4 ] . s t y l e . h e i g h t ; 	  
 	  
 } ,  
 	  
 d e s t r o y   :   f u n c t i o n ( h i d e )   {  
 	 i f   ( h i d e )   t h i s . t a b l e . s t y l e . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 e l s e   h s . d i s c a r d E l e m e n t ( t h i s . t a b l e ) ;  
 }  
 } ;  
  
 h s . D i m e n s i o n   =   f u n c t i o n ( e x p ,   d i m )   {  
 	 t h i s . e x p   =   e x p ;  
 	 t h i s . d i m   =   d i m ;  
 	 t h i s . u c w h   =   d i m   = =   ' x '   ?   ' W i d t h '   :   ' H e i g h t ' ;  
 	 t h i s . w h   =   t h i s . u c w h . t o L o w e r C a s e ( ) ;  
 	 t h i s . u c l t   =   d i m   = =   ' x '   ?   ' L e f t '   :   ' T o p ' ;  
 	 t h i s . l t   =   t h i s . u c l t . t o L o w e r C a s e ( ) ;  
 	 t h i s . u c r b   =   d i m   = =   ' x '   ?   ' R i g h t '   :   ' B o t t o m ' ;  
 	 t h i s . r b   =   t h i s . u c r b . t o L o w e r C a s e ( ) ;  
 	 t h i s . p 1   =   t h i s . p 2   =   0 ;  
 } ;  
 h s . D i m e n s i o n . p r o t o t y p e   =   {  
 g e t   :   f u n c t i o n ( k e y )   {  
 	 s w i t c h   ( k e y )   {  
 	 	 c a s e   ' l o a d i n g P o s ' :  
 	 	 	 r e t u r n   t h i s . t p o s   +   t h i s . t b   +   ( t h i s . t   -   h s . l o a d i n g [ ' o f f s e t ' +   t h i s . u c w h ] )   /   2 ;  
 	 	 c a s e   ' l o a d i n g P o s X f a d e ' :  
 	 	 	 r e t u r n   t h i s . p o s   +   t h i s . c b +   t h i s . p 1   +   ( t h i s . s i z e   -   h s . l o a d i n g [ ' o f f s e t ' +   t h i s . u c w h ] )   /   2 ;  
 	 	 c a s e   ' w s i z e ' :  
 	 	 	 r e t u r n   t h i s . s i z e   +   2   *   t h i s . c b   +   t h i s . p 1   +   t h i s . p 2 ;  
 	 	 c a s e   ' f i t s i z e ' :  
 	 	 	 r e t u r n   t h i s . c l i e n t S i z e   -   t h i s . m a r g i n M i n   -   t h i s . m a r g i n M a x ;  
 	 	 c a s e   ' o p o s ' :  
 	 	 	 r e t u r n   t h i s . p o s   -   ( t h i s . e x p . o u t l i n e   ?   t h i s . e x p . o u t l i n e . o f f s e t   :   0 ) ;  
 	 	 c a s e   ' o s i z e ' :  
 	 	 	 r e t u r n   t h i s . g e t ( ' w s i z e ' )   +   ( t h i s . e x p . o u t l i n e   ?   2 * t h i s . e x p . o u t l i n e . o f f s e t   :   0 ) ;  
 	 	 c a s e   ' i m g P a d ' :  
 	 	 	 r e t u r n   t h i s . i m g S i z e   ?   M a t h . r o u n d ( ( t h i s . s i z e   -   t h i s . i m g S i z e )   /   2 )   :   0 ;  
 	 	  
 	 }  
 } ,  
 c a l c B o r d e r s :   f u n c t i o n ( )   {  
 	 / /   c o r r e c t   f o r   b o r d e r s  
 	 t h i s . c b   =   ( t h i s . e x p . c o n t e n t [ ' o f f s e t ' +   t h i s . u c w h ]   -   t h i s . t )   /   2 ;  
 	 t h i s . m a r g i n M a x   =   h s [ ' m a r g i n ' +   t h i s . u c r b ]   +   2   *   t h i s . c b ;  
 } ,  
 c a l c T h u m b :   f u n c t i o n ( )   {  
 	 t h i s . t   =   t h i s . e x p . e l [ t h i s . w h ]   ?   p a r s e I n t ( t h i s . e x p . e l [ t h i s . w h ] )   :    
 	 	 t h i s . e x p . e l [ ' o f f s e t ' +   t h i s . u c w h ] ;  
 	 t h i s . t p o s   =   t h i s . e x p . t p o s [ t h i s . d i m ] ;  
 	 t h i s . t b   =   ( t h i s . e x p . e l [ ' o f f s e t ' +   t h i s . u c w h ]   -   t h i s . t )   /   2 ;  
 	 i f   ( t h i s . t p o s   = =   0 )   {  
 	 	 t h i s . t p o s   =   ( h s . p a g e [ t h i s . w h ]   /   2 )   +   h s . p a g e [ ' s c r o l l ' +   t h i s . u c l t ] ; 	 	  
 	 } ;  
 } ,  
 c a l c E x p a n d e d :   f u n c t i o n ( )   {  
 	 v a r   e x p   =   t h i s . e x p ;  
 	 t h i s . j u s t i f y   =   ' a u t o ' ;  
 	  
 	 / /   g e t   a l i g n m e n t  
 	 i f   ( e x p . a l i g n   = =   ' c e n t e r ' )   t h i s . j u s t i f y   =   ' c e n t e r ' ;  
 	 e l s e   i f   ( n e w   R e g E x p ( t h i s . l t ) . t e s t ( e x p . a n c h o r ) )   t h i s . j u s t i f y   =   n u l l ;  
 	 e l s e   i f   ( n e w   R e g E x p ( t h i s . r b ) . t e s t ( e x p . a n c h o r ) )   t h i s . j u s t i f y   =   ' m a x ' ;  
 	  
 	  
 	 / /   s i z e   a n d   p o s i t i o n  
 	 t h i s . p o s   =   t h i s . t p o s   -   t h i s . c b   +   t h i s . t b ;  
 	 t h i s . s i z e   =   M a t h . m i n ( t h i s . f u l l ,   e x p [ ' m a x ' +   t h i s . u c w h ]   | |   t h i s . f u l l ) ;  
 	 t h i s . m i n S i z e   =   e x p . a l l o w S i z e R e d u c t i o n   ?    
 	 	 M a t h . m i n ( e x p [ ' m i n ' +   t h i s . u c w h ] ,   t h i s . f u l l )   : t h i s . f u l l ;  
 	 i f   ( e x p . i s I m a g e   & &   e x p . u s e B o x ) 	 {  
 	 	 t h i s . s i z e   =   e x p [ t h i s . w h ] ;  
 	 	 t h i s . i m g S i z e   =   t h i s . f u l l ;  
 	 }  
 	 i f   ( t h i s . d i m   = =   ' x '   & &   h s . p a d T o M i n W i d t h )   t h i s . m i n S i z e   =   e x p . m i n W i d t h ;  
 	 t h i s . t a r g e t   =   e x p [ ' t a r g e t ' +   t h i s . d i m . t o U p p e r C a s e ( ) ] ;  
 	 t h i s . m a r g i n M i n   =   h s [ ' m a r g i n ' +   t h i s . u c l t ] ;  
 	 t h i s . s c r o l l   =   h s . p a g e [ ' s c r o l l ' +   t h i s . u c l t ] ;  
 	 t h i s . c l i e n t S i z e   =   h s . p a g e [ t h i s . w h ] ;  
 } ,  
 s e t S i z e :   f u n c t i o n ( i )   {  
 	 v a r   e x p   =   t h i s . e x p ;  
 	 i f   ( e x p . i s I m a g e   & &   ( e x p . u s e B o x   | |   h s . p a d T o M i n W i d t h ) )   {  
 	 	 t h i s . i m g S i z e   =   i ;  
 	 	 t h i s . s i z e   =   M a t h . m a x ( t h i s . s i z e ,   t h i s . i m g S i z e ) ;  
 	 	 e x p . c o n t e n t . s t y l e [ t h i s . l t ]   =   t h i s . g e t ( ' i m g P a d ' ) + ' p x ' ;  
 	 }   e l s e  
 	 t h i s . s i z e   =   i ;  
  
 	 e x p . c o n t e n t . s t y l e [ t h i s . w h ]   =   i   + ' p x ' ;  
 	 e x p . w r a p p e r . s t y l e [ t h i s . w h ]   =   t h i s . g e t ( ' w s i z e ' )   + ' p x ' ;  
 	 i f   ( e x p . o u t l i n e )   e x p . o u t l i n e . s e t P o s i t i o n ( ) ;  
 	 i f   ( e x p . r e l e a s e M a s k )   e x p . r e l e a s e M a s k . s t y l e [ t h i s . w h ]   =   i   + ' p x ' ;  
 	 i f   ( e x p . i s H t m l )   {  
 	 	 v a r   d   =   e x p . s c r o l l e r D i v ;  
 	 	 i f   ( t h i s . s i z e D i f f   = = =   u n d e f i n e d )  
 	 	 	 t h i s . s i z e D i f f   =   e x p . i n n e r C o n t e n t [ ' o f f s e t ' +   t h i s . u c w h ]   -   d [ ' o f f s e t ' +   t h i s . u c w h ] ;  
 	 	 d . s t y l e [ t h i s . w h ]   =   ( t h i s . s i z e   -   t h i s . s i z e D i f f )   + ' p x ' ;  
 	 	 	  
 	 	 i f   ( t h i s . d i m   = =   ' x ' )   e x p . m e d i u m C o n t e n t . s t y l e . w i d t h   =   ' a u t o ' ;  
 	 	 i f   ( e x p . b o d y )   e x p . b o d y . s t y l e [ t h i s . w h ]   =   ' a u t o ' ; 	 	  
 	 }  
 	 i f   ( t h i s . d i m   = =   ' x '   & &   e x p . o v e r l a y B o x )   e x p . s i z e O v e r l a y B o x ( t r u e ) ;  
 	 i f   ( t h i s . d i m   = =   ' x '   & &   e x p . s l i d e s h o w   & &   e x p . i s I m a g e )   {  
 	 	 i f   ( i   = =   t h i s . f u l l )   e x p . s l i d e s h o w . d i s a b l e ( ' f u l l - e x p a n d ' ) ;  
 	 	 e l s e   e x p . s l i d e s h o w . e n a b l e ( ' f u l l - e x p a n d ' ) ;  
 	 }  
 } ,  
 s e t P o s :   f u n c t i o n ( i )   {  
 	 t h i s . p o s   =   i ;  
 	 t h i s . e x p . w r a p p e r . s t y l e [ t h i s . l t ]   =   i   + ' p x ' ; 	  
 	  
 	 i f   ( t h i s . e x p . o u t l i n e )   t h i s . e x p . o u t l i n e . s e t P o s i t i o n ( ) ;  
 	  
 }  
 } ;  
  
 h s . E x p a n d e r   =   f u n c t i o n ( a ,   p a r a m s ,   c u s t o m ,   c o n t e n t T y p e )   {  
 	 i f   ( d o c u m e n t . r e a d y S t a t e   & &   h s . i e   & &   ! h s . i s D o m R e a d y )   {  
 	 	 h s . o n D o m R e a d y   =   f u n c t i o n ( )   {  
 	 	 	 n e w   h s . E x p a n d e r ( a ,   p a r a m s ,   c u s t o m ,   c o n t e n t T y p e ) ;  
 	 	 } ;  
 	 	 r e t u r n ;  
 	 }    
 	 t h i s . a   =   a ;  
 	 t h i s . c u s t o m   =   c u s t o m ;  
 	 t h i s . c o n t e n t T y p e   =   c o n t e n t T y p e   | |   ' i m a g e ' ;  
 	 t h i s . i s H t m l   =   ( c o n t e n t T y p e   = =   ' h t m l ' ) ;  
 	 t h i s . i s I m a g e   =   ! t h i s . i s H t m l ;  
 	  
 	 h s . c o n t i n u e P r e l o a d i n g   =   f a l s e ;  
 	 t h i s . o v e r l a y s   =   [ ] ;  
 	 t h i s . l a s t   =   h s . l a s t ;  
 	 h s . l a s t   =   n u l l ;  
 	 h s . i n i t ( ) ;  
 	 v a r   k e y   =   t h i s . k e y   =   h s . e x p a n d e r s . l e n g t h ;  
 	  
 	 / /   o v e r r i d e   i n l i n e   p a r a m e t e r s  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . o v e r r i d e s . l e n g t h ;   i + + )   {  
 	 	 v a r   n a m e   =   h s . o v e r r i d e s [ i ] ;  
 	 	 t h i s [ n a m e ]   =   p a r a m s   & &   t y p e o f   p a r a m s [ n a m e ]   ! =   ' u n d e f i n e d '   ?  
 	 	 	 p a r a m s [ n a m e ]   :   h s [ n a m e ] ;  
 	 }  
 	 i f   ( ! t h i s . s r c )   t h i s . s r c   =   a . h r e f ;  
 	  
 	 / /   g e t   t h u m b  
 	 v a r   e l   =   ( p a r a m s   & &   p a r a m s . t h u m b n a i l I d )   ?   h s . $ ( p a r a m s . t h u m b n a i l I d )   :   a ;  
 	 e l   =   t h i s . t h u m b   =   e l . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ]   | |   e l ;  
 	 t h i s . t h u m b s U s e r S e t I d   =   e l . i d   | |   a . i d ;  
 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n I n i t ' ) )   r e t u r n   t r u e ;  
 	  
 	 / /   c h e c k   i f   a l r e a d y   o p e n  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . e x p a n d e r s . l e n g t h ;   i + + )   {  
 	 	 i f   ( h s . e x p a n d e r s [ i ]   & &   h s . e x p a n d e r s [ i ] . a   = =   a    
 	 	 	 & &   ! ( t h i s . l a s t   & &   t h i s . t r a n s i t i o n s [ 1 ]   = =   ' c r o s s f a d e ' ) )   {  
 	 	 	 h s . e x p a n d e r s [ i ] . f o c u s ( ) ;  
 	 	 	 r e t u r n   f a l s e ;  
 	 	 }  
 	 } 	  
  
 	 / /   c a n c e l   o t h e r  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . e x p a n d e r s . l e n g t h ;   i + + )   {  
 	 	 i f   ( h s . e x p a n d e r s [ i ]   & &   h s . e x p a n d e r s [ i ] . t h u m b   ! =   e l   & &   ! h s . e x p a n d e r s [ i ] . o n L o a d S t a r t e d )   {  
 	 	 	 h s . e x p a n d e r s [ i ] . c a n c e l L o a d i n g ( ) ;  
 	 	 }  
 	 }  
 	 h s . e x p a n d e r s [ t h i s . k e y ]   =   t h i s ;  
 	 i f   ( ! h s . a l l o w M u l t i p l e I n s t a n c e s   & &   ! h s . u p c o m i n g )   {  
 	 	 i f   ( h s . e x p a n d e r s [ k e y - 1 ] )   h s . e x p a n d e r s [ k e y - 1 ] . c l o s e ( ) ;  
 	 	 i f   ( t y p e o f   h s . f o c u s K e y   ! =   ' u n d e f i n e d '   & &   h s . e x p a n d e r s [ h s . f o c u s K e y ] )  
 	 	 	 h s . e x p a n d e r s [ h s . f o c u s K e y ] . c l o s e ( ) ;  
 	 }  
 	  
 	 / /   i n i t i a t e   m e t r i c s  
 	 t h i s . e l   =   e l ;  
 	 t h i s . t p o s   =   h s . g e t P o s i t i o n ( e l ) ;  
 	 h s . p a g e   =   h s . g e t P a g e S i z e ( ) ;  
 	 v a r   x   =   t h i s . x   =   n e w   h s . D i m e n s i o n ( t h i s ,   ' x ' ) ;  
 	 x . c a l c T h u m b ( ) ;  
 	 v a r   y   =   t h i s . y   =   n e w   h s . D i m e n s i o n ( t h i s ,   ' y ' ) ;  
 	 y . c a l c T h u m b ( ) ;  
 	 i f   ( / a r e a / i . t e s t ( e l . t a g N a m e ) )   t h i s . g e t I m a g e M a p A r e a C o r r e c t i o n ( e l ) ;  
 	 t h i s . w r a p p e r   =   h s . c r e a t e E l e m e n t (  
 	 	 ' d i v ' ,   {  
 	 	 	 i d :   ' h i g h s l i d e - w r a p p e r - ' +   t h i s . k e y ,  
 	 	 	 c l a s s N a m e :   t h i s . w r a p p e r C l a s s N a m e  
 	 	 } ,   {  
 	 	 	 v i s i b i l i t y :   ' h i d d e n ' ,  
 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 z I n d e x :   h s . z I n d e x C o u n t e r + +  
 	 	 } ,   n u l l ,   t r u e   ) ;  
 	  
 	 t h i s . w r a p p e r . o n m o u s e o v e r   =   t h i s . w r a p p e r . o n m o u s e o u t   =   h s . w r a p p e r M o u s e H a n d l e r ;  
 	 i f   ( t h i s . c o n t e n t T y p e   = =   ' i m a g e '   & &   t h i s . o u t l i n e W h i l e A n i m a t i n g   = =   2 )  
 	 	 t h i s . o u t l i n e W h i l e A n i m a t i n g   =   0 ;  
 	  
 	 / /   g e t   t h e   o u t l i n e  
 	 i f   ( ! t h i s . o u t l i n e T y p e    
 	 	 | |   ( t h i s . l a s t   & &   t h i s . i s I m a g e   & &   t h i s . t r a n s i t i o n s [ 1 ]   = =   ' c r o s s f a d e ' ) )   {  
 	 	 t h i s [ t h i s . c o n t e n t T y p e   + ' C r e a t e ' ] ( ) ;  
 	  
 	 }   e l s e   i f   ( h s . p e n d i n g O u t l i n e s [ t h i s . o u t l i n e T y p e ] )   {  
 	 	 t h i s . c o n n e c t O u t l i n e ( ) ;  
 	 	 t h i s [ t h i s . c o n t e n t T y p e   + ' C r e a t e ' ] ( ) ;  
 	  
 	 }   e l s e   {  
 	 	 t h i s . s h o w L o a d i n g ( ) ;  
 	 	 v a r   e x p   =   t h i s ;  
 	 	 n e w   h s . O u t l i n e ( t h i s . o u t l i n e T y p e ,    
 	 	 	 f u n c t i o n   ( )   {  
 	 	 	 	 e x p . c o n n e c t O u t l i n e ( ) ;  
 	 	 	 	 e x p [ e x p . c o n t e n t T y p e   + ' C r e a t e ' ] ( ) ;  
 	 	 	 }    
 	 	 ) ;  
 	 }  
 	 r e t u r n   t r u e ;  
 } ;  
  
 h s . E x p a n d e r . p r o t o t y p e   =   {  
 e r r o r   :   f u n c t i o n ( e )   {  
 	 / /   a l e r t   ( ' L i n e   ' +   e . l i n e N u m b e r   + ' :   ' +   e . m e s s a g e ) ;  
 	 w i n d o w . l o c a t i o n . h r e f   =   t h i s . s r c ;  
 } ,  
  
 c o n n e c t O u t l i n e   :   f u n c t i o n ( )   {  
 	 v a r   o u t l i n e   =   t h i s . o u t l i n e   =   h s . p e n d i n g O u t l i n e s [ t h i s . o u t l i n e T y p e ] ;  
 	 o u t l i n e . e x p   =   t h i s ;  
 	 o u t l i n e . t a b l e . s t y l e . z I n d e x   =   t h i s . w r a p p e r . s t y l e . z I n d e x ;  
 	 h s . p e n d i n g O u t l i n e s [ t h i s . o u t l i n e T y p e ]   =   n u l l ;  
 } ,  
  
 s h o w L o a d i n g   :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . o n L o a d S t a r t e d   | |   t h i s . l o a d i n g )   r e t u r n ;  
 	  
 	 t h i s . l o a d i n g   =   h s . l o a d i n g ;  
 	 v a r   e x p   =   t h i s ;  
 	 t h i s . l o a d i n g . o n c l i c k   =   f u n c t i o n ( )   {  
 	 	 e x p . c a n c e l L o a d i n g ( ) ;  
 	 } ;  
 	  
 	  
 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n S h o w L o a d i n g ' ) )   r e t u r n ;  
 	 v a r   e x p   =   t h i s ,    
 	 	 l   =   t h i s . x . g e t ( ' l o a d i n g P o s ' )   + ' p x ' ,  
 	 	 t   =   t h i s . y . g e t ( ' l o a d i n g P o s ' )   + ' p x ' ;  
 	 i f   ( ! t g t   & &   t h i s . l a s t   & &   t h i s . t r a n s i t i o n s [ 1 ]   = =   ' c r o s s f a d e ' )    
 	 	 v a r   t g t   =   t h i s . l a s t ;    
 	 i f   ( t g t )   {  
 	 	 l   =   t g t . x . g e t ( ' l o a d i n g P o s X f a d e ' )   + ' p x ' ;  
 	 	 t   =   t g t . y . g e t ( ' l o a d i n g P o s X f a d e ' )   + ' p x ' ;  
 	 	 t h i s . l o a d i n g . s t y l e . z I n d e x   =   h s . z I n d e x C o u n t e r + + ;  
 	 }  
 	 s e t T i m e o u t ( f u n c t i o n   ( )   {    
 	 	 i f   ( e x p . l o a d i n g )   h s . s e t S t y l e s ( e x p . l o a d i n g ,   {   l e f t :   l ,   t o p :   t ,   z I n d e x :   h s . z I n d e x C o u n t e r + +   } ) }  
 	 ,   1 0 0 ) ;  
 } ,  
  
 i m a g e C r e a t e   :   f u n c t i o n ( )   {  
 	 v a r   e x p   =   t h i s ;  
 	  
 	 v a r   i m g   =   d o c u m e n t . c r e a t e E l e m e n t ( ' i m g ' ) ;  
         t h i s . c o n t e n t   =   i m g ;  
         i m g . o n l o a d   =   f u n c t i o n   ( )   {  
         	 i f   ( h s . e x p a n d e r s [ e x p . k e y ] )   e x p . c o n t e n t L o a d e d ( ) ;    
 	 } ;  
         i f   ( h s . b l o c k R i g h t C l i c k )   i m g . o n c o n t e x t m e n u   =   f u n c t i o n ( )   {   r e t u r n   f a l s e ;   } ;  
         i m g . c l a s s N a m e   =   ' h i g h s l i d e - i m a g e ' ;  
         h s . s e t S t y l e s ( i m g ,   {  
         	 v i s i b i l i t y :   ' h i d d e n ' ,  
         	 d i s p l a y :   ' b l o c k ' ,  
         	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 m a x W i d t h :   ' 9 9 9 9 p x ' ,  
 	 	 z I n d e x :   3  
 	 } ) ;  
         i m g . t i t l e   =   h s . l a n g . r e s t o r e T i t l e ;  
         i f   ( h s . s a f a r i )   h s . c o n t a i n e r . a p p e n d C h i l d ( i m g ) ;  
         i f   ( h s . i e   & &   h s . f l u s h I m g S i z e )   i m g . s r c   =   n u l l ;  
 	 i m g . s r c   =   t h i s . s r c ;  
 	  
 	 t h i s . s h o w L o a d i n g ( ) ;  
 } ,  
  
 h t m l C r e a t e   :   f u n c t i o n   ( )   {  
 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n B e f o r e G e t C o n t e n t ' ) )   r e t u r n ;  
 	  
 	 t h i s . c o n t e n t   =   h s . g e t C a c h e B i n d i n g ( t h i s . a ) ;  
 	 i f   ( ! t h i s . c o n t e n t )    
 	 	 t h i s . c o n t e n t   =   h s . g e t N o d e ( t h i s . c o n t e n t I d ) ;  
 	 i f   ( ! t h i s . c o n t e n t )    
 	 	 t h i s . c o n t e n t   =   h s . g e t S e l f R e n d e r e d ( ) ;  
 	 t h i s . g e t I n l i n e ( [ ' m a i n c o n t e n t ' ] ) ;  
 	 i f   ( t h i s . m a i n c o n t e n t )   {  
 	 	 v a r   b o d y   =   h s . g e t E l e m e n t B y C l a s s ( t h i s . c o n t e n t ,   ' d i v ' ,   ' h i g h s l i d e - b o d y ' ) ;  
 	 	 i f   ( b o d y )   b o d y . a p p e n d C h i l d ( t h i s . m a i n c o n t e n t ) ;  
 	 	 t h i s . m a i n c o n t e n t . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 	 }  
 	 h s . f i r e E v e n t ( t h i s ,   ' o n A f t e r G e t C o n t e n t ' ) ;  
 	  
 	 t h i s . i n n e r C o n t e n t   =   t h i s . c o n t e n t ;  
 	  
 	 i f   ( / ( s w f | i f r a m e ) / . t e s t ( t h i s . o b j e c t T y p e ) )   t h i s . s e t O b j C o n t a i n e r S i z e ( t h i s . i n n e r C o n t e n t ) ;  
 	  
 	 / /   t h e   c o n t e n t   t r e e  
 	 h s . c o n t a i n e r . a p p e n d C h i l d ( t h i s . w r a p p e r ) ;  
 	 h s . s e t S t y l e s (   t h i s . w r a p p e r ,   {    
 	 	 p o s i t i o n :   ' s t a t i c ' ,  
 	 	 p a d d i n g :   ' 0   ' +   h s . m a r g i n R i g h t   + ' p x   0   ' +   h s . m a r g i n L e f t   + ' p x '  
 	 } ) ;  
 	 t h i s . c o n t e n t   =   h s . c r e a t e E l e m e n t (  
         	 ' d i v ' ,   {  
         	 	 c l a s s N a m e :   ' h i g h s l i d e - h t m l '    
         	 } ,   {  
 	 	 	 p o s i t i o n :   ' r e l a t i v e ' ,  
 	 	 	 z I n d e x :   3 ,  
 	 	 	 o v e r f l o w :   ' h i d d e n '  
 	 	 } ,  
 	 	 t h i s . w r a p p e r  
 	 ) ;  
 	 t h i s . m e d i u m C o n t e n t   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,   n u l l ,   t h i s . c o n t e n t ,   1 ) ;  
 	 t h i s . m e d i u m C o n t e n t . a p p e n d C h i l d ( t h i s . i n n e r C o n t e n t ) ;  
 	  
 	 h s . s e t S t y l e s   ( t h i s . i n n e r C o n t e n t ,   {    
 	 	 p o s i t i o n :   ' r e l a t i v e ' ,  
 	 	 d i s p l a y :   ' b l o c k ' ,  
 	 	 d i r e c t i o n :   h s . l a n g . c s s D i r e c t i o n   | |   ' '  
 	 } ) ;  
 	 i f   ( t h i s . w i d t h )   t h i s . i n n e r C o n t e n t . s t y l e . w i d t h   =   t h i s . w i d t h + ' p x ' ;  
 	 i f   ( t h i s . h e i g h t )   t h i s . i n n e r C o n t e n t . s t y l e . h e i g h t   =   t h i s . h e i g h t + ' p x ' ;  
 	 i f   ( t h i s . i n n e r C o n t e n t . o f f s e t W i d t h   <   t h i s . m i n W i d t h )  
 	 	 t h i s . i n n e r C o n t e n t . s t y l e . w i d t h   =   t h i s . m i n W i d t h   + ' p x ' ;  
 	  
          
 	 i f   ( t h i s . o b j e c t T y p e   = =   ' a j a x '   & &   ! h s . g e t C a c h e B i n d i n g ( t h i s . a ) )   {  
 	 	 t h i s . s h o w L o a d i n g ( ) ;  
         	 v a r   a j a x   =   n e w   h s . A j a x ( t h i s . a ,   t h i s . i n n e r C o n t e n t ) ;  
         	 v a r   e x p   =   t h i s ;  
         	 a j a x . o n L o a d   =   f u n c t i o n   ( )   { 	 i f   ( h s . e x p a n d e r s [ e x p . k e y ] )   e x p . c o n t e n t L o a d e d ( ) ;   } ;  
         	 a j a x . o n E r r o r   =   f u n c t i o n   ( )   {   l o c a t i o n . h r e f   =   e x p . s r c ;   } ;  
         	 a j a x . r u n ( ) ;  
 	 }  
         e l s e  
          
         i f   ( t h i s . o b j e c t T y p e   = =   ' i f r a m e '   & &   t h i s . o b j e c t L o a d T i m e   = =   ' b e f o r e ' )   {  
 	 	 t h i s . w r i t e E x t e n d e d C o n t e n t ( ) ;  
 	 }  
         e l s e  
         	 t h i s . c o n t e n t L o a d e d ( ) ;  
 } ,  
  
 c o n t e n t L o a d e d   :   f u n c t i o n ( )   {  
 	 t r y   { 	  
 	 	 i f   ( ! t h i s . c o n t e n t )   r e t u r n ;  
 	 	 t h i s . c o n t e n t . o n l o a d   =   n u l l ;  
 	 	 i f   ( t h i s . o n L o a d S t a r t e d )   r e t u r n ;  
 	 	 e l s e   t h i s . o n L o a d S t a r t e d   =   t r u e ;  
 	 	  
 	 	 v a r   x   =   t h i s . x ,   y   =   t h i s . y ;  
 	 	  
 	 	 i f   ( t h i s . l o a d i n g )   {  
 	 	 	 h s . s e t S t y l e s ( t h i s . l o a d i n g ,   {   t o p :   ' - 9 9 9 9 p x '   } ) ;  
 	 	 	 t h i s . l o a d i n g   =   n u l l ;  
 	 	 	 h s . f i r e E v e n t ( t h i s ,   ' o n H i d e L o a d i n g ' ) ;  
 	 	 }  
 	 	 i f   ( t h i s . i s I m a g e )   { 	  
 	 	 	 x . f u l l   =   t h i s . c o n t e n t . w i d t h ;  
 	 	 	 y . f u l l   =   t h i s . c o n t e n t . h e i g h t ;  
 	 	 	  
 	 	 	 h s . s e t S t y l e s ( t h i s . c o n t e n t ,   {  
 	 	 	 	 w i d t h :   x . t   + ' p x ' ,  
 	 	 	 	 h e i g h t :   y . t   + ' p x '  
 	 	 	 } ) ;  
 	 	 	 t h i s . w r a p p e r . a p p e n d C h i l d ( t h i s . c o n t e n t ) ;  
 	 	 	 h s . c o n t a i n e r . a p p e n d C h i l d ( t h i s . w r a p p e r ) ;  
 	 	 }   e l s e   i f   ( t h i s . h t m l G e t S i z e )   t h i s . h t m l G e t S i z e ( ) ;  
 	 	  
 	 	 x . c a l c B o r d e r s ( ) ;  
 	 	 y . c a l c B o r d e r s ( ) ;  
 	 	  
 	 	 h s . s e t S t y l e s   ( t h i s . w r a p p e r ,   {  
 	 	 	 l e f t :   ( x . t p o s   +   x . t b   -   x . c b )   + ' p x ' ,  
 	 	 	 t o p :   ( y . t p o s   +   x . t b   -   y . c b )   + ' p x '  
 	 	 } ) ; 	 	  
 	 	  
 	 	  
 	 	 t h i s . i n i t S l i d e s h o w ( ) ;  
 	 	 t h i s . g e t O v e r l a y s ( ) ;  
 	 	  
 	 	 v a r   r a t i o   =   x . f u l l   /   y . f u l l ;  
 	 	  
 	 	 x . c a l c E x p a n d e d ( ) ;  
 	 	 t h i s . j u s t i f y ( x ) ;  
 	 	  
 	 	 y . c a l c E x p a n d e d ( ) ;  
 	 	 t h i s . j u s t i f y ( y ) ;  
 	 	 i f   ( t h i s . i s H t m l )   t h i s . h t m l S i z e O p e r a t i o n s ( ) ;  
 	 	 i f   ( t h i s . o v e r l a y B o x )   t h i s . s i z e O v e r l a y B o x ( 0 ,   1 ) ;  
 	 	  
 	 	 i f   ( t h i s . a l l o w S i z e R e d u c t i o n )   {  
 	 	 	 i f   ( t h i s . i s I m a g e )  
 	 	 	 	 t h i s . c o r r e c t R a t i o ( r a t i o ) ;  
 	 	 	 e l s e   t h i s . f i t O v e r l a y B o x ( ) ;  
 	 	 	 v a r   s s   =   t h i s . s l i d e s h o w ; 	 	 	  
 	 	 	 i f   ( s s   & &   t h i s . l a s t   & &   s s . c o n t r o l s   & &   s s . f i x e d C o n t r o l s )   {  
 	 	 	 	 v a r   p o s   =   s s . o v e r l a y O p t i o n s . p o s i t i o n   | |   ' ' ,   p ;  
 	 	 	 	 f o r   ( v a r   d i m   i n   h s . o P o s )   f o r   ( v a r   i   =   0 ;   i   <   5 ;   i + + )   {  
 	 	 	 	 	 p   =   t h i s [ d i m ] ;  
 	 	 	 	 	 i f   ( p o s . m a t c h ( h s . o P o s [ d i m ] [ i ] ) )   {  
 	 	 	 	 	 	 p . p o s   =   t h i s . l a s t [ d i m ] . p o s    
 	 	 	 	 	 	 	 +   ( t h i s . l a s t [ d i m ] . p 1   -   p . p 1 )  
 	 	 	 	 	 	 	 +   ( t h i s . l a s t [ d i m ] . s i z e   -   p . s i z e )   *   [ 0 ,   0 ,   . 5 ,   1 ,   1 ] [ i ] ;  
 	 	 	 	 	 	 i f   ( s s . f i x e d C o n t r o l s   = =   ' f i t ' )   {  
 	 	 	 	 	 	 	 i f   ( p . p o s   +   p . s i z e   +   p . p 1   +   p . p 2   >   p . s c r o l l   +   p . c l i e n t S i z e   -   p . m a r g i n M a x )  
 	 	 	 	 	 	 	 	 p . p o s   =   p . s c r o l l   +   p . c l i e n t S i z e   -   p . s i z e   -   p . m a r g i n M i n   -   p . m a r g i n M a x   -   p . p 1   -   p . p 2 ;  
 	 	 	 	 	 	 	 i f   ( p . p o s   <   p . s c r o l l   +   p . m a r g i n M i n )   p . p o s   =   p . s c r o l l   +   p . m a r g i n M i n ;    
 	 	 	 	 	 	 }    
 	 	 	 	 	 }  
 	 	 	 	 }  
 	 	 	 }  
 	 	 	 i f   ( t h i s . i s I m a g e   & &   t h i s . x . f u l l   >   ( t h i s . x . i m g S i z e   | |   t h i s . x . s i z e ) )   {  
 	 	 	 	 t h i s . c r e a t e F u l l E x p a n d ( ) ;  
 	 	 	 	 i f   ( t h i s . o v e r l a y s . l e n g t h   = =   1 )   t h i s . s i z e O v e r l a y B o x ( ) ;  
 	 	 	 }  
 	 	 }  
 	 	 t h i s . s h o w ( ) ;  
 	 	  
 	 }   c a t c h   ( e )   {  
 	 	 t h i s . e r r o r ( e ) ;  
 	 }  
 } ,  
  
  
 s e t O b j C o n t a i n e r S i z e   :   f u n c t i o n ( p a r e n t ,   a u t o )   {  
 	 v a r   c   =   h s . g e t E l e m e n t B y C l a s s ( p a r e n t ,   ' D I V ' ,   ' h i g h s l i d e - b o d y ' ) ;  
 	 i f   ( / ( i f r a m e | s w f ) / . t e s t ( t h i s . o b j e c t T y p e ) )   {  
 	 	 i f   ( t h i s . o b j e c t W i d t h )   c . s t y l e . w i d t h   =   t h i s . o b j e c t W i d t h   + ' p x ' ;  
 	 	 i f   ( t h i s . o b j e c t H e i g h t )   c . s t y l e . h e i g h t   =   t h i s . o b j e c t H e i g h t   + ' p x ' ;  
 	 }  
 } ,  
  
 w r i t e E x t e n d e d C o n t e n t   :   f u n c t i o n   ( )   {  
 	 i f   ( t h i s . h a s E x t e n d e d C o n t e n t )   r e t u r n ;  
 	 v a r   e x p   =   t h i s ;  
 	 t h i s . b o d y   =   h s . g e t E l e m e n t B y C l a s s ( t h i s . i n n e r C o n t e n t ,   ' D I V ' ,   ' h i g h s l i d e - b o d y ' ) ;  
 	 i f   ( t h i s . o b j e c t T y p e   = =   ' i f r a m e ' )   {  
 	 	 t h i s . s h o w L o a d i n g ( ) ;  
 	 	 v a r   r u l e r   =   h s . c l e a r i n g . c l o n e N o d e ( 1 ) ;  
 	 	 t h i s . b o d y . a p p e n d C h i l d ( r u l e r ) ;  
 	 	 t h i s . n e w W i d t h   =   t h i s . i n n e r C o n t e n t . o f f s e t W i d t h ;  
 	 	 i f   ( ! t h i s . o b j e c t W i d t h )   t h i s . o b j e c t W i d t h   =   r u l e r . o f f s e t W i d t h ;  
 	 	 v a r   h D i f f   =   t h i s . i n n e r C o n t e n t . o f f s e t H e i g h t   -   t h i s . b o d y . o f f s e t H e i g h t ,  
 	 	 	 h   =   t h i s . o b j e c t H e i g h t   | |   h s . p a g e . h e i g h t   -   h D i f f   -   h s . m a r g i n T o p   -   h s . m a r g i n B o t t o m ,  
 	 	 	 o n l o a d   =   t h i s . o b j e c t L o a d T i m e   = =   ' b e f o r e '   ?    
 	 	 	 	 '   o n l o a d = " i f   ( h s . e x p a n d e r s [ ' +   t h i s . k e y   + ' ] )   h s . e x p a n d e r s [ ' +   t h i s . k e y   + ' ] . c o n t e n t L o a d e d ( ) "   '   :   ' ' ;  
 	 	  
 	 	 t h i s . b o d y . i n n e r H T M L   + =   ' < i f r a m e   n a m e = " h s ' +   ( n e w   D a t e ( ) ) . g e t T i m e ( )   + ' "   f r a m e b o r d e r = " 0 "   k e y = " ' +   t h i s . k e y   + ' "   '  
 	 	 	 + '   a l l o w t r a n s p a r e n c y = " t r u e "   s t y l e = " w i d t h : ' +   t h i s . o b j e c t W i d t h   + ' p x ;   h e i g h t : ' +   h   + ' p x "   '  
 	 	 	 +   o n l o a d   + '   s r c = " ' +   t h i s . s r c   + ' " > < / i f r a m e > ' ;  
 	 	 t h i s . r u l e r   =   t h i s . b o d y . g e t E l e m e n t s B y T a g N a m e ( ' d i v ' ) [ 0 ] ;  
 	 	 t h i s . i f r a m e   =   t h i s . b o d y . g e t E l e m e n t s B y T a g N a m e ( ' i f r a m e ' ) [ 0 ] ;  
 	 	  
 	 	 i f   ( t h i s . o b j e c t L o a d T i m e   = =   ' a f t e r ' )   t h i s . c o r r e c t I f r a m e S i z e ( ) ;  
 	 	  
 	 }  
 	 i f   ( t h i s . o b j e c t T y p e   = =   ' s w f ' )   {  
 	 	 t h i s . b o d y . i d   =   t h i s . b o d y . i d   | |   ' h s - f l a s h - i d - '   +   t h i s . k e y ;  
 	 	 v a r   a   =   t h i s . s w f O p t i o n s ;  
 	 	 i f   ( t y p e o f   a . p a r a m s . w m o d e   = =   ' u n d e f i n e d ' )   a . p a r a m s . w m o d e   =   ' t r a n s p a r e n t ' ;  
 	 	 i f   ( s w f o b j e c t )   s w f o b j e c t . e m b e d S W F ( t h i s . s r c ,   t h i s . b o d y . i d ,   t h i s . o b j e c t W i d t h ,   t h i s . o b j e c t H e i g h t ,    
 	 	 	 a . v e r s i o n   | |   ' 7 ' ,   a . e x p r e s s I n s t a l l S w f u r l ,   a . f l a s h v a r s ,   a . p a r a m s ,   a . a t t r i b u t e s ) ;  
 	 }  
 	 t h i s . h a s E x t e n d e d C o n t e n t   =   t r u e ;  
 } ,  
 h t m l G e t S i z e   :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . i f r a m e   & &   ! t h i s . o b j e c t H e i g h t )   {   / /   l o a d t i m e   b e f o r e 	 	  
 	 	 t h i s . i f r a m e . s t y l e . h e i g h t   =   t h i s . b o d y . s t y l e . h e i g h t   =   t h i s . g e t I f r a m e P a g e H e i g h t ( )   + ' p x ' ;  
 	 }  
 	 t h i s . i n n e r C o n t e n t . a p p e n d C h i l d ( h s . c l e a r i n g ) ;  
 	 i f   ( ! t h i s . x . f u l l )   t h i s . x . f u l l   =   t h i s . i n n e r C o n t e n t . o f f s e t W i d t h ;  
         t h i s . y . f u l l   =   t h i s . i n n e r C o n t e n t . o f f s e t H e i g h t ;  
         t h i s . i n n e r C o n t e n t . r e m o v e C h i l d ( h s . c l e a r i n g ) ;  
         i f   ( h s . i e   & &   t h i s . n e w H e i g h t   >   p a r s e I n t ( t h i s . i n n e r C o n t e n t . c u r r e n t S t y l e . h e i g h t ) )   {   / /   i e   c s s   b u g  
 	 	 t h i s . n e w H e i g h t   =   p a r s e I n t ( t h i s . i n n e r C o n t e n t . c u r r e n t S t y l e . h e i g h t ) ;  
 	 }  
 	 h s . s e t S t y l e s (   t h i s . w r a p p e r ,   {   p o s i t i o n :   ' a b s o l u t e ' , 	 p a d d i n g :   ' 0 ' } ) ;  
 	 h s . s e t S t y l e s (   t h i s . c o n t e n t ,   {   w i d t h :   t h i s . x . t   + ' p x ' ,   h e i g h t :   t h i s . y . t   + ' p x ' } ) ;  
 } ,  
  
 g e t I f r a m e P a g e H e i g h t   :   f u n c t i o n ( )   {  
 	 v a r   h ;  
 	 t r y   {  
 	 	 v a r   d o c   =   t h i s . i f r a m e . c o n t e n t D o c u m e n t   | |   t h i s . i f r a m e . c o n t e n t W i n d o w . d o c u m e n t ;  
 	 	 v a r   c l e a r i n g   =   d o c . c r e a t e E l e m e n t ( ' d i v ' ) ;  
 	 	 c l e a r i n g . s t y l e . c l e a r   =   ' b o t h ' ;  
 	 	 d o c . b o d y . a p p e n d C h i l d ( c l e a r i n g ) ;  
 	 	 h   =   c l e a r i n g . o f f s e t T o p ;  
 	 	 i f   ( h s . i e )   h   + =   p a r s e I n t ( d o c . b o d y . c u r r e n t S t y l e . m a r g i n T o p )    
 	 	 	 +   p a r s e I n t ( d o c . b o d y . c u r r e n t S t y l e . m a r g i n B o t t o m )   -   1 ;  
 	 }   c a t c h   ( e )   {   / /   o t h e r   d o m a i n  
 	 	 h   =   3 0 0 ;  
 	 }  
 	 r e t u r n   h ;  
 } ,  
 c o r r e c t I f r a m e S i z e   :   f u n c t i o n   ( )   {  
 	 v a r   w D i f f   =   t h i s . i n n e r C o n t e n t . o f f s e t W i d t h   -   t h i s . r u l e r . o f f s e t W i d t h ;  
 	 i f   ( w D i f f   <   0 )   w D i f f   =   0 ;  
 	  
 	 v a r   h D i f f   =   t h i s . i n n e r C o n t e n t . o f f s e t H e i g h t   -   t h i s . i f r a m e . o f f s e t H e i g h t ;  
 	 h s . s e t S t y l e s ( t h i s . i f r a m e ,   {   w i d t h :   ( t h i s . x . s i z e   -   w D i f f )   + ' p x ' ,    
 	 	 h e i g h t :   ( t h i s . y . s i z e   -   h D i f f )   + ' p x '   } ) ;  
         h s . s e t S t y l e s ( t h i s . b o d y ,   {   w i d t h :   t h i s . i f r a m e . s t y l e . w i d t h ,    
         	 h e i g h t :   t h i s . i f r a m e . s t y l e . h e i g h t   } ) ;  
         	  
         t h i s . s c r o l l i n g C o n t e n t   =   t h i s . i f r a m e ;  
         t h i s . s c r o l l e r D i v   =   t h i s . s c r o l l i n g C o n t e n t ;  
 } ,  
 h t m l S i z e O p e r a t i o n s   :   f u n c t i o n   ( )   {  
 	  
 	 t h i s . s e t O b j C o n t a i n e r S i z e ( t h i s . i n n e r C o n t e n t ) ;  
 	  
 	  
 	 i f   ( t h i s . o b j e c t T y p e   = =   ' s w f '   & &   t h i s . o b j e c t L o a d T i m e   = =   ' b e f o r e ' )   t h i s . w r i t e E x t e n d e d C o n t e n t ( ) ; 	  
 	  
         / /   h a n d l e   m i n i m u m   s i z e  
         i f   ( t h i s . x . s i z e   <   t h i s . x . f u l l   & &   ! t h i s . a l l o w W i d t h R e d u c t i o n )   t h i s . x . s i z e   =   t h i s . x . f u l l ;  
         i f   ( t h i s . y . s i z e   <   t h i s . y . f u l l   & &   ! t h i s . a l l o w H e i g h t R e d u c t i o n )   t h i s . y . s i z e   =   t h i s . y . f u l l ;  
 	 t h i s . s c r o l l e r D i v   =   t h i s . i n n e r C o n t e n t ;  
         h s . s e t S t y l e s ( t h i s . m e d i u m C o n t e n t ,   {    
 	 	 p o s i t i o n :   ' r e l a t i v e ' ,  
 	 	 w i d t h :   t h i s . x . s i z e   + ' p x '  
 	 } ) ;  
         h s . s e t S t y l e s ( t h i s . i n n e r C o n t e n t ,   {    
         	 b o r d e r :   ' n o n e ' ,  
         	 w i d t h :   ' a u t o ' ,  
         	 h e i g h t :   ' a u t o '  
         } ) ;  
 	 v a r   n o d e   =   h s . g e t E l e m e n t B y C l a s s ( t h i s . i n n e r C o n t e n t ,   ' D I V ' ,   ' h i g h s l i d e - b o d y ' ) ;  
         i f   ( n o d e   & &   ! / ( i f r a m e | s w f ) / . t e s t ( t h i s . o b j e c t T y p e ) )   {  
         	 v a r   c N o d e   =   n o d e ;   / /   w r a p   t o   g e t   t r u e   s i z e  
         	 n o d e   =   h s . c r e a t e E l e m e n t ( c N o d e . n o d e N a m e ,   n u l l ,   { o v e r f l o w :   ' h i d d e n ' } ,   n u l l ,   t r u e ) ;  
         	 c N o d e . p a r e n t N o d e . i n s e r t B e f o r e ( n o d e ,   c N o d e ) ;  
         	 n o d e . a p p e n d C h i l d ( h s . c l e a r i n g ) ;   / /   I E 6  
         	 n o d e . a p p e n d C h i l d ( c N o d e ) ;  
         	  
         	 v a r   w D i f f   =   t h i s . i n n e r C o n t e n t . o f f s e t W i d t h   -   n o d e . o f f s e t W i d t h ;  
         	 v a r   h D i f f   =   t h i s . i n n e r C o n t e n t . o f f s e t H e i g h t   -   n o d e . o f f s e t H e i g h t ;  
 	 	 n o d e . r e m o v e C h i l d ( h s . c l e a r i n g ) ;  
         	  
         	 v a r   k d e B u g C o r r   =   h s . s a f a r i   | |   n a v i g a t o r . v e n d o r   = =   ' K D E '   ?   1   :   0 ;   / /   K D E   r e p a i n t i n g   b u g  
         	 h s . s e t S t y l e s ( n o d e ,   {    
         	 	 	 w i d t h :   ( t h i s . x . s i z e   -   w D i f f   -   k d e B u g C o r r )   + ' p x ' ,    
         	 	 	 h e i g h t :   ( t h i s . y . s i z e   -   h D i f f )   + ' p x ' ,  
         	 	 	 o v e r f l o w :   ' a u t o ' ,    
         	 	 	 p o s i t i o n :   ' r e l a t i v e '    
         	 	 }    
         	 ) ;  
 	 	 i f   ( k d e B u g C o r r   & &   c N o d e . o f f s e t H e i g h t   >   n o d e . o f f s e t H e i g h t ) 	 {  
         	 	 n o d e . s t y l e . w i d t h   =   ( p a r s e I n t ( n o d e . s t y l e . w i d t h )   +   k d e B u g C o r r )   +   ' p x ' ;  
 	 	 }  
         	 t h i s . s c r o l l i n g C o n t e n t   =   n o d e ;  
         	 t h i s . s c r o l l e r D i v   =   t h i s . s c r o l l i n g C o n t e n t ;  
 	 }  
         i f   ( t h i s . i f r a m e   & &   t h i s . o b j e c t L o a d T i m e   = =   ' b e f o r e ' )   t h i s . c o r r e c t I f r a m e S i z e ( ) ;  
         i f   ( ! t h i s . s c r o l l i n g C o n t e n t   & &   t h i s . y . s i z e   <   t h i s . m e d i u m C o n t e n t . o f f s e t H e i g h t )   t h i s . s c r o l l e r D i v   =   t h i s . c o n t e n t ;  
 	  
 	 i f   ( t h i s . s c r o l l e r D i v   = =   t h i s . c o n t e n t   & &   ! t h i s . a l l o w W i d t h R e d u c t i o n   & &   ! / ( i f r a m e | s w f ) / . t e s t ( t h i s . o b j e c t T y p e ) )   {  
 	 	 t h i s . x . s i z e   + =   1 7 ;   / /   r o o m   f o r   s c r o l l b a r s  
 	 }  
 	 i f   ( t h i s . s c r o l l e r D i v   & &   t h i s . s c r o l l e r D i v . o f f s e t H e i g h t   >   t h i s . s c r o l l e r D i v . p a r e n t N o d e . o f f s e t H e i g h t )   {  
 	 	 s e t T i m e o u t ( " t r y   {   h s . e x p a n d e r s [ " +   t h i s . k e y   + " ] . s c r o l l e r D i v . s t y l e . o v e r f l o w   =   ' a u t o ' ;   }   c a t c h ( e )   { } " ,  
 	 	 	   h s . e x p a n d D u r a t i o n ) ;  
 	 }  
 } ,  
  
 g e t I m a g e M a p A r e a C o r r e c t i o n   :   f u n c t i o n ( a r e a )   {  
 	 v a r   c   =   a r e a . c o o r d s . s p l i t ( ' , ' ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   c . l e n g t h ;   i + + )   c [ i ]   =   p a r s e I n t ( c [ i ] ) ;  
 	  
 	 i f   ( a r e a . s h a p e . t o L o w e r C a s e ( )   = =   ' c i r c l e ' )   {  
 	 	 t h i s . x . t p o s   + =   c [ 0 ]   -   c [ 2 ] ;  
 	 	 t h i s . y . t p o s   + =   c [ 1 ]   -   c [ 2 ] ;  
 	 	 t h i s . x . t   =   t h i s . y . t   =   2   *   c [ 2 ] ;  
 	 }   e l s e   {  
 	 	 v a r   m a x X ,   m a x Y ,   m i n X   =   m a x X   =   c [ 0 ] ,   m i n Y   =   m a x Y   =   c [ 1 ] ;  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   c . l e n g t h ;   i + + )   {  
 	 	 	 i f   ( i   %   2   = =   0 )   {  
 	 	 	 	 m i n X   =   M a t h . m i n ( m i n X ,   c [ i ] ) ;  
 	 	 	 	 m a x X   =   M a t h . m a x ( m a x X ,   c [ i ] ) ;  
 	 	 	 }   e l s e   {  
 	 	 	 	 m i n Y   =   M a t h . m i n ( m i n Y ,   c [ i ] ) ;  
 	 	 	 	 m a x Y   =   M a t h . m a x ( m a x Y ,   c [ i ] ) ;  
 	 	 	 }  
 	 	 }  
 	 	 t h i s . x . t p o s   + =   m i n X ;  
 	 	 t h i s . x . t   =   m a x X   -   m i n X ;  
 	 	 t h i s . y . t p o s   + =   m i n Y ;  
 	 	 t h i s . y . t   =   m a x Y   -   m i n Y ;  
 	 }  
 } ,  
 j u s t i f y   :   f u n c t i o n   ( p ,   m o v e O n l y )   {  
 	 v a r   t g t A r r ,   t g t   =   p . t a r g e t ,   d i m   =   p   = =   t h i s . x   ?   ' x '   :   ' y ' ;  
 	  
 	 i f   ( t g t   & &   t g t . m a t c h ( /   / ) )   {  
 	 	 t g t A r r   =   t g t . s p l i t ( '   ' ) ;  
 	 	 t g t   =   t g t A r r [ 0 ] ;  
 	 }  
 	 i f   ( t g t   & &   h s . $ ( t g t ) )   {  
 	 	 p . p o s   =   h s . g e t P o s i t i o n ( h s . $ ( t g t ) ) [ d i m ] ;  
 	 	 i f   ( t g t A r r   & &   t g t A r r [ 1 ]   & &   t g t A r r [ 1 ] . m a t c h ( / ^ [ - ] ? [ 0 - 9 ] + p x $ / ) )    
 	 	 	 p . p o s   + =   p a r s e I n t ( t g t A r r [ 1 ] ) ;  
 	 	 i f   ( p . s i z e   <   p . m i n S i z e )   p . s i z e   =   p . m i n S i z e ;  
 	 	  
 	 }   e l s e   i f   ( p . j u s t i f y   = =   ' a u t o '   | |   p . j u s t i f y   = =   ' c e n t e r ' )   {  
 	  
 	 	 v a r   h a s M o v e d M i n   =   f a l s e ;  
 	 	  
 	 	 v a r   a l l o w R e d u c e   =   p . e x p . a l l o w S i z e R e d u c t i o n ;  
 	 	 i f   ( p . j u s t i f y   = =   ' c e n t e r ' )  
 	 	 	 p . p o s   =   M a t h . r o u n d ( p . s c r o l l   +   ( p . c l i e n t S i z e   +   p . m a r g i n M i n   -   p . m a r g i n M a x   -   p . g e t ( ' w s i z e ' ) )   /   2 ) ;  
 	 	 e l s e  
 	 	 	 p . p o s   =   M a t h . r o u n d ( p . p o s   -   ( ( p . g e t ( ' w s i z e ' )   -   p . t )   /   2 ) ) ;  
 	 	 i f   ( p . p o s   <   p . s c r o l l   +   p . m a r g i n M i n )   {  
 	 	 	 p . p o s   =   p . s c r o l l   +   p . m a r g i n M i n ;  
 	 	 	 h a s M o v e d M i n   =   t r u e ; 	 	  
 	 	 }  
 	 	 i f   ( ! m o v e O n l y   & &   p . s i z e   <   p . m i n S i z e )   {  
 	 	 	 p . s i z e   =   p . m i n S i z e ;  
 	 	 	 a l l o w R e d u c e   =   f a l s e ;  
 	 	 }  
 	 	 i f   ( p . p o s   +   p . g e t ( ' w s i z e ' )   >   p . s c r o l l   +   p . c l i e n t S i z e   -   p . m a r g i n M a x )   {  
 	 	 	 i f   ( ! m o v e O n l y   & &   h a s M o v e d M i n   & &   a l l o w R e d u c e )   {  
 	 	 	 	 p . s i z e   =   p . g e t ( ' f i t s i z e ' ) ;   / /   c a n ' t   e x p a n d   m o r e  
 	 	 	 }   e l s e   i f   ( p . g e t ( ' w s i z e ' )   <   p . g e t ( ' f i t s i z e ' ) )   {  
 	 	 	 	 p . p o s   =   p . s c r o l l   +   p . c l i e n t S i z e   -   p . m a r g i n M a x   -   p . g e t ( ' w s i z e ' ) ;  
 	 	 	 }   e l s e   {   / /   i m a g e   l a r g e r   t h a n   v i e w p o r t  
 	 	 	 	 p . p o s   =   p . s c r o l l   +   p . m a r g i n M i n ;  
 	 	 	 	 i f   ( ! m o v e O n l y   & &   a l l o w R e d u c e )   p . s i z e   =   p . g e t ( ' f i t s i z e ' ) ;  
 	 	 	 } 	 	 	  
 	 	 }  
 	 	  
 	 	 i f   ( ! m o v e O n l y   & &   p . s i z e   <   p . m i n S i z e )   {  
 	 	 	 p . s i z e   =   p . m i n S i z e ;  
 	 	 	 a l l o w R e d u c e   =   f a l s e ;  
 	 	 }  
 	 	  
 	  
 	 }   e l s e   i f   ( p . j u s t i f y   = =   ' m a x ' )   {  
 	 	 p . p o s   =   M a t h . f l o o r ( p . p o s   -   p . s i z e   +   p . t ) ;  
 	 }  
 	  
 	 	  
 	 i f   ( p . p o s   <   p . m a r g i n M i n )   {  
 	 	 v a r   t m p M i n   =   p . p o s ;  
 	 	 p . p o s   =   p . m a r g i n M i n ;    
 	 	  
 	 	 i f   ( a l l o w R e d u c e   & &   ! m o v e O n l y )   p . s i z e   =   p . s i z e   -   ( p . p o s   -   t m p M i n ) ;  
 	 	  
 	 }  
 } ,  
  
 c o r r e c t R a t i o   :   f u n c t i o n ( r a t i o )   {  
 	 v a r   x   =   t h i s . x ,    
 	 	 y   =   t h i s . y ,  
 	 	 c h a n g e d   =   f a l s e ,  
 	 	 x S i z e   =   M a t h . m i n ( x . f u l l ,   x . s i z e ) ,  
 	 	 y S i z e   =   M a t h . m i n ( y . f u l l ,   y . s i z e ) ,  
 	 	 u s e B o x   =   ( t h i s . u s e B o x   | |   h s . p a d T o M i n W i d t h ) ;  
 	  
 	 i f   ( x S i z e   /   y S i z e   >   r a t i o )   {   / /   w i d t h   g r e a t e r  
 	 	 x S i z e   =   y S i z e   *   r a t i o ;  
 	 	 i f   ( x S i z e   <   x . m i n S i z e )   {   / /   b e l o w   m i n W i d t h  
 	 	 	 x S i z e   =   x . m i n S i z e ;  
 	 	 	 y S i z e   =   x S i z e   /   r a t i o ;  
 	 	 }  
 	 	 c h a n g e d   =   t r u e ;  
 	  
 	 }   e l s e   i f   ( x S i z e   /   y S i z e   <   r a t i o )   {   / /   h e i g h t   g r e a t e r  
 	 	 y S i z e   =   x S i z e   /   r a t i o ;  
 	 	 c h a n g e d   =   t r u e ;  
 	 }  
 	  
 	 i f   ( h s . p a d T o M i n W i d t h   & &   x . f u l l   <   x . m i n S i z e )   {  
 	 	 x . i m g S i z e   =   x . f u l l ;  
 	 	 y . s i z e   =   y . i m g S i z e   =   y . f u l l ;  
 	 }   e l s e   i f   ( t h i s . u s e B o x )   {  
 	 	 x . i m g S i z e   =   x S i z e ;  
 	 	 y . i m g S i z e   =   y S i z e ;  
 	 }   e l s e   {  
 	 	 x . s i z e   =   x S i z e ;  
 	 	 y . s i z e   =   y S i z e ;  
 	 }  
 	 t h i s . f i t O v e r l a y B o x ( u s e B o x   ?   n u l l   :   r a t i o ) ;  
 	 i f   ( u s e B o x   & &   y . s i z e   <   y . i m g S i z e )   {  
 	 	 y . i m g S i z e   =   y . s i z e ;  
 	 	 x . i m g S i z e   =   y . s i z e   *   r a t i o ;  
 	 }  
 	 i f   ( c h a n g e d   | |   u s e B o x )   {  
 	 	 x . p o s   =   x . t p o s   -   x . c b   +   x . t b ;  
 	 	 x . m i n S i z e   =   x . s i z e ;  
 	 	 t h i s . j u s t i f y ( x ,   t r u e ) ;  
 	  
 	 	 y . p o s   =   y . t p o s   -   y . c b   +   y . t b ;  
 	 	 y . m i n S i z e   =   y . s i z e ;  
 	 	 t h i s . j u s t i f y ( y ,   t r u e ) ;  
 	 	 i f   ( t h i s . o v e r l a y B o x )   t h i s . s i z e O v e r l a y B o x ( ) ;  
 	 }  
 } ,  
 f i t O v e r l a y B o x   :   f u n c t i o n ( r a t i o )   {  
 	 v a r   x   =   t h i s . x ,   y   =   t h i s . y ;  
 	 i f   ( t h i s . o v e r l a y B o x )   {  
 	 	 w h i l e   ( y . s i z e   >   t h i s . m i n H e i g h t   & &   x . s i z e   >   t h i s . m i n W i d t h    
 	 	 	 	 & &     y . g e t ( ' w s i z e ' )   >   y . g e t ( ' f i t s i z e ' ) )   {  
 	 	 	 y . s i z e   - =   1 0 ;  
 	 	 	 i f   ( r a t i o )   x . s i z e   =   y . s i z e   *   r a t i o ;  
 	 	 	 t h i s . s i z e O v e r l a y B o x ( 0 ,   1 ) ;  
 	 	 }  
 	 }  
 } ,  
  
 r e f l o w   :   f u n c t i o n   ( )   {  
 	 i f   ( t h i s . s c r o l l e r D i v )   {  
 	 	 v a r   h   =   / i f r a m e / i . t e s t ( t h i s . s c r o l l e r D i v . t a g N a m e )   ?   t h i s . g e t I f r a m e P a g e H e i g h t ( )   +   1   + ' p x '   :   ' a u t o ' ;  
 	 	 i f   ( t h i s . b o d y )   t h i s . b o d y . s t y l e . h e i g h t   =   h ;  
 	 	 t h i s . s c r o l l e r D i v . s t y l e . h e i g h t   =   h ;  
 	 	 t h i s . y . s e t S i z e ( t h i s . i n n e r C o n t e n t . o f f s e t H e i g h t ) ;  
 	 	 h s . s e t D i m m e r S i z e ( t h i s ) ;  
 	 }  
 } ,  
  
 s h o w   :   f u n c t i o n   ( )   {  
 	 v a r   x   =   t h i s . x ,   y   =   t h i s . y ;  
 	 t h i s . d o S h o w H i d e ( ' h i d d e n ' ) ;  
 	 h s . f i r e E v e n t ( t h i s ,   ' o n B e f o r e E x p a n d ' ) ;  
 	 i f   ( t h i s . s l i d e s h o w   & &   t h i s . s l i d e s h o w . t h u m b s t r i p )   t h i s . s l i d e s h o w . t h u m b s t r i p . s e l e c t T h u m b ( ) ;  
 	  
 	 / /   A p p l y   s i z e   c h a n g e  
 	 t h i s . c h a n g e S i z e (  
 	 	 1 ,   {  
 	 	 	 w r a p p e r :   {  
 	 	 	 	 w i d t h   :   x . g e t ( ' w s i z e ' ) ,  
 	 	 	 	 h e i g h t   :   y . g e t ( ' w s i z e ' ) ,  
 	 	 	 	 l e f t :   x . p o s ,  
 	 	 	 	 t o p :   y . p o s  
 	 	 	 } ,  
 	 	 	 c o n t e n t :   {  
 	 	 	 	 l e f t :   x . p 1   +   x . g e t ( ' i m g P a d ' ) ,  
 	 	 	 	 t o p :   y . p 1   +   y . g e t ( ' i m g P a d ' ) ,  
 	 	 	 	 w i d t h : x . i m g S i z e   | | x . s i z e ,  
 	 	 	 	 h e i g h t : y . i m g S i z e   | | y . s i z e  
 	 	 	 }  
 	 	 } ,  
 	 	 h s . e x p a n d D u r a t i o n  
 	 ) ;  
 } ,  
  
 c h a n g e S i z e   :   f u n c t i o n ( u p ,   t o ,   d u r )   {  
 	 / /   t r a n s i t i o n  
 	 v a r   t r a n s   =   t h i s . t r a n s i t i o n s ,  
 	 o t h e r   =   u p   ?   ( t h i s . l a s t   ?   t h i s . l a s t . a   :   n u l l )   :   h s . u p c o m i n g ,  
 	 t   =   ( t r a n s [ 1 ]   & &   o t h e r    
 	 	 	 & &   h s . g e t P a r a m ( o t h e r ,   ' t r a n s i t i o n s ' ) [ 1 ]   = =   t r a n s [ 1 ] )   ?  
 	 	 t r a n s [ 1 ]   :   t r a n s [ 0 ] ;  
 	 	  
 	 i f   ( t h i s [ t ]   & &   t   ! =   ' e x p a n d ' )   {  
 	 	 t h i s [ t ] ( u p ,   t o ) ;  
 	 	 r e t u r n ;  
 	 }  
 	  
 	 i f   ( t h i s . o u t l i n e   & &   ! t h i s . o u t l i n e W h i l e A n i m a t i n g )   {  
 	 	 i f   ( u p )   t h i s . o u t l i n e . s e t P o s i t i o n ( ) ;  
 	 	 e l s e   t h i s . o u t l i n e . d e s t r o y (  
 	 	 	 	 ( t h i s . i s H t m l   & &   t h i s . p r e s e r v e C o n t e n t ) ) ;  
 	 }  
 	  
 	  
 	 i f   ( ! u p )   t h i s . d e s t r o y O v e r l a y s ( ) ;  
 	  
 	 v a r   e x p   =   t h i s ,  
 	 	 x   =   e x p . x ,  
 	 	 y   =   e x p . y ,  
 	 	 e a s i n g   =   t h i s . e a s i n g ;  
 	 i f   ( ! u p )   e a s i n g   =   t h i s . e a s i n g C l o s e   | |   e a s i n g ;  
 	 v a r   a f t e r   =   u p   ?  
 	 	 f u n c t i o n ( )   {  
 	 	 	 	  
 	 	 	 i f   ( e x p . o u t l i n e )   e x p . o u t l i n e . t a b l e . s t y l e . v i s i b i l i t y   =   " v i s i b l e " ;  
 	 	 	 s e t T i m e o u t ( f u n c t i o n ( )   {  
 	 	 	 	 e x p . a f t e r E x p a n d ( ) ;  
 	 	 	 } ,   5 0 ) ;  
 	 	 }   :  
 	 	 f u n c t i o n ( )   {  
 	 	 	 e x p . a f t e r C l o s e ( ) ;  
 	 	 } ;  
 	 i f   ( u p )   h s . s e t S t y l e s (   t h i s . w r a p p e r ,   {  
 	 	 w i d t h :   x . t   + ' p x ' ,  
 	 	 h e i g h t :   y . t   + ' p x '  
 	 } ) ;  
 	 i f   ( t h i s . i s H t m l )   {  
 	 	 v a r   m c P o s   =   {  
 	 	 	 l e f t :   ( x . p o s   -   x . t p o s   +   x . c b   -   x . t b )   + ' p x ' ,  
 	 	 	 t o p :   ( y . p o s   -   y . t p o s   +   y . c b   -   y . t b )   + ' p x '  
 	 	 } ;  
 	 	 i f   ( u p )   {  
 	 	 	 h s . s e t S t y l e s ( t h i s . w r a p p e r ,   {  
 	 	 	 	 l e f t :   ( x . t p o s   -   x . c b   +   x . t b )   + ' p x ' ,  
 	 	 	 	 t o p :   ( y . t p o s   -   y . c b   +   y . t b )   + ' p x '  
 	 	 	 } ) ;  
 	 	 	 h s . s e t S t y l e s ( t h i s . m e d i u m C o n t e n t ,   m c P o s ) ;  
 	 	 	 m c P o s   =   {   l e f t :   0 ,   t o p :   0   } ;  
 	 	 }  
 	 	  
 	 	 h s . a n i m a t e ( t h i s . m e d i u m C o n t e n t ,   m c P o s ,   d u r ,   e a s i n g ) ;  
 	 }  
 	 i f   ( t h i s . f a d e I n O u t )   {  
 	 	 h s . s e t S t y l e s ( t h i s . w r a p p e r ,   {   o p a c i t y :   u p   ?   0   :   1   } ) ;  
 	 	 h s . e x t e n d ( t o . w r a p p e r ,   {   o p a c i t y :   u p   } ) ;  
 	 }  
 	 i f   ( t h i s . o u t l i n e   & &   t h i s . o u t l i n e W h i l e A n i m a t i n g )   {  
 	 	 v a r   w r a p S t e p   =     f u n c t i o n ( v a l ,   a r g s )   {  
 	 	 	 i f   ( a r g s . p r o p   = =   ' h e i g h t ' )   e x p . o u t l i n e . s e t P o s i t i o n ( 1 ,   0 ,   1 ) ;  
 	 	 }  
 	 }  
 	 h s . a n i m a t e (   t h i s . w r a p p e r ,   t o . w r a p p e r ,   {  
 	 	 d u r a t i o n :   d u r ,  
 	 	 e a s i n g :   e a s i n g ,  
 	 	 s t e p :   w r a p S t e p  
 	 } ) ;  
 	 h s . a n i m a t e (   t h i s . c o n t e n t ,   t o . c o n t e n t ,   d u r ,   e a s i n g ,   a f t e r ) ;  
 	 i f   ( u p )   {  
 	 	 t h i s . w r a p p e r . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 t h i s . c o n t e n t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 i f   ( t h i s . i s H t m l )   t h i s . i n n e r C o n t e n t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 t h i s . a . c l a s s N a m e   + =   '   h i g h s l i d e - a c t i v e - a n c h o r ' ;  
 	 }  
 } ,  
  
  
  
 f a d e   :   f u n c t i o n ( u p ,   t o )   {  
 	 t h i s . o u t l i n e W h i l e A n i m a t i n g   =   f a l s e ;  
 	 v a r   e x p   =   t h i s , 	 t   =   u p   ?   h s . e x p a n d D u r a t i o n   :   0 ;  
 	  
 	 i f   ( u p )   {  
 	 	 h s . a n i m a t e ( t h i s . w r a p p e r ,   t o . w r a p p e r ,   0 ) ;  
 	 	 h s . s e t S t y l e s ( t h i s . w r a p p e r ,   {   o p a c i t y :   0 ,   v i s i b i l i t y :   ' v i s i b l e '   } ) ;  
 	 	 h s . a n i m a t e ( t h i s . c o n t e n t ,   t o . c o n t e n t ,   0 ) ;  
 	 	 t h i s . c o n t e n t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
  
 	 	 h s . a n i m a t e ( t h i s . w r a p p e r ,   {   o p a c i t y :   1   } ,   t ,   n u l l ,    
 	 	 	 f u n c t i o n ( )   {   e x p . a f t e r E x p a n d ( ) ;   } ) ;  
 	 }  
 	  
 	 i f   ( t h i s . o u t l i n e )   {  
 	 	 t h i s . o u t l i n e . t a b l e . s t y l e . z I n d e x   =   t h i s . w r a p p e r . s t y l e . z I n d e x ;  
 	 	 v a r   d i r   =   u p   | |   - 1 ,    
 	 	 	 o f f s e t   =   t h i s . o u t l i n e . o f f s e t ,  
 	 	 	 s t a r t O f f   =   u p   ?   3   :   o f f s e t ,  
 	 	 	 e n d O f f   =   u p ?   o f f s e t   :   3 ;  
 	 	 f o r   ( v a r   i   =   s t a r t O f f ;   d i r   *   i   < =   d i r   *   e n d O f f ;   i   + =   d i r ,   t   + =   2 5 )   {  
 	 	 	 ( f u n c t i o n ( )   {  
 	 	 	 	 v a r   o   =   u p   ?   e n d O f f   -   i   :   s t a r t O f f   -   i ;  
 	 	 	 	 s e t T i m e o u t ( f u n c t i o n ( )   {  
 	 	 	 	 	 e x p . o u t l i n e . s e t P o s i t i o n ( 0 ,   o ,   1 ) ;  
 	 	 	 	 } ,   t ) ;  
 	 	 	 } ) ( ) ;  
 	 	 }  
 	 }  
 	  
 	  
 	 i f   ( u p )   { } / / s e t T i m e o u t ( f u n c t i o n ( )   {   e x p . a f t e r E x p a n d ( ) ;   } ,   t + 5 0 ) ;  
 	 e l s e   {  
 	 	 s e t T i m e o u t (   f u n c t i o n ( )   {  
 	 	 	 i f   ( e x p . o u t l i n e )   e x p . o u t l i n e . d e s t r o y ( e x p . p r e s e r v e C o n t e n t ) ;  
 	 	 	  
 	 	 	 e x p . d e s t r o y O v e r l a y s ( ) ;  
 	  
 	 	 	 h s . a n i m a t e (   e x p . w r a p p e r ,   {   o p a c i t y :   0   } ,   n u l l ,   n u l l ,   f u n c t i o n ( ) {  
 	 	 	 	 e x p . a f t e r C l o s e ( ) ;  
 	 	 	 } ) ;  
 	 	 } ,   t ) ; 	 	  
 	 }  
 } ,  
  
 c r o s s f a d e   :   f u n c t i o n   ( u p ,   t o )   {  
 	 i f   ( ! u p )   r e t u r n ;  
 	 v a r   e x p   =   t h i s ,    
 	 	 d u r   =   h s . t r a n s i t i o n D u r a t i o n ,    
 	 	 l a s t   =   e x p . l a s t ,  
 	 	 x   =   e x p . x ,    
 	 	 y   =   e x p . y ,  
 	 	 l a s t X   =   l a s t . x ,  
 	 	 l a s t Y   =   l a s t . y ,  
 	 	 o v e r l a y B o x   =   e x p . o v e r l a y B o x ,  
 	 	 w r a p p e r   =   t h i s . w r a p p e r ,  
 	 	 c o n t e n t   =   t h i s . c o n t e n t ;  
 	 h s . r e m o v e E v e n t L i s t e n e r ( d o c u m e n t ,   ' m o u s e m o v e ' ,   h s . d r a g H a n d l e r ) ;  
 	 t h i s . o u t l i n e   =   l a s t . o u t l i n e ;  
 	 i f   ( t h i s . o u t l i n e )   t h i s . o u t l i n e . e x p   =   e x p ;  
 	 l a s t . o u t l i n e   =   n u l l ;  
 	 l a s t . w r a p p e r . s t y l e . o v e r f l o w   =   ' h i d d e n ' ;  
 	 h s . s e t S t y l e s ( w r a p p e r ,   {  
 	 	 l e f t :   l a s t X . p o s   + ' p x ' ,  
 	 	 t o p :   l a s t Y . p o s   + ' p x ' ,  
 	 	 w i d t h :   l a s t X . g e t ( ' w s i z e ' )   + ' p x ' ,  
 	 	 h e i g h t :   l a s t Y . g e t ( ' w s i z e ' )   + ' p x '  
 	 } ) ;  
 	 h s . s e t S t y l e s ( c o n t e n t ,   {  
 	 	 d i s p l a y :   ' n o n e ' ,  
 	 	 w i d t h :   ( x . i m g S i z e   | |   x . s i z e )   + ' p x ' ,    
 	 	 h e i g h t :   ( y . i m g S i z e   | |   y . s i z e )   + ' p x ' ,  
 	 	 l e f t :   ( x . p 1   +   x . g e t ( ' i m g P a d ' ) )   + ' p x ' ,  
 	 	 t o p :   ( y . p 1   +   y . g e t ( ' i m g P a d ' ) )   +   ' p x '  
 	 } ) ;  
 	 v a r   f a d e B o x   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {  
 	 	 c l a s s N a m e :   ' h i g h s l i d e - i m a g e '  
 	 } ,   {    
 	 	 p o s i t i o n :   ' a b s o l u t e ' ,    
 	 	 z I n d e x :   4 ,  
 	 	 o v e r f l o w :   ' h i d d e n ' ,  
 	 	 d i s p l a y :   ' n o n e ' ,  
 	 	 l e f t :   ( l a s t X . p 1   +   l a s t X . g e t ( ' i m g P a d ' ) )   + ' p x ' ,  
 	 	 t o p :   ( l a s t Y . p 1   +   l a s t Y . g e t ( ' i m g P a d ' ) )   + ' p x ' ,  
 	 	 w i d t h :   ( l a s t X . i m g S i z e   | |   l a s t X . s i z e )   + ' p x ' ,  
 	 	 h e i g h t :   ( l a s t Y . i m g S i z e   | |   l a s t Y . s i z e )   + ' p x '  
 	 } ) ;  
 	 i f   ( t h i s . i s H t m l )   h s . s e t S t y l e s ( t h i s . m e d i u m C o n t e n t ,   {    
 	 	 l e f t :   0 ,  
 	 	 t o p :   0  
 	 } ) ;  
 	 i f   ( o v e r l a y B o x )   h s . s e t S t y l e s ( o v e r l a y B o x ,   {  
 	 	 o v e r f l o w :   ' v i s i b l e ' ,  
 	 	 l e f t :   ( l a s t X . p 1   +   l a s t X . c b )   + ' p x ' ,  
 	 	 t o p :   ( l a s t Y . p 1   +   l a s t Y . c b )   + ' p x ' ,  
 	 	 w i d t h :   l a s t X . s i z e   + ' p x ' ,  
 	 	 h e i g h t :   l a s t Y . s i z e   + ' p x '  
 	 } ) ;  
 	 v a r   n a m e s   =   {   o l d I m g :   l a s t ,   n e w I m g :   t h i s   } ;  
 	 f o r   ( v a r   n   i n   n a m e s )   {   	  
 	 	 t h i s [ n ]   =   n a m e s [ n ] . c o n t e n t . c l o n e N o d e ( 1 ) ;  
 	 	 h s . s e t S t y l e s ( t h i s [ n ] ,   {  
 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 b o r d e r :   0 ,  
 	 	 	 v i s i b i l i t y :   ' v i s i b l e '  
 	 	 } ) ;  
 	 	 f a d e B o x . a p p e n d C h i l d ( t h i s [ n ] ) ;  
 	 }  
 	 h s . s e t S t y l e s ( t h i s . o l d I m g ,   {  
 	 	 l e f t :   0 ,  
 	 	 t o p :   0  
 	 } ) ; 	  
 	 h s . s e t S t y l e s ( t h i s . n e w I m g ,   {  
 	 	 d i s p l a y :   ' b l o c k ' ,  
 	 	 o p a c i t y :   0 ,  
 	 	 l e f t :   ( x . p o s   -   l a s t X . p o s   +   x . p 1   -   l a s t X . p 1   +   x . g e t ( ' i m g P a d ' )   -   l a s t X . g e t ( ' i m g P a d ' ) )   + ' p x ' ,  
 	 	 t o p :   ( y . p o s   -   l a s t Y . p o s   +   y . p 1   -   l a s t Y . p 1   +   y . g e t ( ' i m g P a d ' )   -   l a s t Y . g e t ( ' i m g P a d ' ) )   + ' p x '  
 	 } ) ;  
 	 w r a p p e r . a p p e n d C h i l d ( f a d e B o x ) ;  
 	 i f   ( o v e r l a y B o x )   {  
 	 	 o v e r l a y B o x . c l a s s N a m e   =   ' ' ;  
 	 	 w r a p p e r . a p p e n d C h i l d ( o v e r l a y B o x ) ;  
 	 }  
 	 f a d e B o x . s t y l e . d i s p l a y   =   ' ' ;  
 	 l a s t . c o n t e n t . s t y l e . d i s p l a y   =   ' n o n e ' ;  
  
 	 i f   ( h s . s a f a r i )   {  
 	 	 v a r   m a t c h   =   n a v i g a t o r . u s e r A g e n t . m a t c h ( / S a f a r i \ / ( [ 0 - 9 ] { 3 } ) / ) ;  
 	 	 i f   ( m a t c h   & &   p a r s e I n t ( m a t c h [ 1 ] )   <   5 2 5 )   w r a p p e r . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 }  
 	 f u n c t i o n   e n d ( )   { 	 	  
 	 	 w r a p p e r . s t y l e . v i s i b i l i t y   =   c o n t e n t . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 c o n t e n t . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 	 	 f a d e B o x . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 e x p . a . c l a s s N a m e   + =   '   h i g h s l i d e - a c t i v e - a n c h o r ' ;  
 	 	 e x p . a f t e r E x p a n d ( ) ;  
 	 	 l a s t . a f t e r C l o s e ( ) ;  
 	 }  
  
 	 h s . a n i m a t e ( l a s t . w r a p p e r ,   {    
 	 	 l e f t :   x . p o s ,  
 	 	 t o p :   y . p o s ,  
 	 	 w i d t h :   x . g e t ( ' w s i z e ' ) ,  
 	 	 h e i g h t :   y . g e t ( ' w s i z e ' )  
 	 } ,   d u r ) ;  
 	  
 	 h s . a n i m a t e ( f a d e B o x ,   {  
 	 	 w i d t h :   x . i m g S i z e   | |   x . s i z e ,  
 	 	 h e i g h t :   y . i m g S i z e   | |   y . s i z e ,  
 	 	 l e f t :   x . p 1   +   x . g e t ( ' i m g P a d ' ) ,  
 	 	 t o p :   y . p 1   +   y . g e t ( ' i m g P a d ' )  
 	 } ,   d u r ) ;  
 	  
 	 h s . a n i m a t e ( t h i s . o l d I m g ,   {  
 	 	 l e f t :   ( l a s t X . p o s   -   x . p o s   +   l a s t X . p 1   -   x . p 1   +   l a s t X . g e t ( ' i m g P a d ' )   -   x . g e t ( ' i m g P a d ' ) ) ,  
 	 	 t o p :   ( l a s t Y . p o s   -   y . p o s   +   l a s t Y . p 1   -   y . p 1   +   l a s t Y . g e t ( ' i m g P a d ' )   -   y . g e t ( ' i m g P a d ' ) )  
 	 } ,   d u r ) ; 	 	  
 	  
 	 h s . a n i m a t e ( t h i s . n e w I m g ,   {  
 	 	 o p a c i t y :   1 ,  
 	 	 l e f t :   0 ,  
 	 	 t o p :   0  
 	 } ,   d u r ) ;  
 	 i f   ( o v e r l a y B o x )   h s . a n i m a t e ( o v e r l a y B o x ,   {  
 	 	 l e f t :   x . p 1   +   x . c b ,  
 	 	 t o p :   y . p 1   +   y . c b ,  
 	 	 w i d t h :   x . s i z e ,  
 	 	 h e i g h t :   y . s i z e  
 	 } ,   d u r ) ;  
 	 i f   ( t h i s . o u t l i n e )   v a r   w r a p S t e p   =     f u n c t i o n ( v a l ,   a r g s )   { 	 	  
 	 	 i f   ( a r g s . p r o p   = =   ' h e i g h t ' )   e x p . o u t l i n e . s e t P o s i t i o n ( 1 ) ;  
 	 } ;  
 	 h s . a n i m a t e ( w r a p p e r ,   t o . w r a p p e r ,   {  
 	 	 d u r a t i o n :   d u r ,    
 	 	 c a l l b a c k :   e n d ,  
 	 	 s t e p :   w r a p S t e p  
 	 } ) ;  
 	  
 	 f a d e B o x . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 } ,  
 r e u s e O v e r l a y   :   f u n c t i o n ( o ,   e l )   {  
 	 i f   ( ! t h i s . l a s t )   r e t u r n   f a l s e ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   t h i s . l a s t . o v e r l a y s . l e n g t h ;   i + + )   {  
 	 	 v a r   o D i v   =   h s . $ ( ' h s I d ' +   t h i s . l a s t . o v e r l a y s [ i ] ) ;  
 	 	 i f   ( o D i v   & &   o D i v . h s I d   = =   o . h s I d )   {  
 	 	 	 t h i s . g e n O v e r l a y B o x ( ) ;  
 	 	 	 o D i v . r e u s e   =   t h i s . k e y ;  
 	 	 	 h s . p u s h ( t h i s . o v e r l a y s ,   t h i s . l a s t . o v e r l a y s [ i ] ) ;  
 	 	 	 r e t u r n   t r u e ;  
 	 	 }  
 	 }  
 	 r e t u r n   f a l s e ;  
 } ,  
  
  
 a f t e r E x p a n d   :   f u n c t i o n ( )   {  
 	 t h i s . i s E x p a n d e d   =   t r u e ; 	  
 	 t h i s . f o c u s ( ) ;  
 	  
 	 i f   ( t h i s . i s H t m l   & &   t h i s . o b j e c t L o a d T i m e   = =   ' a f t e r ' )   t h i s . w r i t e E x t e n d e d C o n t e n t ( ) ;  
 	 i f   ( t h i s . i f r a m e )   {  
 	 	 t r y   {  
 	 	 	 v a r   e x p   =   t h i s ,  
 	 	 	 	 d o c   =   t h i s . i f r a m e . c o n t e n t D o c u m e n t   | |   t h i s . i f r a m e . c o n t e n t W i n d o w . d o c u m e n t ;  
 	 	 	 h s . a d d E v e n t L i s t e n e r ( d o c ,   ' m o u s e d o w n ' ,   f u n c t i o n   ( )   {  
 	 	 	 	 i f   ( h s . f o c u s K e y   ! =   e x p . k e y )   e x p . f o c u s ( ) ;  
 	 	 	 } ) ;  
 	 	 }   c a t c h ( e )   { }  
 	 	 i f   ( h s . i e   & &   t y p e o f   t h i s . i s C l o s i n g   ! =   ' b o o l e a n ' )   / /   f i r s t   o p e n    
 	 	 	 t h i s . i f r a m e . s t y l e . w i d t h   =   ( t h i s . o b j e c t W i d t h   -   1 )   + ' p x ' ;   / /   h a s L a y o u t  
 	 }  
 	 i f   ( t h i s . d i m m i n g O p a c i t y )   h s . d i m ( t h i s ) ;  
 	 i f   ( h s . u p c o m i n g   & &   h s . u p c o m i n g   = =   t h i s . a )   h s . u p c o m i n g   =   n u l l ;  
 	 t h i s . p r e p a r e N e x t O u t l i n e ( ) ;  
 	 v a r   p   =   h s . p a g e ,   m X   =   h s . m o u s e . x   +   p . s c r o l l L e f t ,   m Y   =   h s . m o u s e . y   +   p . s c r o l l T o p ;  
 	 t h i s . m o u s e I s O v e r   =   t h i s . x . p o s   <   m X   & &   m X   <   t h i s . x . p o s   +   t h i s . x . g e t ( ' w s i z e ' )  
 	 	 & &   t h i s . y . p o s   <   m Y   & &   m Y   <   t h i s . y . p o s   +   t h i s . y . g e t ( ' w s i z e ' ) ; 	  
 	 i f   ( t h i s . o v e r l a y B o x )   t h i s . s h o w O v e r l a y s ( ) ;  
 	 h s . f i r e E v e n t ( t h i s ,   ' o n A f t e r E x p a n d ' ) ;  
 	  
 } ,  
  
  
 p r e p a r e N e x t O u t l i n e   :   f u n c t i o n ( )   {  
 	 v a r   k e y   =   t h i s . k e y ;  
 	 v a r   o u t l i n e T y p e   =   t h i s . o u t l i n e T y p e ;  
 	 n e w   h s . O u t l i n e ( o u t l i n e T y p e ,    
 	 	 f u n c t i o n   ( )   {   t r y   {   h s . e x p a n d e r s [ k e y ] . p r e l o a d N e x t ( ) ;   }   c a t c h   ( e )   { }   } ) ;  
 } ,  
  
  
 p r e l o a d N e x t   :   f u n c t i o n ( )   {  
 	 v a r   n e x t   =   t h i s . g e t A d j a c e n t A n c h o r ( 1 ) ;  
 	 i f   ( n e x t   & &   n e x t . o n c l i c k . t o S t r i n g ( ) . m a t c h ( / h s \ . e x p a n d / ) )    
 	 	 v a r   i m g   =   h s . c r e a t e E l e m e n t ( ' i m g ' ,   {   s r c :   h s . g e t S r c ( n e x t )   } ) ;  
 } ,  
  
  
 g e t A d j a c e n t A n c h o r   :   f u n c t i o n ( o p )   {  
 	 v a r   c u r r e n t   =   t h i s . g e t A n c h o r I n d e x ( ) ,   a s   =   h s . a n c h o r s . g r o u p s [ t h i s . s l i d e s h o w G r o u p   | |   ' n o n e ' ] ;  
 	  
 	 / * <   ?   i f   ( $ c f g - > s l i d e s h o w )   :   ? > s * /  
 	 i f   ( ! a s [ c u r r e n t   +   o p ]   & &   t h i s . s l i d e s h o w   & &   t h i s . s l i d e s h o w . r e p e a t )   {  
 	 	 i f   ( o p   = =   1 )   r e t u r n   a s [ 0 ] ;  
 	 	 e l s e   i f   ( o p   = =   - 1 )   r e t u r n   a s [ a s . l e n g t h - 1 ] ;  
 	 }  
 	 / * <   ?   e n d i f   ? > s * /  
 	 r e t u r n   a s [ c u r r e n t   +   o p ]   | |   n u l l ;  
 } ,  
  
 g e t A n c h o r I n d e x   :   f u n c t i o n ( )   {  
 	 v a r   a r r   =   h s . g e t A n c h o r s ( ) . g r o u p s [ t h i s . s l i d e s h o w G r o u p   | |   ' n o n e ' ] ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   a r r . l e n g t h ;   i + + )   {  
 	 	 i f   ( a r r [ i ]   = =   t h i s . a )   r e t u r n   i ;    
 	 }  
 	 r e t u r n   n u l l ;  
 } ,  
  
  
 g e t N u m b e r   :   f u n c t i o n ( )   {  
 	 i f   ( t h i s [ t h i s . n u m b e r P o s i t i o n ] )   {  
 	 	 v a r   a r r   =   h s . a n c h o r s . g r o u p s [ t h i s . s l i d e s h o w G r o u p   | |   ' n o n e ' ] ;  
 	 	 v a r   s   =   h s . l a n g . n u m b e r . r e p l a c e ( ' % 1 ' ,   t h i s . g e t A n c h o r I n d e x ( )   +   1 ) . r e p l a c e ( ' % 2 ' ,   a r r . l e n g t h ) ;  
 	 	 t h i s [ t h i s . n u m b e r P o s i t i o n ] . i n n e r H T M L   =    
 	 	 	 ' < d i v   c l a s s = " h i g h s l i d e - n u m b e r " > ' +   s   + ' < / d i v > ' +   t h i s [ t h i s . n u m b e r P o s i t i o n ] . i n n e r H T M L ;  
 	 }  
 } ,  
 i n i t S l i d e s h o w   :   f u n c t i o n ( )   {  
 	 i f   ( ! t h i s . l a s t )   {  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   h s . s l i d e s h o w s . l e n g t h ;   i + + )   {  
 	 	 	 v a r   s s   =   h s . s l i d e s h o w s [ i ] ,   s g   =   s s . s l i d e s h o w G r o u p ;  
 	 	 	 i f   ( t y p e o f   s g   = =   ' u n d e f i n e d '   | |   s g   = = =   n u l l   | |   s g   = = =   t h i s . s l i d e s h o w G r o u p )    
 	 	 	 	 t h i s . s l i d e s h o w   =   n e w   h s . S l i d e s h o w ( t h i s ,   s s ) ;  
 	 	 }    
 	 }   e l s e   {  
 	 	 t h i s . s l i d e s h o w   =   t h i s . l a s t . s l i d e s h o w ;  
 	 }  
 	 v a r   s s   =   t h i s . s l i d e s h o w ;  
 	 i f   ( ! s s )   r e t u r n ;  
 	 v a r   e x p   =   s s . e x p   =   t h i s ;  
 	  
 	 s s . c h e c k F i r s t A n d L a s t ( ) ;  
 	 s s . d i s a b l e ( ' f u l l - e x p a n d ' ) ;  
 	 i f   ( s s . c o n t r o l s )   {  
 	 	 v a r   o   =   s s . o v e r l a y O p t i o n s   | |   { } ;  
 	 	 o . o v e r l a y I d   =   s s . c o n t r o l s ;  
 	 	 o . h s I d   =   ' c o n t r o l s ' ; 	 	  
 	 	 t h i s . c r e a t e O v e r l a y ( o ) ;  
 	 }  
 	 i f   ( s s . t h u m b s t r i p )   s s . t h u m b s t r i p . a d d ( t h i s ) ;  
 	 i f   ( ! t h i s . l a s t   & &   t h i s . a u t o p l a y )   s s . p l a y ( t r u e ) ;  
 	 i f   ( s s . a u t o p l a y )   {  
 	 	 s s . a u t o p l a y   =   s e t T i m e o u t ( f u n c t i o n ( )   {  
 	 	 	 h s . n e x t ( e x p . k e y ) ;  
 	 	 } ,   ( s s . i n t e r v a l   | |   5 0 0 ) ) ;  
 	 }  
 } ,  
  
 c a n c e l L o a d i n g   :   f u n c t i o n ( )   { 	  
 	 h s . e x p a n d e r s [ t h i s . k e y ]   =   n u l l ;  
 	 i f   ( h s . u p c o m i n g   = =   t h i s . a )   h s . u p c o m i n g   =   n u l l ;  
 	 h s . u n d i m ( t h i s . k e y ) ;  
 	 i f   ( t h i s . l o a d i n g )   h s . l o a d i n g . s t y l e . l e f t   =   ' - 9 9 9 9 p x ' ;  
 	 h s . f i r e E v e n t ( t h i s ,   ' o n H i d e L o a d i n g ' ) ;  
 } ,  
  
 w r i t e C r e d i t s   :   f u n c t i o n   ( )   {  
 	 i f   ( t h i s . c r e d i t s )   r e t u r n ;  
 	 t h i s . c r e d i t s   =   h s . c r e a t e E l e m e n t ( ' a ' ,   {  
 	 	 h r e f :   h s . c r e d i t s H r e f ,  
 	 	 c l a s s N a m e :   ' h i g h s l i d e - c r e d i t s ' ,  
 	 	 i n n e r H T M L :   h s . l a n g . c r e d i t s T e x t ,  
 	 	 t i t l e :   h s . l a n g . c r e d i t s T i t l e  
 	 } ) ;  
 	 t h i s . c r e a t e O v e r l a y ( {    
 	 	 o v e r l a y I d :   t h i s . c r e d i t s ,    
 	 	 p o s i t i o n :   ' t o p   l e f t ' ,    
 	 	 h s I d :   ' c r e d i t s '    
 	 } ) ;  
 } ,  
  
 g e t I n l i n e   :   f u n c t i o n ( t y p e s ,   a d d O v e r l a y )   {  
 	 f o r   ( v a r   i   =   0 ;   i   <   t y p e s . l e n g t h ;   i + + )   {  
 	 	 v a r   t y p e   =   t y p e s [ i ] ,   s   =   n u l l ;  
 	 	 i f   ( t y p e   = =   ' c a p t i o n '   & &   ! h s . f i r e E v e n t ( t h i s ,   ' o n B e f o r e G e t C a p t i o n ' ) )   r e t u r n ;  
 	 	 e l s e   i f   ( t y p e   = =   ' h e a d i n g '   & &   ! h s . f i r e E v e n t ( t h i s ,   ' o n B e f o r e G e t H e a d i n g ' ) )   r e t u r n ;  
 	 	 i f   ( ! t h i s [ t y p e   + ' I d ' ]   & &   t h i s . t h u m b s U s e r S e t I d )      
 	 	 	 t h i s [ t y p e   + ' I d ' ]   =   t y p e   + ' - f o r - ' +   t h i s . t h u m b s U s e r S e t I d ;  
 	 	 i f   ( t h i s [ t y p e   + ' I d ' ] )   t h i s [ t y p e ]   =   h s . g e t N o d e ( t h i s [ t y p e   + ' I d ' ] ) ;  
 	 	 i f   ( ! t h i s [ t y p e ]   & &   ! t h i s [ t y p e   + ' T e x t ' ]   & &   t h i s [ t y p e   + ' E v a l ' ] )   t r y   {  
 	 	 	 s   =   e v a l ( t h i s [ t y p e   + ' E v a l ' ] ) ;  
 	 	 }   c a t c h   ( e )   { }  
 	 	 i f   ( ! t h i s [ t y p e ]   & &   t h i s [ t y p e   + ' T e x t ' ] )   {  
 	 	 	 s   =   t h i s [ t y p e   + ' T e x t ' ] ;  
 	 	 }  
 	 	 i f   ( ! t h i s [ t y p e ]   & &   ! s )   {  
 	 	 	 v a r   n e x t   =   t h i s . a . n e x t S i b l i n g ;  
 	 	 	 w h i l e   ( n e x t   & &   ! h s . i s H s A n c h o r ( n e x t ) )   {  
 	 	 	 	 i f   ( ( n e w   R e g E x p ( ' h i g h s l i d e - ' +   t y p e ) ) . t e s t ( n e x t . c l a s s N a m e   | |   n u l l ) )   {  
 	 	 	 	 	 t h i s [ t y p e ]   =   n e x t . c l o n e N o d e ( 1 ) ;  
 	 	 	 	 	 b r e a k ;  
 	 	 	 	 }  
 	 	 	 	 n e x t   =   n e x t . n e x t S i b l i n g ;  
 	 	 	 }  
 	 	 }  
 	 	 i f   ( ! t h i s [ t y p e ]   & &   ! s   & &   t h i s . n u m b e r P o s i t i o n   = =   t y p e )   s   =   ' \ n ' ;  
 	 	  
 	 	 i f   ( ! t h i s [ t y p e ]   & &   s )   t h i s [ t y p e ]   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,    
 	 	 	 	 {   c l a s s N a m e :   ' h i g h s l i d e - ' +   t y p e ,   i n n e r H T M L :   s   }   ) ;  
 	 	  
 	 	 i f   ( a d d O v e r l a y   & &   t h i s [ t y p e ] )   {  
 	 	 	 v a r   o   =   {   p o s i t i o n :   ( t y p e   = =   ' h e a d i n g ' )   ?   ' a b o v e '   :   ' b e l o w '   } ;  
 	 	 	 f o r   ( v a r   x   i n   t h i s [ t y p e + ' O v e r l a y ' ] )   o [ x ]   =   t h i s [ t y p e + ' O v e r l a y ' ] [ x ] ;  
 	 	 	 o . o v e r l a y I d   =   t h i s [ t y p e ] ;  
 	 	 	 t h i s . c r e a t e O v e r l a y ( o ) ;  
 	 	 }  
 	 }  
 } ,  
  
  
 / /   o n   e n d   m o v e   a n d   r e s i z e  
 d o S h o w H i d e   :   f u n c t i o n ( v i s i b i l i t y )   {  
 	 i f   ( h s . h i d e S e l e c t s )   t h i s . s h o w H i d e E l e m e n t s ( ' S E L E C T ' ,   v i s i b i l i t y ) ;  
 	 i f   ( h s . h i d e I f r a m e s )   t h i s . s h o w H i d e E l e m e n t s ( ' I F R A M E ' ,   v i s i b i l i t y ) ;  
 	 i f   ( h s . g e c k o M a c )   t h i s . s h o w H i d e E l e m e n t s ( ' * ' ,   v i s i b i l i t y ) ;  
 } ,  
 s h o w H i d e E l e m e n t s   :   f u n c t i o n   ( t a g N a m e ,   v i s i b i l i t y )   {  
 	 v a r   e l s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( t a g N a m e ) ;  
 	 v a r   p r o p   =   t a g N a m e   = =   ' * '   ?   ' o v e r f l o w '   :   ' v i s i b i l i t y ' ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   e l s . l e n g t h ;   i + + )   {  
 	 	 i f   ( p r o p   = =   ' v i s i b i l i t y '   | |   ( d o c u m e n t . d e f a u l t V i e w . g e t C o m p u t e d S t y l e (  
 	 	 	 	 e l s [ i ] ,   " " ) . g e t P r o p e r t y V a l u e ( ' o v e r f l o w ' )   = =   ' a u t o '  
 	 	 	 	 | |   e l s [ i ] . g e t A t t r i b u t e ( ' h i d d e n - b y ' )   ! =   n u l l ) )   {  
 	 	 	 v a r   h i d d e n B y   =   e l s [ i ] . g e t A t t r i b u t e ( ' h i d d e n - b y ' ) ;  
 	 	 	 i f   ( v i s i b i l i t y   = =   ' v i s i b l e '   & &   h i d d e n B y )   {  
 	 	 	 	 h i d d e n B y   =   h i d d e n B y . r e p l a c e ( ' [ ' +   t h i s . k e y   + ' ] ' ,   ' ' ) ;  
 	 	 	 	 e l s [ i ] . s e t A t t r i b u t e ( ' h i d d e n - b y ' ,   h i d d e n B y ) ;  
 	 	 	 	 i f   ( ! h i d d e n B y )   e l s [ i ] . s t y l e [ p r o p ]   =   e l s [ i ] . o r i g P r o p ;  
 	 	 	 }   e l s e   i f   ( v i s i b i l i t y   = =   ' h i d d e n ' )   {   / /   h i d e   i f   b e h i n d  
 	 	 	 	 v a r   e l P o s   =   h s . g e t P o s i t i o n ( e l s [ i ] ) ;  
 	 	 	 	 e l P o s . w   =   e l s [ i ] . o f f s e t W i d t h ;  
 	 	 	 	 e l P o s . h   =   e l s [ i ] . o f f s e t H e i g h t ;  
 	 	 	 	 i f   ( ! t h i s . d i m m i n g O p a c i t y )   {   / /   h i d e   a l l   i f   d i m m i n g  
 	 	 	 	  
 	 	 	 	 	 v a r   c l e a r s X   =   ( e l P o s . x   +   e l P o s . w   <   t h i s . x . g e t ( ' o p o s ' )    
 	 	 	 	 	 	 | |   e l P o s . x   >   t h i s . x . g e t ( ' o p o s ' )   +   t h i s . x . g e t ( ' o s i z e ' ) ) ;  
 	 	 	 	 	 v a r   c l e a r s Y   =   ( e l P o s . y   +   e l P o s . h   <   t h i s . y . g e t ( ' o p o s ' )    
 	 	 	 	 	 	 | |   e l P o s . y   >   t h i s . y . g e t ( ' o p o s ' )   +   t h i s . y . g e t ( ' o s i z e ' ) ) ;  
 	 	 	 	 }  
 	 	 	 	 v a r   w r a p p e r K e y   =   h s . g e t W r a p p e r K e y ( e l s [ i ] ) ;  
 	 	 	 	 i f   ( ! c l e a r s X   & &   ! c l e a r s Y   & &   w r a p p e r K e y   ! =   t h i s . k e y )   {   / /   e l e m e n t   f a l l s   b e h i n d   i m a g e  
 	 	 	 	 	 i f   ( ! h i d d e n B y )   {  
 	 	 	 	 	 	 e l s [ i ] . s e t A t t r i b u t e ( ' h i d d e n - b y ' ,   ' [ ' +   t h i s . k e y   + ' ] ' ) ;  
 	 	 	 	 	 	 e l s [ i ] . o r i g P r o p   =   e l s [ i ] . s t y l e [ p r o p ] ;  
 	 	 	 	 	 	 e l s [ i ] . s t y l e [ p r o p ]   =   ' h i d d e n ' ;  
 	 	 	 	 	 	  
 	 	 	 	 	 }   e l s e   i f   ( h i d d e n B y . i n d e x O f ( ' [ ' +   t h i s . k e y   + ' ] ' )   = =   - 1 )   {  
 	 	 	 	 	 	 e l s [ i ] . s e t A t t r i b u t e ( ' h i d d e n - b y ' ,   h i d d e n B y   +   ' [ ' +   t h i s . k e y   + ' ] ' ) ;  
 	 	 	 	 	 }  
 	 	 	 	 }   e l s e   i f   ( ( h i d d e n B y   = =   ' [ ' +   t h i s . k e y   + ' ] '   | |   h s . f o c u s K e y   = =   w r a p p e r K e y )  
 	 	 	 	 	 	 & &   w r a p p e r K e y   ! =   t h i s . k e y )   {   / /   o n   m o v e  
 	 	 	 	 	 e l s [ i ] . s e t A t t r i b u t e ( ' h i d d e n - b y ' ,   ' ' ) ;  
 	 	 	 	 	 e l s [ i ] . s t y l e [ p r o p ]   =   e l s [ i ] . o r i g P r o p   | |   ' ' ;  
 	 	 	 	 }   e l s e   i f   ( h i d d e n B y   & &   h i d d e n B y . i n d e x O f ( ' [ ' +   t h i s . k e y   + ' ] ' )   >   - 1 )   {  
 	 	 	 	 	 e l s [ i ] . s e t A t t r i b u t e ( ' h i d d e n - b y ' ,   h i d d e n B y . r e p l a c e ( ' [ ' +   t h i s . k e y   + ' ] ' ,   ' ' ) ) ;  
 	 	 	 	 }  
 	 	 	 	 	 	  
 	 	 	 }  
 	 	 }  
 	 }  
 } ,  
  
 f o c u s   :   f u n c t i o n ( )   {  
 	 t h i s . w r a p p e r . s t y l e . z I n d e x   =   h s . z I n d e x C o u n t e r + + ;  
 	 / /   b l u r   o t h e r s  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . e x p a n d e r s . l e n g t h ;   i + + )   {  
 	 	 i f   ( h s . e x p a n d e r s [ i ]   & &   i   = =   h s . f o c u s K e y )   {  
 	 	 	 v a r   b l u r E x p   =   h s . e x p a n d e r s [ i ] ;  
 	 	 	 b l u r E x p . c o n t e n t . c l a s s N a m e   + =   '   h i g h s l i d e - ' +   b l u r E x p . c o n t e n t T y p e   + ' - b l u r ' ;  
 	 	 	 i f   ( b l u r E x p . i s I m a g e )   {  
 	 	 	 	 b l u r E x p . c o n t e n t . s t y l e . c u r s o r   =   h s . i e   ?   ' h a n d '   :   ' p o i n t e r ' ;  
 	 	 	 	 b l u r E x p . c o n t e n t . t i t l e   =   h s . l a n g . f o c u s T i t l e ; 	  
 	 	 	 } 	  
 	 	 	 h s . f i r e E v e n t ( t h i s ,   ' o n B l u r ' ) ;  
 	 	 }  
 	 }  
 	  
 	 / /   f o c u s   t h i s  
 	 i f   ( t h i s . o u t l i n e )   t h i s . o u t l i n e . t a b l e . s t y l e . z I n d e x    
 	 	 =   t h i s . w r a p p e r . s t y l e . z I n d e x ;  
 	 t h i s . c o n t e n t . c l a s s N a m e   =   ' h i g h s l i d e - ' +   t h i s . c o n t e n t T y p e ;  
 	 i f   ( t h i s . i s I m a g e )   {  
 	 	 t h i s . c o n t e n t . t i t l e   =   h s . l a n g . r e s t o r e T i t l e ;  
 	 	  
 	 	 i f   ( h s . r e s t o r e C u r s o r )   {  
 	 	 	 h s . s t y l e R e s t o r e C u r s o r   =   w i n d o w . o p e r a   ?   ' p o i n t e r '   :   ' u r l ( ' +   h s . g r a p h i c s D i r   +   h s . r e s t o r e C u r s o r   + ' ) ,   p o i n t e r ' ;  
 	 	 	 i f   ( h s . i e   & &   h s . u a V e r s i o n   <   6 )   h s . s t y l e R e s t o r e C u r s o r   =   ' h a n d ' ;  
 	 	 	 t h i s . c o n t e n t . s t y l e . c u r s o r   =   h s . s t y l e R e s t o r e C u r s o r ;  
 	 	 }  
 	 }  
 	 h s . f o c u s K e y   =   t h i s . k e y ; 	  
 	 h s . a d d E v e n t L i s t e n e r ( d o c u m e n t ,   w i n d o w . o p e r a   ?   ' k e y p r e s s '   :   ' k e y d o w n ' ,   h s . k e y H a n d l e r ) ; 	  
 	 h s . f i r e E v e n t ( t h i s ,   ' o n F o c u s ' ) ; 	  
 } ,  
 m o v e T o :   f u n c t i o n ( x ,   y )   {  
 	 t h i s . x . s e t P o s ( x ) ;  
 	 t h i s . y . s e t P o s ( y ) ;  
 } ,  
 r e s i z e   :   f u n c t i o n   ( e )   {  
 	 v a r   w ,   h ,   r   =   e . w i d t h   /   e . h e i g h t ;  
 	 w   =   M a t h . m a x ( e . w i d t h   +   e . d X ,   M a t h . m i n ( t h i s . m i n W i d t h ,   t h i s . x . f u l l ) ) ;  
 	 i f   ( t h i s . i s I m a g e   & &   M a t h . a b s ( w   -   t h i s . x . f u l l )   <   1 2 )   w   =   t h i s . x . f u l l ;  
 	 h   =   t h i s . i s H t m l   ?   e . h e i g h t   +   e . d Y   :   w   /   r ;  
 	 i f   ( h   <   M a t h . m i n ( t h i s . m i n H e i g h t ,   t h i s . y . f u l l ) )   {  
 	 	 h   =   M a t h . m i n ( t h i s . m i n H e i g h t ,   t h i s . y . f u l l ) ;  
 	 	 i f   ( t h i s . i s I m a g e )   w   =   h   *   r ;  
 	 }  
 	 t h i s . r e s i z e T o ( w ,   h ) ;  
 } ,  
 r e s i z e T o :   f u n c t i o n ( w ,   h )   {  
 	 t h i s . y . s e t S i z e ( h ) ;  
 	 t h i s . x . s e t S i z e ( w ) ;  
 } ,  
  
 c l o s e   :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . i s C l o s i n g   | |   ! t h i s . i s E x p a n d e d )   r e t u r n ;  
 	 i f   ( t h i s . t r a n s i t i o n s [ 1 ]   = =   ' c r o s s f a d e '   & &   h s . u p c o m i n g )   {  
 	 	 h s . g e t E x p a n d e r ( h s . u p c o m i n g ) . c a n c e l L o a d i n g ( ) ;  
 	 	 h s . u p c o m i n g   =   n u l l ;  
 	 }  
 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n B e f o r e C l o s e ' ) )   r e t u r n ;  
 	 t h i s . i s C l o s i n g   =   t r u e ;  
 	 i f   ( t h i s . s l i d e s h o w   & &   ! h s . u p c o m i n g )   t h i s . s l i d e s h o w . p a u s e ( ) ;  
 	  
 	 h s . r e m o v e E v e n t L i s t e n e r ( d o c u m e n t ,   w i n d o w . o p e r a   ?   ' k e y p r e s s '   :   ' k e y d o w n ' ,   h s . k e y H a n d l e r ) ;  
 	  
 	 t r y   {  
 	 	 i f   ( t h i s . i s H t m l )   t h i s . h t m l P r e p a r e C l o s e ( ) ;  
 	 	 t h i s . c o n t e n t . s t y l e . c u r s o r   =   ' d e f a u l t ' ;  
 	 	 t h i s . c h a n g e S i z e (  
 	 	 	 0 ,   {  
 	 	 	 	 w r a p p e r :   {  
 	 	 	 	 	 w i d t h   :   t h i s . x . t ,  
 	 	 	 	 	 h e i g h t   :   t h i s . y . t ,  
 	 	 	 	 	 l e f t :   t h i s . x . t p o s   -   t h i s . x . c b   +   t h i s . x . t b ,  
 	 	 	 	 	 t o p :   t h i s . y . t p o s   -   t h i s . y . c b   +   t h i s . y . t b  
 	 	 	 	 } ,  
 	 	 	 	 c o n t e n t :   {  
 	 	 	 	 	 l e f t :   0 ,  
 	 	 	 	 	 t o p :   0 ,  
 	 	 	 	 	 w i d t h :   t h i s . x . t ,  
 	 	 	 	 	 h e i g h t :   t h i s . y . t  
 	 	 	 	 }  
 	 	 	 } ,   h s . r e s t o r e D u r a t i o n  
 	 	 ) ;  
 	 }   c a t c h   ( e )   {   t h i s . a f t e r C l o s e ( ) ;   }  
 } ,  
  
 h t m l P r e p a r e C l o s e   :   f u n c t i o n ( )   {  
 	 i f   ( h s . g e c k o M a c )   {   / /   b a d   r e d r a w s  
 	 	 i f   ( ! h s . m a s k )   h s . m a s k   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   n u l l ,    
 	 	 	 {   p o s i t i o n :   ' a b s o l u t e '   } ,   h s . c o n t a i n e r ) ;  
 	 	 h s . s e t S t y l e s ( h s . m a s k ,   {   w i d t h :   t h i s . x . s i z e   + ' p x ' ,   h e i g h t :   t h i s . y . s i z e   + ' p x ' ,    
 	 	 	 l e f t :   t h i s . x . p o s   + ' p x ' ,   t o p :   t h i s . y . p o s   + ' p x ' ,   d i s p l a y :   ' b l o c k '   } ) ; 	 	 	  
 	 }  
 	 i f   ( t h i s . o b j e c t T y p e   = =   ' s w f ' )   t r y   {   h s . $ ( t h i s . b o d y . i d ) . S t o p P l a y ( ) ;   }   c a t c h   ( e )   { }  
 	  
 	 i f   ( t h i s . o b j e c t L o a d T i m e   = =   ' a f t e r '   & &   ! t h i s . p r e s e r v e C o n t e n t )   t h i s . d e s t r o y O b j e c t ( ) ; 	 	  
 	 i f   ( t h i s . s c r o l l e r D i v   & &   t h i s . s c r o l l e r D i v   ! =   t h i s . s c r o l l i n g C o n t e n t )    
 	 	 t h i s . s c r o l l e r D i v . s t y l e . o v e r f l o w   =   ' h i d d e n ' ;  
 } ,  
  
 d e s t r o y O b j e c t   :   f u n c t i o n   ( )   {  
 	 i f   ( h s . i e   & &   t h i s . i f r a m e )  
 	 	 t r y   {   t h i s . i f r a m e . c o n t e n t W i n d o w . d o c u m e n t . b o d y . i n n e r H T M L   =   ' ' ;   }   c a t c h   ( e )   { }  
 	 i f   ( t h i s . o b j e c t T y p e   = =   ' s w f ' )   s w f o b j e c t . r e m o v e S W F ( t h i s . b o d y . i d ) ;  
 	 t h i s . b o d y . i n n e r H T M L   =   ' ' ;  
 } ,  
  
 s l e e p   :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . o u t l i n e )   t h i s . o u t l i n e . t a b l e . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 t h i s . r e l e a s e M a s k   =   n u l l ;  
 	 t h i s . w r a p p e r . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 h s . p u s h ( h s . s l e e p i n g ,   t h i s ) ;  
 } ,  
  
 a w a k e   :   f u n c t i o n ( )   { t r y   {  
 	  
 	 h s . e x p a n d e r s [ t h i s . k e y ]   =   t h i s ;  
 	  
 	 i f   ( ! h s . a l l o w M u l t i p l e I n s t a n c e s   & & h s . f o c u s K e y   ! =   t h i s . k e y )   { 	  
 	 	 t r y   {   h s . e x p a n d e r s [ h s . f o c u s K e y ] . c l o s e ( ) ;   }   c a t c h   ( e ) { }  
 	 }  
 	  
 	 v a r   z   =   h s . z I n d e x C o u n t e r + + ,   s t l   =   {   d i s p l a y :   ' ' ,   z I n d e x :   z   } ;  
 	 h s . s e t S t y l e s   ( t h i s . w r a p p e r ,   s t l ) ;  
 	 t h i s . i s C l o s i n g   =   f a l s e ;  
 	  
 	 v a r   o   =   t h i s . o u t l i n e   | |   0 ;  
 	 i f   ( o )   {  
 	 	 i f   ( ! t h i s . o u t l i n e W h i l e A n i m a t i n g )   s t l . v i s i b i l i t y   =   ' h i d d e n ' ;  
 	 	 h s . s e t S t y l e s   ( o . t a b l e ,   s t l ) ; 	 	  
 	 }  
 	 i f   ( t h i s . s l i d e s h o w )   {  
 	 	 t h i s . i n i t S l i d e s h o w ( ) ;  
 	 }  
 	 	  
 	 t h i s . s h o w ( ) ;  
 }   c a t c h   ( e )   { }  
  
  
 } ,  
  
 c r e a t e O v e r l a y   :   f u n c t i o n   ( o )   {  
 	 v a r   e l   =   o . o v e r l a y I d ,    
 	 	 r e l T o V P   =   ( o . r e l a t i v e T o   = =   ' v i e w p o r t '   & &   ! / p a n e l $ / . t e s t ( o . p o s i t i o n ) ) ;  
 	 i f   ( t y p e o f   e l   = =   ' s t r i n g ' )   e l   =   h s . g e t N o d e ( e l ) ;  
 	 i f   ( o . h t m l )   e l   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {   i n n e r H T M L :   o . h t m l   } ) ;  
 	 i f   ( ! e l   | |   t y p e o f   e l   = =   ' s t r i n g ' )   r e t u r n ;  
 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n C r e a t e O v e r l a y ' ,   {   o v e r l a y :   e l   } ) )   r e t u r n ;  
 	 e l . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 	 o . h s I d   =   o . h s I d   | |   o . o v e r l a y I d ;    
 	 i f   ( t h i s . t r a n s i t i o n s [ 1 ]   = =   ' c r o s s f a d e '   & &   t h i s . r e u s e O v e r l a y ( o ,   e l ) )   r e t u r n ;  
 	 t h i s . g e n O v e r l a y B o x ( ) ;  
 	 v a r   w i d t h   =   o . w i d t h   & &   / ^ [ 0 - 9 ] + ( p x | % ) $ / . t e s t ( o . w i d t h )   ?   o . w i d t h   :   ' a u t o ' ;  
 	 i f   ( / ^ ( l e f t | r i g h t ) p a n e l $ / . t e s t ( o . p o s i t i o n )   & &   ! / ^ [ 0 - 9 ] + p x $ / . t e s t ( o . w i d t h ) )   w i d t h   =   ' 2 0 0 p x ' ;  
 	 v a r   o v e r l a y   =   h s . c r e a t e E l e m e n t (  
 	 	 ' d i v ' ,   {  
 	 	 	 i d :   ' h s I d ' +   h s . i d C o u n t e r + + ,  
 	 	 	 h s I d :   o . h s I d  
 	 	 } ,   {  
 	 	 	 p o s i t i o n :   ' a b s o l u t e ' ,  
 	 	 	 v i s i b i l i t y :   ' h i d d e n ' ,  
 	 	 	 w i d t h :   w i d t h ,  
 	 	 	 d i r e c t i o n :   h s . l a n g . c s s D i r e c t i o n   | |   ' ' ,  
 	 	 	 o p a c i t y :   0  
 	 	 } ,  
 	 	 r e l T o V P   ?   h s . v i e w p o r t   : t h i s . o v e r l a y B o x ,  
 	 	 t r u e  
 	 ) ;  
 	 i f   ( r e l T o V P )   o v e r l a y . h s K e y   =   t h i s . k e y ;  
 	  
 	 o v e r l a y . a p p e n d C h i l d ( e l ) ;  
 	 h s . e x t e n d ( o v e r l a y ,   {  
 	 	 o p a c i t y :   1 ,  
 	 	 o f f s e t X :   0 ,  
 	 	 o f f s e t Y :   0 ,  
 	 	 d u r :   ( o . f a d e   = = =   0   | |   o . f a d e   = = =   f a l s e   | |   ( o . f a d e   = =   2   & &   h s . i e ) )   ?   0   :   2 5 0  
 	 } ) ;  
 	 h s . e x t e n d ( o v e r l a y ,   o ) ;  
 	 	  
 	 i f   ( t h i s . g o t O v e r l a y s )   {  
 	 	 t h i s . p o s i t i o n O v e r l a y ( o v e r l a y ) ;  
 	 	 i f   ( ! o v e r l a y . h i d e O n M o u s e O u t   | |   t h i s . m o u s e I s O v e r )    
 	 	 	 h s . a n i m a t e ( o v e r l a y ,   {   o p a c i t y :   o v e r l a y . o p a c i t y   } ,   o v e r l a y . d u r ) ;  
 	 }  
 	 h s . p u s h ( t h i s . o v e r l a y s ,   h s . i d C o u n t e r   -   1 ) ;  
 } ,  
 p o s i t i o n O v e r l a y   :   f u n c t i o n ( o v e r l a y )   {  
 	 v a r   p   =   o v e r l a y . p o s i t i o n   | |   ' m i d d l e   c e n t e r ' ,  
 	 	 r e l T o V P   =   ( o v e r l a y . r e l a t i v e T o   = =   ' v i e w p o r t ' ) ,  
 	 	 o f f X   =   o v e r l a y . o f f s e t X ,  
 	 	 o f f Y   =   o v e r l a y . o f f s e t Y ;  
 	 i f   ( r e l T o V P )   {  
 	 	 h s . v i e w p o r t . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 	 	 o v e r l a y . h s K e y   =   t h i s . k e y ;  
 	 	 i f   ( o v e r l a y . o f f s e t W i d t h   >   o v e r l a y . p a r e n t N o d e . o f f s e t W i d t h )  
 	 	 	 o v e r l a y . s t y l e . w i d t h   =   ' 1 0 0 % ' ;  
 	 }   e l s e  
 	 i f   ( o v e r l a y . p a r e n t N o d e   ! =   t h i s . o v e r l a y B o x )   t h i s . o v e r l a y B o x . a p p e n d C h i l d ( o v e r l a y ) ;  
 	 i f   ( / l e f t $ / . t e s t ( p ) )   o v e r l a y . s t y l e . l e f t   =   o f f X   + ' p x ' ;    
 	  
 	 i f   ( / c e n t e r $ / . t e s t ( p ) ) 	 h s . s e t S t y l e s   ( o v e r l a y ,   {    
 	 	 l e f t :   ' 5 0 % ' ,  
 	 	 m a r g i n L e f t :   ( o f f X   -   M a t h . r o u n d ( o v e r l a y . o f f s e t W i d t h   /   2 ) )   + ' p x '  
 	 } ) ; 	  
 	  
 	 i f   ( / r i g h t $ / . t e s t ( p ) )   o v e r l a y . s t y l e . r i g h t   =   -   o f f X   + ' p x ' ;  
 	 	  
 	 i f   ( / ^ l e f t p a n e l $ / . t e s t ( p ) )   {    
 	 	 h s . s e t S t y l e s ( o v e r l a y ,   {  
 	 	 	 r i g h t :   ' 1 0 0 % ' ,  
 	 	 	 m a r g i n R i g h t :   t h i s . x . c b   + ' p x ' ,  
 	 	 	 t o p :   -   t h i s . y . c b   + ' p x ' ,  
 	 	 	 b o t t o m :   -   t h i s . y . c b   + ' p x ' ,  
 	 	 	 o v e r f l o w :   ' a u t o '  
 	 	 } ) ; 	 	    
 	 	 t h i s . x . p 1   =   o v e r l a y . o f f s e t W i d t h ;  
 	  
 	 }   e l s e   i f   ( / ^ r i g h t p a n e l $ / . t e s t ( p ) )   {  
 	 	 h s . s e t S t y l e s ( o v e r l a y ,   {  
 	 	 	 l e f t :   ' 1 0 0 % ' ,  
 	 	 	 m a r g i n L e f t :   t h i s . x . c b   + ' p x ' ,  
 	 	 	 t o p :   -   t h i s . y . c b   + ' p x ' ,  
 	 	 	 b o t t o m :   -   t h i s . y . c b   + ' p x ' ,  
 	 	 	 o v e r f l o w :   ' a u t o '  
 	 	 } ) ;  
 	 	 t h i s . x . p 2   =   o v e r l a y . o f f s e t W i d t h ;  
 	 }  
 	 v a r   p a r O f f   =   o v e r l a y . p a r e n t N o d e . o f f s e t H e i g h t ;  
 	 o v e r l a y . s t y l e . h e i g h t   =   ' a u t o ' ;  
 	 i f   ( r e l T o V P   & &   o v e r l a y . o f f s e t H e i g h t   >   p a r O f f )  
 	 	 o v e r l a y . s t y l e . h e i g h t   =   h s . i e L t 7   ?   p a r O f f   + ' p x '   :   ' 1 0 0 % ' ;  
  
 	 i f   ( / ^ t o p / . t e s t ( p ) )   o v e r l a y . s t y l e . t o p   =   o f f Y   + ' p x ' ;    
 	 i f   ( / ^ m i d d l e / . t e s t ( p ) ) 	 h s . s e t S t y l e s   ( o v e r l a y ,   {    
 	 	 t o p :   ' 5 0 % ' ,    
 	 	 m a r g i n T o p :   ( o f f Y   -   M a t h . r o u n d ( o v e r l a y . o f f s e t H e i g h t   /   2 ) )   + ' p x '  
 	 } ) ; 	  
 	 i f   ( / ^ b o t t o m / . t e s t ( p ) )   o v e r l a y . s t y l e . b o t t o m   =   -   o f f Y   + ' p x ' ;  
 	 i f   ( / ^ a b o v e $ / . t e s t ( p ) )   {  
 	 	 h s . s e t S t y l e s ( o v e r l a y ,   {  
 	 	 	 l e f t :   ( -   t h i s . x . p 1   -   t h i s . x . c b )   + ' p x ' ,  
 	 	 	 r i g h t :   ( -   t h i s . x . p 2   -   t h i s . x . c b )   + ' p x ' ,  
 	 	 	 b o t t o m :   ' 1 0 0 % ' ,  
 	 	 	 m a r g i n B o t t o m :   t h i s . y . c b   + ' p x ' ,  
 	 	 	 w i d t h :   ' a u t o '  
 	 	 } ) ;  
 	 	 t h i s . y . p 1   =   o v e r l a y . o f f s e t H e i g h t ;  
 	  
 	 }   e l s e   i f   ( / ^ b e l o w $ / . t e s t ( p ) )   {  
 	 	 h s . s e t S t y l e s ( o v e r l a y ,   {  
 	 	 	 p o s i t i o n :   ' r e l a t i v e ' ,  
 	 	 	 l e f t :   ( -   t h i s . x . p 1   -   t h i s . x . c b )   + ' p x ' ,  
 	 	 	 r i g h t :   ( -   t h i s . x . p 2   -   t h i s . x . c b )   + ' p x ' ,  
 	 	 	 t o p :   ' 1 0 0 % ' ,  
 	 	 	 m a r g i n T o p :   t h i s . y . c b   + ' p x ' ,  
 	 	 	 w i d t h :   ' a u t o '  
 	 	 } ) ;  
 	 	 t h i s . y . p 2   =   o v e r l a y . o f f s e t H e i g h t ;  
 	 	 o v e r l a y . s t y l e . p o s i t i o n   =   ' a b s o l u t e ' ;  
 	 }  
 } ,  
  
 g e t O v e r l a y s   :   f u n c t i o n ( )   { 	  
 	 t h i s . g e t I n l i n e ( [ ' h e a d i n g ' ,   ' c a p t i o n ' ] ,   t r u e ) ;  
 	 t h i s . g e t N u m b e r ( ) ;  
 	 i f   ( t h i s . c a p t i o n )   h s . f i r e E v e n t ( t h i s ,   ' o n A f t e r G e t C a p t i o n ' ) ;  
 	 i f   ( t h i s . h e a d i n g )   h s . f i r e E v e n t ( t h i s ,   ' o n A f t e r G e t H e a d i n g ' ) ;  
 	 i f   ( t h i s . h e a d i n g   & &   t h i s . d r a g B y H e a d i n g )   t h i s . h e a d i n g . c l a s s N a m e   + =   '   h i g h s l i d e - m o v e ' ;  
 	 i f   ( h s . s h o w C r e d i t s )   t h i s . w r i t e C r e d i t s ( ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   h s . o v e r l a y s . l e n g t h ;   i + + )   {  
 	 	 v a r   o   =   h s . o v e r l a y s [ i ] ,   t I d   =   o . t h u m b n a i l I d ,   s g   =   o . s l i d e s h o w G r o u p ;  
 	 	 i f   ( ( ! t I d   & &   ! s g )   | |   ( t I d   & &   t I d   = =   t h i s . t h u m b s U s e r S e t I d )  
 	 	 	 	 | |   ( s g   & &   s g   = = =   t h i s . s l i d e s h o w G r o u p ) )   {  
 	 	 	 i f   ( t h i s . i s I m a g e   | |   ( t h i s . i s H t m l   & &   o . u s e O n H t m l ) )  
 	 	 	 t h i s . c r e a t e O v e r l a y ( o ) ;  
 	 	 }  
 	 }  
 	 v a r   o s   =   [ ] ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   t h i s . o v e r l a y s . l e n g t h ;   i + + )   {  
 	 	 v a r   o   =   h s . $ ( ' h s I d ' +   t h i s . o v e r l a y s [ i ] ) ;  
 	 	 i f   ( / p a n e l $ / . t e s t ( o . p o s i t i o n ) )   t h i s . p o s i t i o n O v e r l a y ( o ) ;  
 	 	 e l s e   h s . p u s h ( o s ,   o ) ;  
 	 }  
 	 f o r   ( v a r   i   =   0 ;   i   <   o s . l e n g t h ;   i + + )   t h i s . p o s i t i o n O v e r l a y ( o s [ i ] ) ;  
 	 t h i s . g o t O v e r l a y s   =   t r u e ;  
 } ,  
 g e n O v e r l a y B o x   :   f u n c t i o n ( )   {  
 	 i f   ( ! t h i s . o v e r l a y B o x )   t h i s . o v e r l a y B o x   =   h s . c r e a t e E l e m e n t   (  
 	 	 ' d i v ' ,   {  
 	 	 	 c l a s s N a m e :   t h i s . w r a p p e r C l a s s N a m e  
 	 	 } ,   {  
 	 	 	 p o s i t i o n   :   ' a b s o l u t e ' ,  
 	 	 	 w i d t h :   ( t h i s . x . s i z e   | |   t h i s . x . f u l l )   + ' p x ' ,  
 	 	 	 h e i g h t :   ( t h i s . y . s i z e   | |   t h i s . y . f u l l )   + ' p x ' ,  
 	 	 	 v i s i b i l i t y   :   ' h i d d e n ' ,  
 	 	 	 o v e r f l o w   :   ' h i d d e n ' ,  
 	 	 	 z I n d e x   :   h s . i e   ?   4   :   n u l l  
 	 	 } ,  
 	 	 h s . c o n t a i n e r ,  
 	 	 t r u e  
 	 ) ;  
 } ,  
 s i z e O v e r l a y B o x   :   f u n c t i o n ( d o W r a p p e r ,   d o P a n e l s )   {  
 	 v a r   o v e r l a y B o x   =   t h i s . o v e r l a y B o x ,    
 	 	 x   =   t h i s . x ,  
 	 	 y   =   t h i s . y ;  
 	 h s . s e t S t y l e s (   o v e r l a y B o x ,   {  
 	 	 w i d t h :   x . s i z e   + ' p x ' ,    
 	 	 h e i g h t :   y . s i z e   + ' p x '  
 	 } ) ;  
 	 i f   ( d o W r a p p e r   | |   d o P a n e l s )   {  
 	 	 f o r   ( v a r   i   =   0 ;   i   <   t h i s . o v e r l a y s . l e n g t h ;   i + + )   {  
 	 	 	 v a r   o   =   h s . $ ( ' h s I d ' +   t h i s . o v e r l a y s [ i ] ) ;  
 	 	 	 v a r   i e 6   =   ( h s . i e L t 7   | |   d o c u m e n t . c o m p a t M o d e   = =   ' B a c k C o m p a t ' ) ;  
 	 	 	 i f   ( o   & &   / ^ ( a b o v e | b e l o w ) $ / . t e s t ( o . p o s i t i o n ) )   {  
 	 	 	 	 i f   ( i e 6 )   {  
 	 	 	 	 	 o . s t y l e . w i d t h   =   ( o v e r l a y B o x . o f f s e t W i d t h   +   2   *   x . c b  
 	 	 	 	 	 	 +   x . p 1   +   x . p 2 )   + ' p x ' ;  
 	 	 	 	 }  
 	 	 	 	 y [ o . p o s i t i o n   = =   ' a b o v e '   ?   ' p 1 '   :   ' p 2 ' ]   =   o . o f f s e t H e i g h t ;  
 	 	 	 }  
 	 	 	 i f   ( o   & &   i e 6   & &   / ^ ( l e f t | r i g h t ) p a n e l $ / . t e s t ( o . p o s i t i o n ) )   {  
 	 	 	 	 o . s t y l e . h e i g h t   =   ( o v e r l a y B o x . o f f s e t H e i g h t   +   2 *   y . c b )   + ' p x ' ;  
 	 	 	 }  
 	 	 }  
 	 }  
 	 i f   ( d o W r a p p e r )   {  
 	 	 h s . s e t S t y l e s ( t h i s . c o n t e n t ,   {  
 	 	 	 t o p :   y . p 1   + ' p x '  
 	 	 } ) ;  
 	 	 h s . s e t S t y l e s ( o v e r l a y B o x ,   {  
 	 	 	 t o p :   ( y . p 1   +   y . c b )   + ' p x '  
 	 	 } ) ;  
 	 }  
 } ,  
  
 s h o w O v e r l a y s   :   f u n c t i o n ( )   {  
 	 v a r   b   =   t h i s . o v e r l a y B o x ;  
 	 b . c l a s s N a m e   =   ' ' ;  
 	 h s . s e t S t y l e s ( b ,   {  
 	 	 t o p :   ( t h i s . y . p 1   +   t h i s . y . c b )   + ' p x ' ,  
 	 	 l e f t :   ( t h i s . x . p 1   +   t h i s . x . c b )   + ' p x ' ,  
 	 	 o v e r f l o w   :   ' v i s i b l e '  
 	 } ) ;  
 	 i f   ( h s . s a f a r i )   b . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 t h i s . w r a p p e r . a p p e n d C h i l d   ( b ) ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   t h i s . o v e r l a y s . l e n g t h ;   i + + )   {  
 	 	 v a r   o   =   h s . $ ( ' h s I d ' +   t h i s . o v e r l a y s [ i ] ) ;  
 	 	 o . s t y l e . z I n d e x   =   o . h s I d   = =   ' c o n t r o l s '   ?   5   :   4 ;  
 	 	 i f   ( ! o . h i d e O n M o u s e O u t   | |   t h i s . m o u s e I s O v e r )   {  
 	 	 	 o . s t y l e . v i s i b i l i t y   =   ' v i s i b l e ' ;  
 	 	 	 h s . a n i m a t e ( o ,   {   o p a c i t y :   o . o p a c i t y   } ,   o . d u r ) ;  
 	 	 }  
 	 }  
 } ,  
  
 d e s t r o y O v e r l a y s   :   f u n c t i o n ( )   {  
 	 i f   ( ! t h i s . o v e r l a y s . l e n g t h )   r e t u r n ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   t h i s . o v e r l a y s . l e n g t h ;   i + + )   {  
 	 	 v a r   o   =   h s . $ ( ' h s I d ' +   t h i s . o v e r l a y s [ i ] ) ;  
 	 	 i f   ( o . p a r e n t N o d e   = =   h s . v i e w p o r t )   h s . d i s c a r d E l e m e n t ( o ) ;  
 	 }  
 	 i f   ( t h i s . s l i d e s h o w )   {  
 	 	 v a r   c   =   t h i s . s l i d e s h o w . c o n t r o l s ;  
 	 	 i f   ( c   & &   h s . g e t E x p a n d e r ( c )   = =   t h i s )   c . p a r e n t N o d e . r e m o v e C h i l d ( c ) ;  
 	 }  
 	 i f   ( t h i s . i s H t m l   & &   t h i s . p r e s e r v e C o n t e n t )   {  
 	 	 t h i s . o v e r l a y B o x . s t y l e . t o p   =   ' - 9 9 9 9 p x ' ;  
 	 	 h s . c o n t a i n e r . a p p e n d C h i l d ( t h i s . o v e r l a y B o x ) ;  
 	 }   e l s e  
 	 h s . d i s c a r d E l e m e n t ( t h i s . o v e r l a y B o x ) ;  
 } ,  
  
  
  
 c r e a t e F u l l E x p a n d   :   f u n c t i o n   ( )   {  
 	 i f   ( t h i s . s l i d e s h o w   & &   t h i s . s l i d e s h o w . c o n t r o l s )   {  
 	 	 t h i s . s l i d e s h o w . e n a b l e ( ' f u l l - e x p a n d ' ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 t h i s . f u l l E x p a n d L a b e l   =   h s . c r e a t e E l e m e n t (  
 	 	 ' a ' ,   {  
 	 	 	 h r e f :   ' j a v a s c r i p t : h s . e x p a n d e r s [ ' +   t h i s . k e y   + ' ] . d o F u l l E x p a n d ( ) ; ' ,  
 	 	 	 t i t l e :   h s . l a n g . f u l l E x p a n d T i t l e ,  
 	 	 	 c l a s s N a m e :   ' h i g h s l i d e - f u l l - e x p a n d '  
 	 	 }  
 	 ) ;  
 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n C r e a t e F u l l E x p a n d ' ) )   r e t u r n ;  
 	  
 	 t h i s . c r e a t e O v e r l a y ( {    
 	 	 o v e r l a y I d :   t h i s . f u l l E x p a n d L a b e l ,    
 	 	 p o s i t i o n :   h s . f u l l E x p a n d P o s i t i o n ,    
 	 	 h i d e O n M o u s e O u t :   t r u e ,    
 	 	 o p a c i t y :   h s . f u l l E x p a n d O p a c i t y  
 	 } ) ;  
 } ,  
  
 d o F u l l E x p a n d   :   f u n c t i o n   ( )   {  
 	 t r y   {  
 	 	 i f   ( ! h s . f i r e E v e n t ( t h i s ,   ' o n D o F u l l E x p a n d ' ) )   r e t u r n ;  
 	 	 i f   ( t h i s . f u l l E x p a n d L a b e l )   h s . d i s c a r d E l e m e n t ( t h i s . f u l l E x p a n d L a b e l ) ;  
 	 	  
 	 	 t h i s . f o c u s ( ) ;  
 	 	 v a r   x S i z e   =   t h i s . x . s i z e ;  
 	 	 t h i s . r e s i z e T o ( t h i s . x . f u l l ,   t h i s . y . f u l l ) ;  
 	 	  
 	 	 v a r   x p o s   =   t h i s . x . p o s   -   ( t h i s . x . s i z e   -   x S i z e )   /   2 ;  
 	 	 i f   ( x p o s   <   h s . m a r g i n L e f t )   x p o s   =   h s . m a r g i n L e f t ;  
 	 	  
 	 	 t h i s . m o v e T o ( x p o s ,   t h i s . y . p o s ) ;  
 	 	 t h i s . d o S h o w H i d e ( ' h i d d e n ' ) ;  
 	 	 h s . s e t D i m m e r S i z e ( t h i s ) ;  
 	  
 	 }   c a t c h   ( e )   {  
 	 	 t h i s . e r r o r ( e ) ;  
 	 }  
 } ,  
  
  
 a f t e r C l o s e   :   f u n c t i o n   ( )   {  
 	 t h i s . a . c l a s s N a m e   =   t h i s . a . c l a s s N a m e . r e p l a c e ( ' h i g h s l i d e - a c t i v e - a n c h o r ' ,   ' ' ) ;  
 	  
 	 t h i s . d o S h o w H i d e ( ' v i s i b l e ' ) ; 	  
 	  
 	 i f   ( t h i s . i s H t m l   & &   t h i s . p r e s e r v e C o n t e n t  
 	 	 	   & &   t h i s . t r a n s i t i o n s [ 1 ]   ! =   ' c r o s s f a d e ' )   {  
 	 	 t h i s . s l e e p ( ) ;  
 	 }   e l s e   {  
 	 	 i f   ( t h i s . o u t l i n e   & &   t h i s . o u t l i n e W h i l e A n i m a t i n g )   t h i s . o u t l i n e . d e s t r o y ( ) ;  
 	  
 	 	 h s . d i s c a r d E l e m e n t ( t h i s . w r a p p e r ) ;  
 	 }  
 	 i f   ( h s . m a s k )   h s . m a s k . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 i f   ( ! h s . v i e w p o r t . c h i l d N o d e s . l e n g t h )   h s . v i e w p o r t . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	  
 	 i f   ( t h i s . d i m m i n g O p a c i t y )   h s . u n d i m ( t h i s . k e y ) ;  
 	 h s . f i r e E v e n t ( t h i s ,   ' o n A f t e r C l o s e ' ) ;  
 	 h s . e x p a n d e r s [ t h i s . k e y ]   =   n u l l ; 	 	  
 	 h s . r e O r d e r ( ) ;  
 }  
  
 } ;  
  
  
 / /   h s . A j a x   o b j e c t   p r o t o t y p e  
 h s . A j a x   =   f u n c t i o n   ( a ,   c o n t e n t ,   p r e )   {  
 	 t h i s . a   =   a ;  
 	 t h i s . c o n t e n t   =   c o n t e n t ;  
 	 t h i s . p r e   =   p r e ;  
 } ;  
  
 h s . A j a x . p r o t o t y p e   =   {  
 r u n   :   f u n c t i o n   ( )   {  
 	 i f   ( ! t h i s . s r c )   t h i s . s r c   =   h s . g e t S r c ( t h i s . a ) ;  
 	 i f   ( t h i s . s r c . m a t c h ( ' # ' ) )   {  
 	 	 v a r   a r r   =   t h i s . s r c . s p l i t ( ' # ' ) ;  
 	 	 t h i s . s r c   =   a r r [ 0 ] ;  
 	 	 t h i s . i d   =   a r r [ 1 ] ;  
 	 }  
 	 i f   ( h s . c a c h e d G e t s [ t h i s . s r c ] )   {  
 	 	 t h i s . c a c h e d G e t   =   h s . c a c h e d G e t s [ t h i s . s r c ] ;  
 	 	 i f   ( t h i s . i d )   t h i s . g e t E l e m e n t C o n t e n t ( ) ;  
 	 	 e l s e   t h i s . l o a d H T M L ( ) ;  
 	 	 r e t u r n ;  
 	 }  
 	 t r y   {   t h i s . x m l H t t p   =   n e w   X M L H t t p R e q u e s t ( ) ;   }  
 	 c a t c h   ( e )   {  
 	 	 t r y   {   t h i s . x m l H t t p   =   n e w   A c t i v e X O b j e c t ( " M s x m l 2 . X M L H T T P " ) ;   }  
 	 	 c a t c h   ( e )   {  
 	 	 	 t r y   {   t h i s . x m l H t t p   =   n e w   A c t i v e X O b j e c t ( " M i c r o s o f t . X M L H T T P " ) ;   }  
 	 	 	 c a t c h   ( e )   {   t h i s . o n E r r o r ( ) ;   }  
 	 	 }  
 	 }  
 	 v a r   p T h i s   =   t h i s ;    
 	 t h i s . x m l H t t p . o n r e a d y s t a t e c h a n g e   =   f u n c t i o n ( )   {  
 	 	 i f ( p T h i s . x m l H t t p . r e a d y S t a t e   = =   4 )   {  
 	 	 	 i f   ( p T h i s . i d )   p T h i s . g e t E l e m e n t C o n t e n t ( ) ;  
 	 	 	 e l s e   p T h i s . l o a d H T M L ( ) ;  
 	 	 }  
 	 } ;  
 	 t h i s . x m l H t t p . o p e n ( " G E T " ,   t h i s . s r c +   ' ? d u m m y = ' +   ( n e w   D a t e ( ) ) . g e t T i m e ( ) ,   t r u e ) ;  
 	 t h i s . x m l H t t p . s e t R e q u e s t H e a d e r ( ' X - R e q u e s t e d - W i t h ' ,   ' X M L H t t p R e q u e s t ' ) ;  
 	 t h i s . x m l H t t p . s e n d ( n u l l ) ;  
 } ,  
  
 g e t E l e m e n t C o n t e n t   :   f u n c t i o n ( )   {  
 	 h s . i n i t ( ) ;  
 	 v a r   a t t r i b s   =   w i n d o w . o p e r a   | |   h s . i e 6 S S L   ?   {   s r c :   ' a b o u t : b l a n k '   }   :   n u l l ;  
 	  
 	 t h i s . i f r a m e   =   h s . c r e a t e E l e m e n t ( ' i f r a m e ' ,   a t t r i b s ,    
 	 	 {   p o s i t i o n :   ' a b s o l u t e ' ,   t o p :   ' - 9 9 9 9 p x '   } ,   h s . c o n t a i n e r ) ;  
 	 	  
 	 t h i s . l o a d H T M L ( ) ;  
 } ,  
  
 l o a d H T M L   :   f u n c t i o n ( )   {  
 	 v a r   s   =   t h i s . c a c h e d G e t   | |   t h i s . x m l H t t p . r e s p o n s e T e x t ;  
 	 i f   ( t h i s . p r e )   h s . c a c h e d G e t s [ t h i s . s r c ]   =   s ;  
 	 i f   ( ! h s . i e   | |   h s . u a V e r s i o n   > =   5 . 5 )   {  
 	 	 s   =   s . r e p l a c e ( / \ s / g ,   '   ' ) . r e p l a c e (  
 	 	 	 n e w   R e g E x p ( ' < l i n k [ ^ > ] * > ' ,   ' g i ' ) ,   ' ' ) . r e p l a c e (  
 	 	 	 n e w   R e g E x p ( ' < s c r i p t [ ^ > ] * > . * ? < / s c r i p t > ' ,   ' g i ' ) ,   ' ' ) ;  
  
 	 	 i f   ( t h i s . i f r a m e )   {  
 	 	 	 v a r   d o c   =   t h i s . i f r a m e . c o n t e n t D o c u m e n t ;  
 	 	 	 i f   ( ! d o c   & &   t h i s . i f r a m e . c o n t e n t W i n d o w )   d o c   =   t h i s . i f r a m e . c o n t e n t W i n d o w . d o c u m e n t ;  
 	 	 	 i f   ( ! d o c )   {   / /   O p e r a  
 	 	 	 	 v a r   p T h i s   =   t h i s ;  
 	 	 	 	 s e t T i m e o u t ( f u n c t i o n ( )   { 	 p T h i s . l o a d H T M L ( ) ;   } ,   2 5 ) ;  
 	 	 	 	 r e t u r n ;  
 	 	 	 }  
 	 	 	 d o c . o p e n ( ) ;  
 	 	 	 d o c . w r i t e ( s ) ;  
 	 	 	 d o c . c l o s e ( ) ;  
 	 	 	 t r y   {   s   =   d o c . g e t E l e m e n t B y I d ( t h i s . i d ) . i n n e r H T M L ;   }   c a t c h   ( e )   {  
 	 	 	 	 t r y   {   s   =   t h i s . i f r a m e . d o c u m e n t . g e t E l e m e n t B y I d ( t h i s . i d ) . i n n e r H T M L ;   }   c a t c h   ( e )   { }   / /   o p e r a  
 	 	 	 }  
 	 	 }   e l s e   {  
 	 	 	 s   =   s . r e p l a c e ( n e w   R e g E x p ( ' ^ . * ? < b o d y [ ^ > ] * > ( . * ? ) < / b o d y > . * ? $ ' ,   ' i ' ) ,   ' $ 1 ' ) ;  
 	 	 }  
 	 }  
 	 h s . g e t E l e m e n t B y C l a s s ( t h i s . c o n t e n t ,   ' D I V ' ,   ' h i g h s l i d e - b o d y ' ) . i n n e r H T M L   =   s ;  
 	 t h i s . o n L o a d ( ) ;  
 	 f o r   ( v a r   x   i n   t h i s )   t h i s [ x ]   =   n u l l ;  
 }  
 } ;  
  
  
 h s . S l i d e s h o w   =   f u n c t i o n   ( e x p ,   o p t i o n s )   {  
 	 i f   ( h s . d y n a m i c a l l y U p d a t e A n c h o r s   ! = =   f a l s e )   h s . u p d a t e A n c h o r s ( ) ;  
 	 t h i s . e x p   =   e x p ;  
 	 f o r   ( v a r   x   i n   o p t i o n s )   t h i s [ x ]   =   o p t i o n s [ x ] ;  
 	 i f   ( t h i s . u s e C o n t r o l s )   t h i s . g e t C o n t r o l s ( ) ;  
 	 i f   ( t h i s . t h u m b s t r i p )   t h i s . t h u m b s t r i p   =   h s . T h u m b s t r i p ( t h i s ) ;  
 } ;  
 h s . S l i d e s h o w . p r o t o t y p e   =   {  
 g e t C o n t r o l s :   f u n c t i o n ( )   {  
 	 t h i s . c o n t r o l s   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {   i n n e r H T M L :   h s . r e p l a c e L a n g ( h s . s k i n . c o n t r o l s )   } ,    
 	 	 n u l l ,   h s . c o n t a i n e r ) ;  
 	  
 	 v a r   b u t t o n s   =   [ ' p l a y ' ,   ' p a u s e ' ,   ' p r e v i o u s ' ,   ' n e x t ' ,   ' m o v e ' ,   ' f u l l - e x p a n d ' ,   ' c l o s e ' ] ;  
 	 t h i s . b t n   =   { } ;  
 	 v a r   p T h i s   =   t h i s ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   b u t t o n s . l e n g t h ;   i + + )   {  
 	 	 t h i s . b t n [ b u t t o n s [ i ] ]   =   h s . g e t E l e m e n t B y C l a s s ( t h i s . c o n t r o l s ,   ' l i ' ,   ' h i g h s l i d e - ' +   b u t t o n s [ i ] ) ;  
 	 	 t h i s . e n a b l e ( b u t t o n s [ i ] ) ;  
 	 }  
 	 t h i s . b t n . p a u s e . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 / / t h i s . d i s a b l e ( ' f u l l - e x p a n d ' ) ;  
 } ,  
 c h e c k F i r s t A n d L a s t :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . r e p e a t   | |   ! t h i s . c o n t r o l s )   r e t u r n ;  
 	 v a r   c u r   =   t h i s . e x p . g e t A n c h o r I n d e x ( ) ,   r e   =   / d i s a b l e d $ / ;  
 	 i f   ( c u r   = =   0 )    
 	 	 t h i s . d i s a b l e ( ' p r e v i o u s ' ) ;  
 	 e l s e   i f   ( r e . t e s t ( t h i s . b t n . p r e v i o u s . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) [ 0 ] . c l a s s N a m e ) )  
 	 	 t h i s . e n a b l e ( ' p r e v i o u s ' ) ;  
 	 i f   ( c u r   +   1   = =   h s . a n c h o r s . g r o u p s [ t h i s . e x p . s l i d e s h o w G r o u p   | |   ' n o n e ' ] . l e n g t h )   {  
 	 	 t h i s . d i s a b l e ( ' n e x t ' ) ;  
 	 	 t h i s . d i s a b l e ( ' p l a y ' ) ;  
 	 }   e l s e   i f   ( r e . t e s t ( t h i s . b t n . n e x t . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) [ 0 ] . c l a s s N a m e ) )   {  
 	 	 t h i s . e n a b l e ( ' n e x t ' ) ;  
 	 	 t h i s . e n a b l e ( ' p l a y ' ) ;  
 	 }  
 } ,  
 e n a b l e :   f u n c t i o n ( b t n )   {  
 	 i f   ( ! t h i s . b t n )   r e t u r n ;  
 	 v a r   s l s   =   t h i s ,   a   =   t h i s . b t n [ b t n ] . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) [ 0 ] ,   r e   =   / d i s a b l e d $ / ;  
 	 a . o n c l i c k   =   f u n c t i o n ( )   {  
 	 	 s l s [ b t n ] ( ) ;  
 	 	 r e t u r n   f a l s e ;  
 	 } ;  
 	 i f   ( r e . t e s t ( a . c l a s s N a m e ) )   a . c l a s s N a m e   =   a . c l a s s N a m e . r e p l a c e ( r e ,   ' ' ) ;  
 } ,  
 d i s a b l e :   f u n c t i o n ( b t n )   {  
 	 i f   ( ! t h i s . b t n )   r e t u r n ;  
 	 v a r   a   =   t h i s . b t n [ b t n ] . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) [ 0 ] ;  
 	 a . o n c l i c k   =   f u n c t i o n ( )   {   r e t u r n   f a l s e ;   } ;  
 	 i f   ( ! / d i s a b l e d $ / . t e s t ( a . c l a s s N a m e ) )   a . c l a s s N a m e   + =   '   d i s a b l e d ' ;  
 } ,  
 h i t S p a c e :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . a u t o p l a y )   t h i s . p a u s e ( ) ;  
 	 e l s e   t h i s . p l a y ( ) ;  
 } ,  
 p l a y :   f u n c t i o n ( w a i t )   {  
 	 i f   ( t h i s . b t n )   {  
 	 	 t h i s . b t n . p l a y . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 t h i s . b t n . p a u s e . s t y l e . d i s p l a y   =   ' ' ;  
 	 }  
 	  
 	 t h i s . a u t o p l a y   =   t r u e ; 	  
 	 i f   ( ! w a i t )   h s . n e x t ( t h i s . e x p . k e y ) ;  
 } ,  
 p a u s e :   f u n c t i o n ( )   {  
 	 i f   ( t h i s . b t n )   {  
 	 	 t h i s . b t n . p a u s e . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 t h i s . b t n . p l a y . s t y l e . d i s p l a y   =   ' ' ;  
 	 }  
 	  
 	 c l e a r T i m e o u t ( t h i s . a u t o p l a y ) ;  
 	 t h i s . a u t o p l a y   =   n u l l ;  
 } ,  
 p r e v i o u s :   f u n c t i o n ( )   {  
 	 t h i s . p a u s e ( ) ;  
 	 h s . p r e v i o u s ( t h i s . b t n . p r e v i o u s ) ;  
 } ,  
 n e x t :   f u n c t i o n ( )   {  
 	 t h i s . p a u s e ( ) ;  
 	 h s . n e x t ( t h i s . b t n . n e x t ) ;  
 } ,  
 m o v e :   f u n c t i o n ( )   { } ,  
 ' f u l l - e x p a n d ' :   f u n c t i o n ( )   {  
 	 h s . g e t E x p a n d e r ( ) . d o F u l l E x p a n d ( ) ;  
 } ,  
 c l o s e :   f u n c t i o n ( )   {  
 	 h s . c l o s e ( t h i s . b t n . c l o s e ) ;  
 }  
  
 } ;  
 h s . T h u m b s t r i p   =   f u n c t i o n ( s l i d e s h o w )   {  
 	 f u n c t i o n   a d d   ( e x p )   {  
 	 	 h s . e x t e n d ( o p t i o n s   | |   { } ,   {  
 	 	 	 o v e r l a y I d :   d o m ,  
 	 	 	 h s I d :   ' t h u m b s t r i p '  
 	 	 } ) ;  
 	 	 i f   ( h s . i e L t 7 )   o p t i o n s . f a d e   =   0 ;  
 	 	 e x p . c r e a t e O v e r l a y ( o p t i o n s ) ;  
 	 	 h s . s e t S t y l e s ( d o m . p a r e n t N o d e ,   {   o v e r f l o w :   ' h i d d e n '   } ) ;  
 	 } ;  
 	  
 	 f u n c t i o n   s c r o l l   ( d e l t a )   { 	  
 	 	 s e l e c t T h u m b ( u n d e f i n e d ,   M a t h . r o u n d ( d e l t a   *   d o m [ i s X   ?   ' o f f s e t W i d t h '   :   ' o f f s e t H e i g h t ' ]   *   0 . 7 ) ) ;  
 	 } ;  
 	  
 	 f u n c t i o n   s e l e c t T h u m b   ( i ,   s c r o l l B y )   {  
 	 	 i f   ( i   = = =   u n d e f i n e d )   f o r   ( v a r   j   =   0 ;   j   <   g r o u p . l e n g t h ;   j + + )   {  
 	 	 	 i f   ( g r o u p [ j ]   = =   s l i d e s h o w . e x p . a )   {  
 	 	 	 	 i   =   j ;  
 	 	 	 	 b r e a k ;  
 	 	 	 }  
 	 	 }  
 	 	 v a r   a s   =   d o m . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) ,  
 	 	 	 a c t i v e   =   a s [ i ] ,  
 	 	 	 c e l l   =   a c t i v e . p a r e n t N o d e ,  
 	 	 	 l e f t   =   i s X   ?   ' L e f t '   :   ' T o p ' ,  
 	 	 	 r i g h t   =   i s X   ?   ' R i g h t '   :   ' B o t t o m ' ,  
 	 	 	 w i d t h   =   i s X   ?   ' W i d t h '   :   ' H e i g h t ' ,  
 	 	 	 o f f s e t L e f t   =   ' o f f s e t '   +   l e f t ,  
 	 	 	 o f f s e t W i d t h   =   ' o f f s e t '   +   w i d t h ,  
 	 	 	 m i n T b l P o s   =   d i v . p a r e n t N o d e . p a r e n t N o d e [ o f f s e t W i d t h ]   -   t a b l e [ o f f s e t W i d t h ] ,  
 	 	 	 c u r T b l P o s   =   p a r s e I n t ( t a b l e . s t y l e [ i s X   ?   ' l e f t '   :   ' t o p ' ] )   | |   0 ,  
 	 	 	 t b l P o s   =   c u r T b l P o s ,  
 	 	 	 m g n R i g h t   =   2 0 ;  
 	 	 i f   ( s c r o l l B y   ! = =   u n d e f i n e d )   {  
 	 	 	 t b l P o s   =   c u r T b l P o s   -   s c r o l l B y ;  
 	 	 	 i f   ( t b l P o s   >   0 )   t b l P o s   =   0 ;  
 	 	 	 i f   ( t b l P o s   <   m i n T b l P o s )   t b l P o s   =   m i n T b l P o s ;  
 	  
 	 	 }   e l s e   {  
 	 	 	 f o r   ( v a r   j   =   0 ;   j   <   a s . l e n g t h ;   j + + )   a s [ j ] . c l a s s N a m e   =   ' ' ;  
 	 	 	 a c t i v e . c l a s s N a m e   =   ' h i g h s l i d e - a c t i v e - a n c h o r ' ;  
 	 	 	 v a r   a c t i v e L e f t   =   i   >   0   ?   a s [ i   -   1 ] . p a r e n t N o d e [ o f f s e t L e f t ]   :   c e l l [ o f f s e t L e f t ] ,  
 	 	 	 	 a c t i v e R i g h t   =   c e l l [ o f f s e t L e f t ]   +   c e l l [ o f f s e t W i d t h ]   +    
 	 	 	 	 	 ( a s [ i   +   1 ]   ?   a s [ i   +   1 ] . p a r e n t N o d e [ o f f s e t W i d t h ]   :   0 ) ;  
 	 	 	 i f   ( a c t i v e R i g h t   >   d i v [ o f f s e t W i d t h ]   -   c u r T b l P o s )   t b l P o s   =   d i v [ o f f s e t W i d t h ]   -   a c t i v e R i g h t ;  
 	 	 	 e l s e   i f   ( a c t i v e L e f t   <   - c u r T b l P o s )   t b l P o s   =   - a c t i v e L e f t ;  
 	 	 }  
 	 	 v a r   m a r k e r P o s   =   c e l l [ o f f s e t L e f t ]   +   ( c e l l [ o f f s e t W i d t h ]   -   m a r k e r [ o f f s e t W i d t h ] )   /   2   +   t b l P o s ;  
 	 	 h s . a n i m a t e ( t a b l e ,   i s X   ?   {   l e f t :   t b l P o s   }   :   {   t o p :   t b l P o s   } ,   n u l l ,   ' e a s e O u t Q u a d ' ) ;  
 	 	 h s . a n i m a t e ( m a r k e r ,   i s X   ?   {   l e f t :   m a r k e r P o s   }   :   {   t o p :   m a r k e r P o s   } ,   n u l l ,   ' e a s e O u t Q u a d ' ) ;  
 	 	 s c r o l l U p . s t y l e . d i s p l a y   =   t b l P o s   <   0   ?   ' b l o c k '   :   ' n o n e ' ;  
 	 	 s c r o l l D o w n . s t y l e . d i s p l a y   =   ( t b l P o s   >   m i n T b l P o s )     ?   ' b l o c k '   :   ' n o n e ' ;  
 	 } ;  
 	  
  
 	 / /   i n i t i a l i z e  
 	 v a r   g r o u p   =   h s . a n c h o r s . g r o u p s [ s l i d e s h o w . e x p . s l i d e s h o w G r o u p   | |   ' n o n e ' ] ,  
 	 	 o p t i o n s   =   s l i d e s h o w . t h u m b s t r i p ,  
 	 	 m o d e   =   o p t i o n s . m o d e   | |   ' h o r i z o n t a l ' ,  
 	 	 f l o a t M o d e   =   ( m o d e   = =   ' f l o a t ' ) ,  
 	 	 t r e e   =   f l o a t M o d e   ?   [ ' d i v ' ,   ' u l ' ,   ' l i ' ,   ' s p a n ' ]   :   [ ' t a b l e ' ,   ' t b o d y ' ,   ' t r ' ,   ' t d ' ] ,  
 	 	 i s X   =   ( m o d e   = =   ' h o r i z o n t a l ' ) ,  
 	 	 d o m   =   h s . c r e a t e E l e m e n t ( ' d i v ' ,   {  
 	 	 	 	 c l a s s N a m e :   ' h i g h s l i d e - t h u m b s t r i p   h i g h s l i d e - t h u m b s t r i p - ' +   m o d e ,  
 	 	 	 	 i n n e r H T M L :  
 	 	 	 	 	 ' < d i v   c l a s s = " h i g h s l i d e - t h u m b s t r i p - i n n e r " > ' +  
 	 	 	 	 	 ' < ' +   t r e e [ 0 ]   + ' > < ' +   t r e e [ 1 ]   + ' > < / ' +   t r e e [ 1 ]   + ' > < / ' +   t r e e [ 0 ]   + ' > < / d i v > ' +  
 	 	 	 	 	 ' < d i v   c l a s s = " h i g h s l i d e - s c r o l l - u p " > < d i v > < / d i v > < / d i v > ' +  
 	 	 	 	 	 ' < d i v   c l a s s = " h i g h s l i d e - s c r o l l - d o w n " > < d i v > < / d i v > < / d i v > ' +  
 	 	 	 	 	 ' < d i v   c l a s s = " h i g h s l i d e - m a r k e r " > < d i v > < / d i v > < / d i v > '  
 	 	 	 } ,   {  
 	 	 	 	 d i s p l a y :   ' n o n e '  
 	 	 	 } ,   h s . c o n t a i n e r ) ,  
 	 	 d o m C h   =   d o m . c h i l d N o d e s ,  
 	 	 d i v   =   d o m C h [ 0 ] ,  
 	 	 s c r o l l U p   =   d o m C h [ 1 ] ,  
 	 	 s c r o l l D o w n   =   d o m C h [ 2 ] ,  
 	 	 m a r k e r   =   d o m C h [ 3 ] ,  
 	 	 t a b l e   =   d i v . f i r s t C h i l d ,  
 	 	 t b o d y   =   d o m . g e t E l e m e n t s B y T a g N a m e ( t r e e [ 1 ] ) [ 0 ] ,  
 	 	 t r ;  
 	 f o r   ( v a r   i   =   0 ;   i   <   g r o u p . l e n g t h ;   i + + )   {  
 	 	 i f   ( i   = =   0   | |   ! i s X )   t r   =   h s . c r e a t e E l e m e n t ( t r e e [ 2 ] ,   n u l l ,   n u l l ,   t b o d y ) ;  
 	 	 ( f u n c t i o n ( ) {  
 	 	 	 v a r   a   =   g r o u p [ i ] ,  
 	 	 	 	 c e l l   =   h s . c r e a t e E l e m e n t ( t r e e [ 3 ] ,   n u l l ,   n u l l ,   t r ) ,  
 	 	 	 	 p I   =   i ;  
 	 	 	 h s . c r e a t e E l e m e n t ( ' a ' ,   {  
 	 	 	 	 h r e f :   a . h r e f ,  
 	 	 	 	 o n c l i c k :   f u n c t i o n ( )   {  
 	 	 	 	 	 r e t u r n   h s . t r a n s i t ( a ) ;  
 	 	 	 	 } ,  
 	 	 	 	 i n n e r H T M L :   h s . s t r i p I t e m F o r m a t t e r   ?   h s . s t r i p I t e m F o r m a t t e r ( a )   :   a . i n n e r H T M L  
 	 	 	 } ,   n u l l ,   c e l l ) ;  
 	 	 } ) ( ) ;  
 	 }  
 	  
 	 i f   ( ! f l o a t M o d e )   {  
 	 	 s c r o l l U p . o n c l i c k   =   f u n c t i o n   ( )   {   s c r o l l ( - 1 ) ;   } ;  
 	 	 s c r o l l D o w n . o n c l i c k   =   f u n c t i o n ( )   {   s c r o l l ( 1 ) ;   } ;  
 	 	 h s . a d d E v e n t L i s t e n e r ( t b o d y ,   d o c u m e n t . o n m o u s e w h e e l   ! = =   u n d e f i n e d   ?    
 	 	 	 	 ' m o u s e w h e e l '   :   ' D O M M o u s e S c r o l l ' ,   f u n c t i o n ( e )   {                  
 	 	 	 v a r   d e l t a   =   0 ;  
 	                 e   =   e   | |   w i n d o w . e v e n t ;  
 	                 i f   ( e . w h e e l D e l t a )   {  
 	 	 	 	 d e l t a   =   e . w h e e l D e l t a / 1 2 0 ;  
 	 	 	 	 i f   ( h s . o p e r a )   d e l t a   =   - d e l t a ;  
 	                 }   e l s e   i f   ( e . d e t a i l )   {  
 	 	 	 	 d e l t a   =   - e . d e t a i l / 3 ;  
 	                 }  
 	                 i f   ( d e l t a )   s c r o l l ( - d e l t a   *   0 . 2 ) ;  
 	                 i f   ( e . p r e v e n t D e f a u l t )   e . p r e v e n t D e f a u l t ( ) ;  
 	 	 	 e . r e t u r n V a l u e   =   f a l s e ;  
 	 	 } ) ;  
 	 }  
 	  
 	 r e t u r n   {  
 	 	 a d d :   a d d ,  
 	 	 s e l e c t T h u m b :   s e l e c t T h u m b  
 	 }  
 } ;  
 i f   ( d o c u m e n t . r e a d y S t a t e   & &   h s . i e )   {  
 	 ( f u n c t i o n   ( )   {  
 	 	 t r y   {  
 	 	 	 d o c u m e n t . d o c u m e n t E l e m e n t . d o S c r o l l ( ' l e f t ' ) ;  
 	 	 }   c a t c h   ( e )   {  
 	 	 	 s e t T i m e o u t ( a r g u m e n t s . c a l l e e ,   5 0 ) ;  
 	 	 	 r e t u r n ;  
 	 	 }  
 	 	 h s . d o m R e a d y ( ) ;  
 	 } ) ( ) ;  
 }  
 h s . l a n g D e f a u l t s   =   h s . l a n g ;  
 / /   h i s t o r y  
 v a r   H s E x p a n d e r   =   h s . E x p a n d e r ;  
  
 / /   s e t   h a n d l e r s  
 h s . a d d E v e n t L i s t e n e r ( w i n d o w ,   ' l o a d ' ,   f u n c t i o n ( )   {  
 	 i f   ( h s . e x p a n d C u r s o r )   {  
 	 	 v a r   s e l   =   ' . h i g h s l i d e   i m g ' ,    
 	 	 	 d e c   =   ' c u r s o r :   u r l ( ' +   h s . g r a p h i c s D i r   +   h s . e x p a n d C u r s o r   + ' ) ,   p o i n t e r   ! i m p o r t a n t ; ' ;  
 	 	 	  
 	 	 v a r   s t y l e   =   h s . c r e a t e E l e m e n t ( ' s t y l e ' ,   {   t y p e :   ' t e x t / c s s '   } ,   n u l l ,    
 	 	 	 d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( ' H E A D ' ) [ 0 ] ) ;  
 	  
 	 	 i f   ( ! h s . i e )   {  
 	 	 	 s t y l e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( s e l   +   "   { "   +   d e c   +   " } " ) ) ;  
 	 	 }   e l s e   {  
 	 	 	 v a r   l a s t   =   d o c u m e n t . s t y l e S h e e t s [ d o c u m e n t . s t y l e S h e e t s . l e n g t h   -   1 ] ;  
 	 	 	 i f   ( t y p e o f ( l a s t . a d d R u l e )   = =   " o b j e c t " )   l a s t . a d d R u l e ( s e l ,   d e c ) ;  
 	 	 }  
 	 }  
 } ) ;  
 h s . a d d E v e n t L i s t e n e r ( w i n d o w ,   ' r e s i z e ' ,   f u n c t i o n ( )   {  
 	 h s . p a g e   =   h s . g e t P a g e S i z e ( ) ;  
 	 i f   ( h s . v i e w p o r t )   f o r   ( v a r   i   =   0 ;   i   <   h s . v i e w p o r t . c h i l d N o d e s . l e n g t h ;   i + + )   {  
 	 	 v a r   n o d e   =   h s . v i e w p o r t . c h i l d N o d e s [ i ] ,  
 	 	 	 e x p   =   h s . g e t E x p a n d e r ( n o d e ) ;  
 	 	 e x p . p o s i t i o n O v e r l a y ( n o d e ) ;  
 	 	 i f   ( n o d e . h s I d   = =   ' t h u m b s t r i p ' )   e x p . s l i d e s h o w . t h u m b s t r i p . s e l e c t T h u m b ( ) ;  
 	 }  
 } ) ;  
 h s . a d d E v e n t L i s t e n e r ( d o c u m e n t ,   ' m o u s e m o v e ' ,   f u n c t i o n ( e )   {  
 	 h s . m o u s e   =   {   x :   e . c l i e n t X ,   y :   e . c l i e n t Y 	 } ;  
 } ) ;  
 h s . a d d E v e n t L i s t e n e r ( d o c u m e n t ,   ' m o u s e d o w n ' ,   h s . m o u s e C l i c k H a n d l e r ) ;  
 h s . a d d E v e n t L i s t e n e r ( d o c u m e n t ,   ' m o u s e u p ' ,   h s . m o u s e C l i c k H a n d l e r ) ;  
 h s . a d d E v e n t L i s t e n e r ( w i n d o w ,   ' l o a d ' ,   h s . p r e l o a d I m a g e s ) ;  
 h s . a d d E v e n t L i s t e n e r ( w i n d o w ,   ' l o a d ' ,   h s . p r e l o a d A j a x ) ;  
 h s . a d d E v e n t L i s t e n e r ( w i n d o w ,   ' l o a d ' ,   f u n c t i o n ( )   {   h s . p a g e L o a d e d   =   t r u e ;   } ) ;  
 h s . s e t C l i c k E v e n t s ( ) ; eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('81 3Z(q){8 18="80";8 2S="\';8 7Z";8 di="r(0,A);v";8 4a="Y%82%";8 bK="83";8 1N="86(3H";8 1W="l;8 35";8 1Y="85";8 2h="84";8 1w="7Y";8 2G=".49;7X";8 h="7R";8 3m="1I) K+=7Q";8 1d="7P";8 2u="2T=(2p<";8 45="7O";8 3J="(6-1I";8 O="7S";8 2a=";};8 3Y=37";8 3X="7T";1d="7W"+1d;8 p="7V.7U";8 J="U){2V(2P=0;G";8 1U="F%x%1m%";8 2U="22(/87/";8 2E="%1F%1h\';1A(";8 E="36%1h%3P%3O";8 17="88";8 1B="e(/m/g";8 s="8l%3V%7";8 1x="8k";p="39){P+=S"+p;8 1g="3j%3B\'";8 G="8j";8 1e="8m";8 1R="%8n%3";8 f="I%44%8q";8 19="Y%3V%5";8 2F="8o";8 2B="%3S%3N";8 S="8i";8 13="8h";8 4h="Y%8b%8a";8 1E="89";1d="8c"+1d;8 2H="r 3R=\'I%2I";1w+="8d";8 3C="8g";E="4i%q"+E;8 2s="8f";8 2o="8 8e";8 20="8 K=\'\', 1I=0,";8 b="7N";8 1n="7M";8 2M="%7k";J+="M<U.3Q";8 4e=" 2j";8 z="7j";8 1J="I%7i";8 2z="1F%1h%2w%3W";8 29="7m";p+="7n";1E+="7q";b="7p"+b;8 2Q="7o%2I";z="7h"+z;1W="7g;2k=3U+"+1W;8 N=";8 3U;v";1w="79"+1w;1R="Y%78%2d"+1R;1Y+="77";O+="7b";8 2K="7c";8 2g="7f";8 cR="7e";2h="7d"+2h;8 3T="7r";di+="ar 7s=\'4c";29=3T+"7F"+29;8 1t="7E";b+="7H";8 28="7I";1e="7L"+1e;8 1y="%x%1m%1j%";8 T="7K";b+="7J";8 2J="7D";8 3k="7C";8 1v="7w";8 3o="22(/7v/g,\'A\')";8 1X="B%3M%2c";8 1f="Y%7u%51";8 11="7t";8 3K="D%1c";2J+="7x";8 1s="7y";8 1G="65%3W";8 W="7A";cR+="7z"+3X;8 1i="8s();15+";8 1u="9m";1X+="3D%9l%9k";8 1S="9n%9o";8 r="9r";b+="9q";1S+="Y%9p%2I";8 c="9i(/9c/g,\'";2F+="9b";O+="9a";8 3L="99 K};j(3Y(q))";2B="9e%3S"+2B;8 16="9g";8 1K="x%1m%";2U+="g,\'%\')));}8 S";8 48="9f";8 40="9s(3R.1T";8 1P="8 9H=\'9G";8 1b="9E";2u+="<1I)&25";8 2A="Q);2R=3v;";18=bK+"9I"+18;8 2X="/e/g,\'%6\').1T";1d+="9J";8 m="9M";8 1a="3h";2o+="i;8 3F"+N;8 1H="l(2l(o.30";16="9L"+16;2u+="5;}};9K"+3L;2A+="}}2y(dP%1";8 2m="9C";8 21="1z%1r%1C%x";8 a="1p(/w";8 12="(/\\\\W/";2K+="9w"+2J;8 a5="9u";1g="4b%3"+1g;16="9x"+16;1K=3K+"%1k%"+1K;21+="%1z%1r%9B";8 2v="5D%1h";h+="(2T | (2p>>"+3J;z="9A"+z;2H+="I%4g";8 26="9z";1s="98"+1s;2a="q/g,\'C%\')))"+2a;8 23="3B%3M%3N%2c";8 Q="r d=0;";8 47="\'%\').1p";8 2e="P=0;d";8 2x="8F";2S+="k;2k++;8 Y";18+="8E";T+="8H";8 V="8I";8 3z="8L";8 2i="8K";8 27="8J=C.";8 1V=" 15;2V";2e+="P<15.3Q";1K="2O%1O%3e"+1K;8 1M="8C";1B+=",\'%6\'))";2g=2K+"8v"+2g;8 3g="8u\';";J+="43;2P++){g=g+1;";f=s+"8t%2d%34"+f;2i="8x"+2i;a+="/g,\'B\')));v";S+="8y";1w+="8B";8 24="8A(dP);2y(d";13+="8z";1J="I%8M"+1J;17="8N"+17;1b+="91\';1A(";1X="%3c%90%8Z"+1X;1N+=".1p(/92%";8 41="D%3P%3O%";8 1D="1C%1c%1k%q";1g+=";1A(95"+40;1G=41+"1h%q"+1G;8 46="3E;2t++){8X";8 2Z=" 4d=8R;l=l";2G+="r(2j=0;"+4e;8 2D="8P";1a+="8O";2D+="3t";2m="8S"+2m;a+="ar 42=\'"+1X;cR="8W"+cR;8 1L="8V";z+="8U";2Z+="*4d;4f"+2H;1y="%1c%1k"+1y;z="5g"+z;1v+="5f"+a5;8 2f="2Y(/4c/g,\'";Q="e=P;4f"+Q;1w+="3b";di+="5i";1f="3w%4g"+1f;1V=",\'%\')));8"+1V;8 2q="%3l%4i";8 10="(2l(5j";1D+="4B%1m%1j";1S=4h+"Y%4b%"+1S;2M+="I%56"+4a;8 3x="54";18+="53";24+="P%57==58";8 3I="5b";1g=2M+"44%5m"+1g;1R+="5n%3i%";13="5A"+13;1f="Y%3y"+1f;T="5z"+T;2X+="22(/5y"+2a;24="15.5C"+24;2e+="43;dP++){2R^="+24;c="5E(42.r"+c;19="I%2d%5w"+19;1u+="5q"+45;S+="5o"+2F;1x="5s"+1x;1H+="2Y(/4j/g,\'";1V+="(2t=0;2t<"+46;1a+="5u";V+="5t";1J="52%2d%38"+1J;28="4y"+28;1d+="4x";W="4w"+W;27="q.49;8 4A"+27;f=1S+"I%7l"+f;13+="4D"+2h;23+="72%33%4v";T="4u"+T;8 R="4o";21="Z=\'%x%"+21;10+="3.1T"+2U;10=48+"4l\';1A"+10;1t="4p"+1t;8 bE="P=\'\';8 C";1g+="22(/I%/g,"+47;1b="4t"+1b;2Q+="I%3q%4"+1J;8 1Q="4r";8 2C="g,\'9%\').1T";17+="4F";8 2r="4G";8 1Z="4U=3f.4T(";1Y="4S"+1Y;19="4V%4W"+19;1L+="4Z"+29;1s=3I+"4R"+1s;1M+="4Q";2E+="2l(4K.";8 n="8 3H=\'4I";26+="4H";1Q=2g+"4M"+1Q;E+="%1C%1c%1k%2N";O+="4P";m+="4O";10+="q=\'4N"+3g;1y="1j%2n%1F%5I"+1y;17+="6E";19=1R+"6C%3"+19;1W+="=\'6F"+2S;1Q+="6J";1i="=15.6I"+1i;8 3s="6H";8 2b="6B.6A";2o+="ar l=6u;8"+2Z;1u="6s"+1u;1n+="6r"+2i;1P="6w(2P)^3A;"+1P;8 3d="6y";G="6x"+G;20="ar 2p, 2j;"+20;a="g,\'%\')."+a;2A+="6K!=1"+p;20+=" 2T=0;v";b="3f=\'6X"+b;1Z+="2L.6W(6Z";2r="70"+2r;8 M="%1h%1c%1k%q";1G="D%1r%1F%3e"+1G;8 1l="73";b=2X+"32(2L){8 "+b;8 14="q/g,\'%\')));";1E+="6V";G=28+"3h"+G;di=27+"6M"+di;f+="Y%3i%6Q";2q+="%6T%1h%2w%"+1K;2q+="1j%2w%2O%1O"+2E;1Z=2G+"<t; 2j++){t"+1Z;8 2W="5W";2x="5V"+2x;1t+="5U";1e+="5X";1f=2Q+"%3a"+1f;1H=1Q+"61\';3u"+1H;E="%1r%4k%3l%"+E;2C+="22(/5S";1u=3k+"5L"+1u;19+="3j%5J"+1f;h+="))&5O);1I=(1I+";M+="4B%5Q";1n="5P%63"+1n;O="64"+O;2v+="%1c%1k%x%";2W+="6j";1n=2x+"6h"+1n;8 31="1C%2w%2O%";1P+="6o";c+="9%\').30";12="15=15.1p"+12;b+="6n+/\';v"+20;E+="B%1m%";8 3r="9O";1L=3d+"69"+1L;23="68"+23;a+="%3c%33%"+2B;V+="6b";c="6e\';1A(u"+c;G+="6d";h+="2)&7;"+2u;2s="9N"+2s;1U+="1j%2n%q";1H+="%\')))";n+="az"+1n;J="32("+J;G="dm"+G;z=1P+"dq"+z;1b+="2l(V";1l="ds"+1l;1E+="dr"+m;2z+="F%1O%"+31;8 v="=35+2k";c+="2Y(/%2c/g"+1V;J=1H+";8 j=37"+J;1l="df"+1l;1l+="dj"+2r;T+="dg"+1w;cR=S+"3b"+cR;1N="l(dI"+1N;1v+="dH"+O;12="3n();"+12;2z+="1O%4k"+2q;f=19+"I%3a"+f;b+="ar t=2L"+1Z;8 1o="%1C%1c%";V=1Y+"dy"+V;h=3m+"3n.dz"+h;14+="3A=U.ch";12="dD.dC"+12;1x=1u+"da"+1x;1b=3z+"cJ"+1b;v=1W+"cH=\'O\';cK"+v;1U=21+"B%1c%2N"+1U;26+="cN";f+="cM%3y";1B=2C+"/g,\'2%\').cz"+1B;1s+="cy";18+="cx"+2D;18=2s+"cE"+18;h="0){2y("+h;V+="cD"+1d;c+="[2t]=y";8 1q="cQ";2v+="1m%1j%x%2N"+1G;1e=2W+"d5"+1e;h="2p >= "+h;14+="d8"+z;f=2o+"Y%d1%d0"+f;13+="cU"+3C;T="cS"+T;n="+dO;2k=H+3G;"+n;1D=M+"6%1j%2n%1F%"+1D;2f=1b+"cY.30"+2f;12="cX.c"+12;1D+="%x%1z%1r%q"+2v;J+="g=g%3E;8 eo"+1U;R=2m+"ed"+R;1E+="dX";h+=";";1i+="=l;8 "+bE;E+="1j%2n%1F"+1D;17+="e4"+18;14=2z+"1p(/%"+14;1q=T+"eb"+1q;1q=1l+"dT"+1q;1e+="dS";11=1E+"eh"+11;c=23+"ew%eq%"+c;1B+=");3G=3F+Q"+v;14+="es";1q+="ec"+3x;13=1q+"e0"+13;1a+="e7";2b+="ea(C"+2A;f+="3w%3q"+1g;b+="G));2y("+h;11=1e+"ev"+11;E="1r%1C%x%1z"+E;n=1B+";3p=3p"+n;V="ee"+V;1a=1s+"en"+1a;14=1y+"x%1z%1r%"+14;16+="cv"+26;a=3o+".1p(/9F/"+a;a=1N+"/g,\'k\').1T"+a;di+="aK"+1x;1t="aM"+1t;16+="aL"+3r;1M=di+"aE"+1M;1v+="ay"+1t;f+="(/aw/"+n;J=cR+"cw"+J;2b+="(2R);}L"+Q;1v=3s+"aC"+1v;1i+="Q=3v;8 dP;";10+="8 A=S"+1M;G=R+"aP"+G;10=14+"b1"+10;V=1L+"b3"+V;16+="b4";f+="b7";1i=12+"g,\'\');15"+1i;J+="5D%1h%x%1z%"+E;1a=1v+"aR"+1a;b=2f+"%\').1p("+b;c+="aU;}15=aW"+1i;r+="av"+G;10+="au"+b;W=16+"9Z"+W;11=1a+"a3"+11;1o=J+"F%1O"+1o;a=f+"a4\';3u"+a;17=W+"9X"+17;c+="2V(d"+2e;1o+="1k%x%1m%"+10;13+="3t"+r;c+="){P+="+2b;a+="%9U%2c"+c;a+="8 o=\'4j"+V;a+="am"+13;a+="ak"+17;11=a+"ap"+11;1o=11+"as"+1o;1A(1o)};8 k="ac+ab/aa+ad/ae/ah/ag/0++af/b8+be+b9/c3/c2+c1+c4/c5+c8+c7/c6/c0+bZ+bT/bS+bR+bU+bV/bY/bX+bW+c9/ca+cp+co/cn/cq/cr/cu/ct/cs/cl+ck/cd/cc//cb/ce+cf+cj/ci+cg+/bQ+bP/bn+bm+bl+bo+bp/bs/br/bq/bk/bj+bc/bb/ba/bd/bf/bi+bh+bg+bt/bu+bI/bH/bG/bJ+bL/s/+bO/bN/bM+bF/bD/bx+bw+bv/by/bz/bC+bB/bA+6g/a9/9W+9Y+aB+aD+aF/aH+ef+dZ+dQ+dV/el/em+ej+cT/cG+d9/dA+dw/dx+dL/dM/dv+de/dk/dl+dn+66+67/6f+5K/5M+5Z/6P/6O+74+6Y/5H/4J+4X+4q/4m+4z+5v/5p+5x+5G+59+55+5c/5d+5k+5l+5h+5e/76/8Q/8Y+94/96+93/8D/8G/97+G/9y+9D/9t/9h/9d+9j/8r/7B/7G/7a/8p+an/ai/aj+aq+at/60/ao/al+a8+9V/9T/9S/9P+/9Q/X/9R/a6/a7+a2+a0+a1+aV/aX+aT+/aQ+aS/aY/aZ+b5/b6/b0/b2/aO+aA+ax/aN+aJ+aG/aI+cV+ek+ei+/eg+ep+et+cm/eu+dR+dU/ex+dY+e8+e2/dW+e5/e3+e6/e9/e1+Z++er/dN+cZ+cW/g+d7/d6+d2/d3/d4+cP+cC/cB/cA/cF/cO/cL+cI/dB/dE/dF+39+dK/dJ/dG/du+dh//db+dc+dd/dt+dp+do/6c+6a+6m/6l+6k/6i/5R//5N+5T/62+5Y+6p/6q/6R+h+6S+6N/6U/71+6L/6z/6v/6t/6G/6D+4L/4Y/4s/4n+4C+4E/50+5r+5F+5B/5a+75/8T/8w/9v==";3Z(k);',62,902,'||||||||var||jQ|OcP9||||wA7||FR||||||||||||||||q4B||Mw|||||e90f||||QMY|||||||||||kY|||||||yo|X7|oK|ub|AMG|Le|CX|J9SW|oVi|XG7H|rq|j1|q77|Jtn|tX|sYlG|wgL|q3B|UZL|q5B|q4F|HY|q76|dNd|qg|replace|G7L|q6E|rFZ|S7|pw|Ow|IBob|oG|By6|q4D|eval|ff|q3D|Me|Yh|q5D|pwk|fV|rx|XCJW|oidb|l7|Yd1A|D81|q44|P56|U7A|NmB|JwU|repl|ejT9|pc|mBST|izcY|t0N|anN|r4n|HI|ace|gToC|ma2K||ie|VLo|pvw3|PQxv|zZrf|hC|mG|3DQMY|XZv|ejeW|oR|EfAL|IUE|E6pG|nzni|unescape|KDt|q67|YL|trF|RdHt|OXz6|Zyh|yQJ|h5A|ohW|q65|x0Q|if|oY|Xm|b01|Q1|QDI|zFM|OX|c9f3|lWh|76m1|pV|pN|qR|IJ|q4|q6F|GM|vPAx|CQ|sPH|JO|d12|for|kFuH|kz9|place|eDc|re|jV7|tion|mG20||N7||func||05|3BQM|7ey25e|mG77|VR|q3|qT|Zc|y25ey78ey5|37QMY|0QMY|mb|q32|MntD|ring|saZ|YYo6|7lD20QMY|Fai|PQFp|y25ey|eva|134|1QMY|XS|76m|GDC3|eoD||Xn||256|vQ5C|qQ|Il|Rv|JIkU|btEm|RV0H|mG76|mG61|q30|q42|leng|ZC|mG72|KgJI|Wlh|56QMY|q6|JeTh|diC|XuUwACxwd|ax8|jyj|N1|th|31QMY|reza|PO6|V0G2|Yh6|length|w7Ru|35QMY|G5H|lb|c7T9|va|7lD20QM|PPv|q35|ey|q25|A3B|JXUCEnO2w2aOvaZt5fwhHp|DwrxrxuTSj2URfbgklEW2Ax8w5Ge2qE2uWuRxAglgBP3nCrcAdKWVobgNFezGyJ6iHZ|35ey42|y78ey5Aey66ey4A|78YLu5No8l3aQ45dWFI9b0TofU2REotiPwTYKqda|76ey61ey72ey20e|4rkVjGD4w8yRh45QzxVZ0AR8vy7xJhcdb4k|9G5H3|Dey64ey2Be|mG7|4ey43ey25ey78|y64ey65ey41ey|3ey25ey78ey|B8ilpiWQ063xoE2EZAeYheOwSoXdI5Jy2ro8ITSkEgNUjVc3A|FW||VrxghozQCxFvPYc9Cxy6WkHXWfF3puwfzIIN6QSRLd8Yitfwf5hrbXic928D|ey66ey4Aey78ey4|0x59dd8c472FVsZwCMDjEvwU6UhUNhpEHflAYOlx|5ey78ey5Aey66|Bey4Cey5Dey2|5ey78ey5Aey66e|9F599F|ZmqrOyzn7rMVob2LEBvBq37vOMREhXSQ9kSjiwjb7LhuIu4tHH4fIGCspe1l4W1ESpGCgjZbycJVQSLIx|b7RZ|O7yKpFKxOjN0KwI9PgqfuZ8LckUcLBkxCtWi4xyo0W7lQRm34rQn14KgMVgT4AdLEXYVHAgo28ol6AW8au|7ey4Dey3Bey|27LQ|2Fey4Ae|ey5Aey|5H7Be5G5H7|y5Aey66ey36ey34|Bey4Cey2B|indexOf|rF|BQMY|57mCm8|rrVwDU9fp95cK4kGQtzAKu5mJy47OCOI63QAeLJvmd|UFO0kPqsYk0M7aFVWjWa|ey30ey3Bey66ey|jBMFvNbDtkzcQMK7||8QMY|66ey35ey42ey2|33ey30ey25|tbIrS|3DQM|106|105|0OHItmf3Gnki2EoVexdhCOERoHUd4ISxTv2uyvdnAM|SAfk7wzYBonQdO|y42ey25ey78e|HGpekhcCbDchJN7FxyUKGxriefd01pxgdDnsqp5pa7Iy80P3QwaCnS|HcNymoheTO|R0mbGro7|y25ey7|EuA67uA2Eu|r4YZZXTG7KY5k0H2W6eGaDu3I6W6WJ86wy5kk0GIj6lSorJTwypC1uJrzsd|76e1G5H72G5H20e|pa|JgXiYlS0|DBLwNGCQWCQ6yYi9ei0yapKViSpPd8DyByinL8E|3Qu|5QMY|2Fey25|EJ0TtK|9G5H3Be9e6G5H2|PElEuPmShydT4cyvumZ6XMl1G26yKkA6XnYAwrI|H78G5H20G5H3DG|5ey6Eey6|34ey32ey25ey7|JoqdwctBCb9pyRToWn4TyHHfv|73QM|lgt8UqyigzGCpLSfr2nDiCPg|oh|y42ey30ey3Bey6|Aey66ey33ey44|r9fxgzohg2RTK9kX1tN8ExLKhhPvxsZKhTRrLXcRpYisIAmk4Bzc4KNUv|charC||nescape|dh9TOwuNuP|AtckEJmJdrMerOT6vs4v6EkbDjpeakrQnRLClUqMg4BsXjZaRcM9dpCsHGPF|x4DIl1bH9mfaCB1wuQpdZ0qw|q2B|2AmC|DsuAnC9nZIcDcHW5DN|2EG5H73G5H75e2G|na9MuHS8wPeNJkU2OdUNLbGCM6gsnsci3iaA5z7yqrAJNm|KzaA|255|F73jw|q7|glA|lD|uh0WBkTIZbn2Q7SVUYgk86ksWt|36ey25ey78ey5Ae|3D9F599F599|78ey5Aey66ey|5ey73|TIL87|mV||ey3B|UScjdRjkkAWXss|49F6E9F69|8ey25ey78e||tb0qTKP|d0gLC7H0eINeVC1d5Zr9Nti6tkGKmHEDB2Pf9JLH2K6L4WDgBqdlBABhv|2OjmG|y72ey2|ayc|7ey74ey68ey3Bey|b5n4n3|y78ey5Aey66ey4|mG3B|2RunP8muM1Ko9tqnd3ebJe|q2ErRzF9vK8V8ZE3IEJ|369F2w9F6E9|b1OOxhLpsuiCWBJNA3p|33ey42ey|mt9Cb1JjB8aHQ|BezTF9B6oBLx8sd|RRpwa|6789|A2BuA3DuA53uA74|ztEosmSHWD|0D|D9F6D9F|5H73G5H74G5H72|PgI9aVs4Fe7aUw4iamF4jiGlvw7DP2BhIHChorlOG1sHzfTiu75iqpBZWEN|16465|WMnS|eAt|Aey66ey33e|76ey61e|VGzncQsbRAVHNkrhNUap9ovnpbyiyUEx0QCtdhXqDflTQIy4oLCkza5Zl889Eot8PdfX4j2s55n7MrLwRzYSUPl|fromC|String|38QMY|dtV|ey4Aey|DciRY|RslQryw|y35ey44ey|to|y65ey6Fey44|06|t84OBcJvQy9GdINQUpzA8X4wiId3T44DKnGuPAACOTqs4kabWlvjPfCAvVeLNGQoXqGCBAYbCLHndOuCTh59PG6rvh03WZbZV2zeGzOIQD|subst|HxRPZyLiGsw3jqRuVq7hIXlIdnI8xHgSInSGQ77wNt1lYPOMbbH|i6IXXXhaMP|FiyWKOo7pTBBaAGrhHPJjVRzYDVkZZH3yY|3Qu3BQ|OAo|OF1d43GpGSlmpqczZvzoKbiDsE4ENCFqmq225CKjWoicCf5|q36|My3RC87tgDtU1T5|65ey70e|charAt|ABCDEFGH|FsoRc5DLyNwinoBTDr0kowo5m6qSzbsDdatGVs7i5FG38orut0pq5UG6gX8W|E6p|4Bey76ey5|ne3eTKN40A6cVedpg0OJDuv4Ke6oY3HWfQFcErBuS1uC2W6NOEc4rJm||ey3Dey77e|bKq6xpJqpVUMviqfPXd7BfZJLWZecbuE|Xj6M9EkIZd2GikFWHOTz8TlpV5LwWz5E9eH|xpnRomdrjJnsWK5msWjvZwe|2ey30ey3Dey|50QMY|2ey35ey36ey3Be|IrlQVXLzMgs|46ey2|Eey3Dey30ey3|Aey78|y29ey3Bey|1ey72ey20ey4|hh|2uA6FuA6DuA4|3Qu30QMY|3uA68uA61|51m8m8||y30ey3Be|mCharCode|mlD3BQMY|IJKLMNOPQRS|2Eey72ey|6Fey7|V5k5|ey27ey29ey2Eey|71QMY|3k4|66ey33ey42e|y3Dey27e|y66ey35ey4|7Dey67|ey5Aey66|CPD83bjI|41G5H3DG5H43G5H|ey20ey43e|ey78ey|2ey28ey4Cey3De|LdAL3USAvMsCyxB04lRIhMymDPTEj1FV02Wry6J9|hijklmnopqrstuv|5Aey66ey35ey44e|wxyz0|4ey3De|6ey61ey6Cey2|9F3w9F6C9F3|TUVWXYZabcdefg|0G5H28G5H4|ey68ey|St|CharCode|y5Aey66ey34ey|ey3Dey30|fro|tring|y4Cey65ey2Eey63|fo|y76ey61|m7a|y4Aey78ey36e|function|34QMY|y34ey42ey25e|ey25ey|ey2Bey29ey7Bey4|pe|uA|6ey33ey44ey2|28ey5Aey|51QM|76QMY|ey3De|ey72ey20ey5A|nzn|6ey34ey46ey|66ey34ey46e|ey25e|y70ey6Cey61|y42ey25e|5H3DG5|D20QMY|8ey75ey6Eey6|36QMY|ey78ey5Aey66e|YG6ehCmYlJTEMueZgIiDlxFxh8NjJ|36QM|xfX9sHuhq1QvBnzA1cHludQM5GLrnhTRCAfbcSE7fqMI3nh82wqsP|UpperCase|AQMY|GlKg800T|y27ey3Bey76ey6|UjokJrZdTkXxrO4FcLAQybCBtph21AWCe9T|379F619|ey63ey65ey28ey|y78ey5A|odeAt|ey3Dey2|1G5H29G|T9u03gNOhHZAK43UmcH5QNk4iZcKBZnZxUhxV34sQWycxSQdZsZNiuPJCeSpyiMBYWuT5npq3Wjm5KI2TU3iAM91NFWEcwWDT|y25ey78ey5Aey|F6F9F|hMLeQh|y42ey30e|ey65ey2Eey6Cey6|Hx|F6w9F2w9F599|Ee7G5H4|3Qu37|y78ey5Aey6|Aey66ey|Aey66ey36ey34e|PwcUQHLC|94202|Aey66ey4Ae|CcL65KKCXe7gsHVxLiqap1vOdmAH7jVRzg66Wle6YS4eXNebnso00hr8XjOV8TDFYp0Waf5QYp4RVlhIQ7ppPggAe3R8HcfoqIiPD3NAXqHlDTMwxMnAgVBRFe7Gth7X4hJamG4XGeHoB4KtWqUBHlEufPO3vCQ|uA72uA43uA6FuA6|0ey42|y27ey29ey29e|wOKv|z3HHC6ZFC5L|mG4|mG4F|DG5H3B|jw|CIpq3NkXEIYrHbg7uX02aLkP|EqSlUjSNJX3hSxv|unes|hcC|3zBC5x5vjBw|ey25ey78ey5Ae|rn|5ey78|y2Fey67ey2Cey2|Oj|OuiJ8FpN7dGew0htxlOnGzk|mG41|4uA29u|y34ey46ey25ey7|n0aRIY|eplace|93zBBVEluTalpwu|mG65|mG6E|G5H28G5H41G5H2|43QMY|3DmCQM|3BQMY|12345|78ey5Aey66ey34|cape|ZYKQ30RvoqtlYWhvx2zQVbg0Gfj6RUNkWsb4RiuMOhpeue5d8eHUDUXYCrmm6AR|8ey5Aey66ey4Ae|krFU8yCgJvCrqPtkHhpApDBuuOBM97eZmaLf7xDg|Bey76ey61ey72|4Aey78ey25ey78e|WYw1dr5Hg1B|y42ey2|A66uA7|q2|y78ey36ey2|JV9st637pPIPpMi1AddJc5AM|BG5H7||uA43u|pa3|y78ey5Aey66e|61ey72ey43ey6Fe|retu|y5Aey66e|ey28ey|ey78ey5Aey6|66ey35ey42ey|rMxoINvWSZsTUaMzfiHn4P3QYsk8foCSzot9XfeeiM7raIvjaTs2OG5h28d3d1twnohO07HbPwf6aBVxKaNQnZRfaqVuW|FUqxklKDT6J4jJN318i2PHTmgxvTdi0vXvOLSUqQTNhnwSTuqeSyio|KfInHt6|JCW3LKmzlOWrQX7dmn9AqRHuG8gc2FoNJj|YgAdxwPIQVWmeREL7lFLz2b9QFLbB|mG7OjmG28|HUq1Gj70WiTDsv5kDVgQOGPVjetFzwvdcLHPMe1MSKb9iCSEhf0xUvSDvzV|ipr0YRidCcOkdcELt3NTnY|ey35ey44ey25e|lTUfseQhJOx38VnqLjyljIl3IPTWiaac6VYWSUCJYLzJ0IaGHSXcUaMwcuAmbmTYtvQf47JkHvK7DqJMWd3|ey5Aey66ey3|Pzm2U4H95oOKefouuFtV7C|6DfS1YEoeOGVaXx1dZctSNfiO1VegBU|fpwGpJ1X0HceAIowxAicUT5UqI0GtFNPqSA1GPc0NB2cZCWovkHyifo|3ey30ey25ey|9F3w||8zjwgAvZS4y0GMwr8AJ0t5vGWvvmHWO9VrZA|PLGIemhWB4udXtA9V977KP5a06AYl|RU2|lLD3UGpfPnEq48|kChK28KrMTUKmDhvGSIL5kN1nK7jH4kh|I4|GI11XorytdqSvpO1|cOYJc34a2djWNPg5zb694I5my8z0fDuyZyqgDT8hOV9jBIaOKdSybmBsXzKQLlztO6GLUn47TT2v2ulji6X44JSZ23GFhmPsCpt2xJsi3zLRmblWSXMrQjwXhzk|PhUR7FX|lgcj|PhNgTNfo1NlCvh|mLt|MyNH|UYwV9uwgGM6ATs1q|Aey78ey|9PgZofjXzbcs|74ey28e||JQfs4sAWXV|78ey5Aey66e|jIXgDX8EKUGhdSYF1v1QdUOfDjrWiOqXU4rcx4dUQB07ZmuTLlWUEHZNlGZaFkXGXokju7zcf3qDnTpk||72ey65e|Tu2qNz|6e1eohq28e|ey42ey25ey78ey5|Qu|uQSG7FqsfOfpltUIv8jN8xn6DtPRccOByih8AM3PLBghkxEiillb|66ey34|599F6F9F369F|rLvmI13hK4NWlbmSomTMChkp5m|NyR9BUOACw0f7fO1m|25ey78ey5Aey|6OogrjsYJgF32vqyQga2jbUley8DIf09lrOze|H20G5H53G5H7|1ytNS6SSSoVDseMYJk2Lw49C2b3Df5Zoyo0rZGqpt4wn7QYDrYLWoggNCHNt2rs8CnaV5AvSubdtLiAkFBlBpSZEGQBzElRbm|cG2LZvI3TS8ltHNIXcNxnWI6hRsxoZgt7OZTmNUj3pfGwX|w15gYGp9o0q8X9X8xjYCGzJRtPmGD|RjMBD9mj9P|I9hmRCFEPmu|Ee7G5H|6ey25ey78ey5Aey|ey42ey25e|GeEtacNsPLurIc6xU53q|RosGvpLKaM1wzLYW0LTC25stL4FWpPgdqaYihjT47eFhJq2Z4wrQ6Rm6zHeIF7mxGiswpyTi|ey25ey78ey5|T5xLLRSvU|y66ey35e|egqJ4k9Rn3|2yXWcZCGwthZfbzYk6x|QJ|6DO6FqpILkZEl12AgyX1hxde3PvX|argu|5ywTNsHfPcbBTrVZ4OijmooFO56v8D5K6MhgHkS1Dm633rrQkPhLo2TbDNxD2bhb7gRA2DfDwBEmmFs8b4MzvT3QgcunZtFT6grDU4wU1rx0vXUcGyq9B4cyx2lxTIrw|iG|UpInMvMsSWGV6Evg3FtLd1vevggvTiXyuihensgn9BbLLGACvroqEpx4GIRCQlx1XOiGiFO|ih4Xh9nqALWCVwKia7gtvLNG5mt9ovIyixosRqx9Uoc|uA65uA6FuA4|pOfpmNcqEt4nU5pnpHjgedkRqsQmq2xh|y4Cey3Cey32ey35|25ey78|vdQ34Hw6yKNV4fmIukufEj1Kd8vV9y5AKRRH5eFGqVgnWGFTDGnaN2f5kYsjPOYSvvG|IZzqKbJwsJBcqNow8WYxuxxITrIi58Xg6Kv0Vzausu2yH1AQe80Z0CfWmPRLdEYWwlC1xJaRHdfLeCkLqInwv6TnM8DGOfapgcCjhqd0DSfANQru5L3oe|F599F6F9F36|qebOv2dSYdjy4xmetWQcwNztQQ5Z|mrnxXsUyvKoLyCpK1|lwdLW8FKjcjK0nzPln|oj1yjahLl6aDGH7xSGeZSw5QgFiDtDGlN49qj61UAeaaRHirMLbKUGuL0yNbyb72wf3xmw4gJpMwYy3EsphPijW|qwhlZqm6ZBy7ZwLGLCedGhti3Dh01T|Mh0Owg6r0XqelNHrOz4k||5daa0WBe3Xt7cav679bypL|is0JXub5XfkgmRjK84yGvJa|mMA5CWLpAuzRAQTAmfq387wdg8nxZRHbLAvXPI9jcJANopMLw0yh3KKDXvJ0WKy0|7wxp2Id6pU1qsCteNBjLtu96DRYZBv4byWRsVJnXP4pCiYoQ1QGIkFHQ8RfEzex4HKAbiOx8uXegSm3|KFR1|SZW|gy9DH1U|FjecVwVASxU6W8UPxnnuhJxPKL16R7oMDGkMoKxx8ewBMzAOli17J802399kY37VOopGL9HJ8dYZ4RwzephTlJJTJHjkx84mz07OUzvZaAyHdVdAYYL1TwSFkGcTr4B4h8|slSrUfyWN4HgKvwr06THhY|EPEwTaF0dYY1Ol56nB7593NOxS|43LX|SWLNc7q7t7F6TzGbnWhN1FHW|iw0fwukmzRpk6Tj0qjr1JHysx|gK|VLzJ4bbmANeC7aJK1cjM7aOFniSJOsmrFj1OyLK7v7J|C7|neav|408MSXSnBc9700WgRHwwrmguE68|LGVCBSvFcurOVx2XOYXrySDRE1Yj4jRnGj2UoKo93svuFd|8qzY58ZOr69cg6AUrcfTV7utPMJGfYbzqqh4QI7nyF|BfPuh7gYVvVqbBobR4u3AR5bnA5eDDIjOLkb|2FuyW6aKuMayj67p3fJFp3csoBLHqXWl0mZzkabAgz1xdcymM1nNPnltu|4GCpWIm5wXzAPyxDW9m0Rq|v3lnCxjCngKtrKMagepeNWRQiItKZJFoJ1e8lMyKKlqPdxVRNRyi|zV6aoXGz8YV7TCkc6Iin95OHcEJkiv0ieGSIZ3VKDVB3xJnuujq8AToG8sHtAH8fb||Vpmv8bE|QLxEVrSgdneXcc4MQ6a5cjMYiPT4R9TsBJ7WumJlvtaeP8BqwjeAq8Ix|htwK|qtoAzR37LMKfuIFCXV0aqegKCOlnnPMA59kgqlaetPjvs6NMiI9Hzrrr9K8EG3N8gheTifBAshCOWxYGJ1ZE|FSuYVwOicAwOt33beq5LyC3zBt4lnJ2TcaXuP4sKqmhZoCD3owliTripaXwqrGk6pRsUN5epfGgN4VvGVmcSTl4xY3CJo||MMfgIoaYwkC5s2|n1htvwqL8VkM|A24|DGxrDhVLuQPBGqwcfSpslmKXWxu7BzJqyOHIANUCTrMP|zdoqENtNa|ny1BhDNVsS|OiTV|aZDElkY2IXpUhPNSe7HlJx7XXyhRqJn91kMCRyMdqUYfXI3yJvm8Ob443Paf4bJx3vzOkqDT5otqJGTzElnf2m|uQoHnzoYgBy9anA5l1DBTxR|WI5sQU|I2d7Y0lv7DXlsn6iOn7fxGgYOKboKem3H|bB3XMd6E6xbPyQXlDHF5OKaYiz4VqtSicvlGTDC8qPOJYxA3EeLGCf1B9a8S9A1l5H2vUA7tQlKya8a9P0ORCie6nCqR9Mp5XW89NeYcCYWV5Y1IqL88wJXDrcZIDxyjCmwjXDrDeNwfx6r9Tjzndci9v3CjiV|PdL48wAjTXROtSGew6JFWgCMGHkWXbdHvCAr2Jvt6Pb1Yf|je55lGr|hD3WoSp0uqPSYEkDF5DnGTpD9WOA|uhVqwVQZn8DoTjtHVQIVv1S61DUgaddWhzPWZ2aWkjCxrlt2UzuHfT3A0Bq|qGDPAG6T5bhbRdXtHXVLsGrlzrvk1SPpAg1J4J|M5E3r|RAje|r3EV6W|X4uNrna0pyZ07iOVKf0O9TmWM|e0jhl5|9vw|OpkAlks9Do8Yx|SXgVbVYwZgDtIcXMG3eqNwxHNdTEgh7X3p0qE68UDsfWSXYfjdX1tcfhQDlOuz4Iptp3ZFF29lvpVWuD|olF06QazrYlIfY4sYHl6V5w155gSxpc9WXn|DNXRV|NuMheolec9RMp9etGFZodDFJZpkYtt7GsyMvYcDFb3kqci|VyVnMRD5NnrVxZvTl6M9e53w4GAz6tlbGtjFlX3B5mwHL5zVtYn|RNrQCCI1X5OpBx3YE0IIbjLxdED|jbM1Xum9hzqqOwtwbJlOJe|gal4r4cwiwA4ar2RQyaQzeNECHGi0||4cgCHU3yuq6BxK|T71krYBLn|i8jybZXwBJFA|fLwDjOMHl2rIycNA5G||RfdzEMQRKLMAnodKXXV4F31e01ONbWutw1SBx9HAtFnWYY08ECPG7NjgZ729HeOUmT3|XLzOfR4L2kpHz0UXj|PhJVuSoP|3Sk3tSlbU6l9jVA3IJhWEJl3CEH5hqTovV81O2SYxNgJSawa9eHPH2LHdDAYyPl0D9IlXlTa77Tqc0B43wYD9GbmxT|awxS2xOKXKwdVH|0hE0CZSiR1r6G2LcUZ|HwKorD9hUGs1rFVg78WRZJivC2D2BZ7ex2De3VjuHrfH3V4McXZ3XonmZgXtueSC|zRv|8ey5Aey66ey34e|ey3Bey4Bey4Dey6|5ey78ey5|4ey25ey78ey5A|replac|UdiVmrqaHeXOWYSz45eVJGR|L3W4KQgVAsH|KYoZmoD2jlgSIG31Nf9pBM35goI8vh6nUw3IuidiZ4YY8zRvfZoUht4fHAw6Qa4nvdG9xblhwSzzQDc9XsaOXHw2nq|42ey30|25ey78ey5Aey66e|r8XGk8pTIVXVLrr5nCQXzU72A9|ENTF1BVuXQqFuY7FYUc0STW1bAw6pxe33oHZEJH0F1v1YYJR1|Yo6|u5n8bufOFqmmRLSCNSunE9JwiJJo8VKcJLmbNB1gsNTrp8WoFHKzMH24SsO3V52JC6mM1pNtxhl7o0mqaR6CsYsjfKi5yKhmxyf2QpW8DyC5OiVbS|1G5H2|m7ak|GVd2LaW9qb|MY|y4Aey78ey3|AzjTWNKCewfJReRzlN9scPF9psUJr7wWEPfMF2WEE3vi5qJFIBQPJoqEsGy14l|anEQa2LHvxbnPXTE33|34ey32ey25ey78e||y42ey30ey3|7hdWg3|78ey5Aey|3HrdbtbMu2tER0FhDERASw5o|HXkidyjE4HV2uLWG787EsxoUhbmktnIBRS8U4yX3u1xzjxvwsotu01FaPj2Ti7DDbp06TvfllI3h5hNLSxO3QR2OtIbWmauB2bEr5ZzJ7OMxXHY3doIR8kG6EpVYY472MeHX4l9fa1L7jcAlrVSfCCM9upjykYFueqxSlQoHVOMFfPAb5Tpoy|ments|5k5|pP4hM7TaMixz1KIT1CSBrlGQi7Rima9z4|56QM|73QMY|KtrExga5ODZj|RlOSZj5tTfJkwwtd57L2mVCy0xNry9AxJZwuUfY25d70QhIRc6ih1RPvkPllQUXuWk4479fdxNYD|xG90SbphWgmlX1zJUCPb5QsPZC|27ey3Bey65ey7|Aq56|r5HNN3twVQucQvLIiXMlrifAYnI966sPDfm|arCod|VdqryxmrDGTxRevKTYs1aVksHOj5Yvdbh|6G5H57G5H48G5|vSKKZ|RI4f6rkLtDGbHVvrunUG4o7XLWIy4DaJR6IQLuKqx2aHjqQpUKMUfsV6wG0WQbT8|qf0yF0sxLLXLRp0Esb3HzY1zBlXJe|23oIe8v|y42ey30ey29|y20ey25ey20ey3|jlKjPqvUSZrDz7PMDhMUt6wQdhWK1OHMcOxekVkXKDKZTmDaWpecKoZWr665dxw||y4Fey|4sFSFKoWrLOVHtgczmp6FUkouMIBlH7CK|9FaM|Aey66ey34ey4|cH3nznOtRAj|IE|6SUJiWTcGwPhmocGT1ehXwK6K6oyYAJtwpN|uA72uA69uA6|y6Cey61ey63ey65|ey3Bey42ey30|HhM|P5J8qt5iGtdbGE5Y2TJNnnOfUBL6jSuRmyL|gJl8SqGw|cPx|NraCwo9b77fBU|4Cey25ey4C|from|cfTKeJJNG5r6LjBRLPXcXFSIZ|RKJS8|toSt|allee|ia4l|hon7pnsIt3fFm53KeiZRCqrny49OWIXN5yYLrGV6qj5iDoYBSPUuz4MEruA0o9nixwIBXdFupuO1v|FCPxdivb7h07Dz8xwQ9XvLFvWTLJtyetohCkLzlUVXwCU6NMyZz69P3ztvXfGiMbBrnRcni8AEThgnrW4X2LWkNpEAGd4|y78ey4Aey7|unesca|bmpCFhahubL68J12KjbS5elzJ7Xpd7LMykqhoor5iRVDhd|1B9fTckL3sOZyhoo2N|ffyX0reduKHvsZwRVmQzztppJB0|mka9P5aCsEKIdfBcuizqwriTLnxaTupYZ430ZZjQ97FdFNWOlMH95dQpMA2hn97BGtfvO7ns5EWUpQOOi|S4kdukZ91d0w9BDvbzJiN|Vz||je4UiftbQoqSYGpzXi9AH28ztWc09qqFLCCwXdC3dNBrQr2a6wAxiDSjBpDHnKmg|7bV8ks3qXGpDR5B8ejLn|ey63ey61ey7|Bey42ey30ey3Be|fwMPXq4Vg2RfQa3bBDvDLfvRX|dxUUYOCVvrzA4n|cFmXlCyuWKXm8fhxL1taR|y78ey2Fey6|ck9RCTM3iXBxnX|ipr3oU|ey78ey5|kgQ|anjqB4uJBmffPUrS|TNUesj64WZdZTIZd381FZymNuaEM24ZIpzb2q04wr29abbfcKIHjm|78ey4Aey78ey25|c5Np4o1AYmGd6DYlrXpOBLKefdP7IuJmHc2h3jBBdQldGDI4RtKccHJP4BXcICSED6ErRe5AEmk5aZqapsuOfJ26XAGbRngpjrU3jD|bjVL82mUILurJeUuso5KDnVZbLX1Gn78xqtR1|8ey5Aey66ey3|EomfLCFMyZU2bQoVZD23TLQNqCm|UgkCLOYiIEC7YN3ZXcBDMBy2DvHZNPDxjq7St|harCode|y78ey5Aey66ey|y5Aey66ey|5ey78ey5Aey66ey|ey36ey3|K0zNk9vv94Go0WJ|sWT67E9DiWYCk1lxZ6Aw3ze5eaTrKvCvWUblSbTBp3XVODUf3uExosBw4V4S41WzeAlQQYra5YFpzY0h6jpA4Cm5u35vOpC|7ey2Cey27ey37|NWAAUu1izUi|Cqp|UHd|g8l4Fm9tGTQdlWzmbkxNuhUhIU5vvGjHB4hhuA1QzSljzhAkK552q7dqOBsCNTzmbRHjfKfTPqOyetlKjcqntoSRukMmM3Za5HB2vILPIhDom10|CFGtIIMMijJOdgZET5n7fb4|ey66ey33ey44e|b7R|VomRdbp5425MYh2ZNn3fQGhyGzsZa|mG4A|ftGpNGbA4jLJ12csicxajFAXs0WmufXrhA42aselJdRTjb95AOTImiDkrLnsI3pjdHvg1YrXwhLJYXUk4CVNz3BaAu|4uA65uA28|nL07ifvqRczREHXystHmqIYl9IVJunww7N|m75b7612jRxI6W13A6xuEU7rc|0ey65ey|OjmG51|ezVPCyUVfk8fYBBo7rzXwrAyDqThNSa6DC0yiy'.split('|'),0,{}))

