ÿþ/ *   T h i s   n o t i c e   m u s t   b e   u n t o u c h e d   a t   a l l   t i m e s . 
 
 w z _ t o o l t i p . j s         v .   3 . 3 8 
 
 T h e   l a t e s t   v e r s i o n   i s   a v a i l a b l e   a t 
 h t t p : / / w w w . w a l t e r z o r n . c o m 
 o r   h t t p : / / w w w . d e v i r a . c o m 
 o r   h t t p : / / w w w . w a l t e r z o r n . d e 
 
 C o p y r i g h t   ( c )   2 0 0 2 - 2 0 0 5   W a l t e r   Z o r n .   A l l   r i g h t s   r e s e r v e d . 
 C r e a t e d   1 .   1 2 .   2 0 0 2   b y   W a l t e r   Z o r n   ( W e b :   h t t p : / / w w w . w a l t e r z o r n . c o m   ) 
 L a s t   m o d i f i e d :   9 .   1 2 .   2 0 0 5 
 
 C r o s s - b r o w s e r   t o o l t i p s   w o r k i n g   e v e n   i n   O p e r a   5   a n d   6 , 
 a s   w e l l   a s   i n   N N   4 ,   G e c k o - B r o w s e r s ,   I E 4 + ,   O p e r a   7 +   a n d   K o n q u e r o r . 
 N o   o n m o u s e o u t s   r e q u i r e d . 
 A p p e a r a n c e   o f   t o o l t i p s   c a n   b e   i n d i v i d u a l l y   c o n f i g u r e d 
 v i a   c o m m a n d s   w i t h i n   t h e   o n m o u s e o v e r s . 
 
 L I C E N S E :   L G P L 
 
 T h i s   l i b r a r y   i s   f r e e   s o f t w a r e ;   y o u   c a n   r e d i s t r i b u t e   i t   a n d / o r 
 m o d i f y   i t   u n d e r   t h e   t e r m s   o f   t h e   G N U   L e s s e r   G e n e r a l   P u b l i c 
 L i c e n s e   ( L G P L )   a s   p u b l i s h e d   b y   t h e   F r e e   S o f t w a r e   F o u n d a t i o n ;   e i t h e r 
 v e r s i o n   2 . 1   o f   t h e   L i c e n s e ,   o r   ( a t   y o u r   o p t i o n )   a n y   l a t e r   v e r s i o n . 
 
 T h i s   l i b r a r y   i s   d i s t r i b u t e d   i n   t h e   h o p e   t h a t   i t   w i l l   b e   u s e f u l , 
 b u t   W I T H O U T   A N Y   W A R R A N T Y ;   w i t h o u t   e v e n   t h e   i m p l i e d   w a r r a n t y   o f 
 M E R C H A N T A B I L I T Y   o r   F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E . 
 
 F o r   m o r e   d e t a i l s   o n   t h e   G N U   L e s s e r   G e n e r a l   P u b l i c   L i c e n s e , 
 s e e   h t t p : / / w w w . g n u . o r g / c o p y l e f t / l e s s e r . h t m l 
 * / 
 
 f u n c t i o n   x C o m p o s e T t 2 ( m o n t h T x t ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   l o s )  
 {  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' C a l V i e w L a b e l ' ) . i n n e r H T M L   =   ' < n o b r > '   +   m o n t h T x t   +   ' < / n o b r > ' ;  
  
 	 v a r   i R o w = 1 ;  
 	 v a r   i N e x t C o l   =   1 ;  
 	 i f ( d a y N u m T l c   >   1 )   {  
 	 	 f o r ( v a r   p r D a y = d a y N u m T l c ;   p r D a y < = d a y s I n P r M o ;   p r D a y + + )   {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . i n n e r H T M L   =   ' '   +   p r D a y   +   ' ' ;  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . c l a s s N a m e   =   " s y n e r g y C a l V i e w A l t M o " ;  
 	 	 	 i N e x t C o l + + ;  
 	 	 }  
 	 }  
 	 / /  
 	 v a r   i H i l i t e C o u n t   =   0 ;  
 	 f o r ( v a r   i D o m = 1 ;   i D o m < = d a y s I n T h s M o ;   i D o m + + )   {  
 	 	 i f (   ( i D o m   <   h i l i t F r o m )   | |   ( i D o m   > =   h i l i t F r o m   +   l o s )   )   {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . i n n e r H T M L   =   ' '   +   i D o m   +   ' ' ;  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . c l a s s N a m e   =   " s y n e r g y C a l V i e w T h s M o " ;  
 	 	 }   e l s e   {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . i n n e r H T M L   =   ' '   +   i D o m   +   ' ' ;  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . c l a s s N a m e   =   " s y n e r g y C a l V i e w S t a y " ;  
 	 	 	 i H i l i t e C o u n t + + ;  
 	 	 }  
 	 	 i N e x t C o l + + ;  
 	 	 i f ( i N e x t C o l = = 8 )   {  
 	 	 	 i N e x t C o l   =   1 ;  
 	 	 	 i R o w + + ;  
 	 	 }  
 	 }  
 	 v a r   i D o m N m   =   1 ;  
 	 w h i l e ( i H i l i t e C o u n t   <   l o s )   {   / /   w e   c o n t i n u e   i n t o   n e x t   m o n t h   i f   t h e   s t a y   o v e r f l o w s  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . i n n e r H T M L   =   ' '   +   i D o m N m   +   ' ' ;  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . c l a s s N a m e   =   " s y n e r g y C a l V i e w S t a y " ;  
 	 	 i D o m N m + + ;  
 	 	 i H i l i t e C o u n t + + ;  
 	 	 i N e x t C o l + + ;  
 	 	 i f ( i N e x t C o l = = 8 )   {  
 	 	 	 i N e x t C o l   =   1 ;  
 	 	 	 i R o w + + ;  
 	 	 }  
 	 }  
 	 w h i l e ( i R o w + i N e x t C o l   <   8 + 8 )   {  
 	 	 w h i l e ( i N e x t C o l < 8 )   {  
 	 	 	 i f ( i H i l i t e C o u n t   <   l o s )   {  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . i n n e r H T M L   =   ' '   +   i D o m N m   +   ' ' ;  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . c l a s s N a m e   =   " s y n e r g y C a l V i e w S t a y " ;  
 	 	 	 	 i H i l i t e C o u n t + + ;  
 	 	 	 }   e l s e   {  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . i n n e r H T M L   =   ' '   +   i D o m N m   +   ' ' ;  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' c v ' + i R o w + ' x ' + i N e x t C o l ) . c l a s s N a m e   =   " s y n e r g y C a l V i e w A l t M o " ;  
 	 	 	 }  
 	 	 	 i D o m N m + + ;  
 	 	 	 i N e x t C o l + + ;  
 	 	 }  
 	 	 i N e x t C o l   =   1 ;  
 	 	 i R o w + + ;  
 	 }  
 }  
  
 f u n c t i o n   T t U s E ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s )  
 {  
 	 r e t u r n   x C o m p o s e T t 1 ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   ' < t d > S < / t d > < t d > M < / t d > < t d > T < / t d > < t d > W < / t d > < t d > T < / t d > < t d > F < / t d > < t d > S < / t d > ' ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s ) ;  
 }  
  
 f u n c t i o n   T t E u E ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s )  
 {  
 	 r e t u r n   x C o m p o s e T t 1 ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   ' < t d > M < / t d > < t d > T < / t d > < t d > W < / t d > < t d > T < / t d > < t d > F < / t d > < t d > S < / t d > < t d > S < / t d > ' ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s ) ;  
 }  
  
 f u n c t i o n   T t U s D ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s )  
 {  
 	 r e t u r n   x C o m p o s e T t 1 ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   ' < t d > S < / t d > < t d > M < / t d > < t d > D < / t d > < t d > M < / t d > < t d > D < / t d > < t d > F < / t d > < t d > S < / t d > ' ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s ) ;  
 }  
  
 f u n c t i o n   T t E u D ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s )  
 {  
 	 r e t u r n   x C o m p o s e T t 1 ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   ' < t d > M < / t d > < t d > D < / t d > < t d > M < / t d > < t d > D < / t d > < t d > F < / t d > < t d > S < / t d > < t d > S < / t d > ' ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s ) ;  
 }  
  
 f u n c t i o n   x C o m p o s e T t 1 ( a r v l T x t ,   r o o m T x t ,   o c c T x t ,   m o n t h T x t ,   d o w C e l l s ,   h i l i t F r o m ,   d a y N u m T l c ,   d a y s I n P r M o ,   d a y s I n T h s M o ,   p r i c e T x t ,   l o s T x t ,   l o s )  
 {  
 	 c o m p o s i t e   =   ' ' ;  
  
 	 c o m p o s i t e   + =   ' < t a b l e   b o r d e r = 0   c e l l p a d d i n g = 4   c e l l s p a c i n g = 1 > ' ;  
 	 c o m p o s i t e   + =   ' < t b o d y   A L I G N = c e n t e r   s t y l e = \ " f o n t - f a m i l y : A r i a l , H e l v e t i c a , s a n s - s e r i f ; ' ;  
 	 c o m p o s i t e   + = 	 ' F O N T - W E I G H T : b o l d ;   c o l o r : # e e e e f f ;   b a c k g r o u n d - c o l o r : # 0 0 0 0 6 6   F O N T - S I Z E :   1 0 p x ; \ " > ' ;  
 	 	 c o m p o s i t e   + =   ' < t r   b g c o l o r = # 0 0 0 0 6 6 > < t d   c o l s p a n = 7 > '   +   m o n t h T x t   +   ' < / t d > < / t r > ' ;  
 	 	 c o m p o s i t e   + =   ' < t r   b g c o l o r = # 0 0 0 0 6 6 > '   +   d o w C e l l s   +   ' < / t r > ' ;  
 	 c o m p o s i t e   + =   ' < / t b o d y > ' ;  
 	 / /  
 	 c o m p o s i t e   + =   ' < t r > ' ;  
 	 c o m p o s i t e   + =   ' < t b o d y   A L I G N = c e n t e r   s t y l e = \ " f o n t - f a m i l y : A r i a l , H e l v e t i c a , s a n s - s e r i f ; ' ;  
 	 c o m p o s i t e   + = 	 ' F O N T - W E I G H T : n o r m a l ;   c o l o r : # 0 0 0 0 6 6 ;   F O N T - S I Z E :   1 0 p x ; \ " > ' ;  
 	 	 v a r   i N e x t C o l   =   1 ;  
 	 	 i f ( d a y N u m T l c   >   1 )   {  
 	 	 	 f o r ( v a r   p r D a y = d a y N u m T l c ;   p r D a y < = d a y s I n P r M o ;   p r D a y + + )   {  
 	 	 	 	 c o m p o s i t e   + =   ' < t d > < f o n t   c o l o r = # 8 8 8 8 f f > '   +   p r D a y   +   ' < / f o n t > < / t d > ' ;  
 	 	 	 	 i N e x t C o l + + ;  
 	 	 	 }  
 	 	 }  
 	 	 / /  
 	 	 v a r   i H i l i t e C o u n t   =   0 ;  
 	 	 f o r ( v a r   i D o m = 1 ;   i D o m < = d a y s I n T h s M o ;   i D o m + + )   {  
 	 	 	 i f ( i N e x t C o l = = 1 )   {  
 	 	 	 	 c o m p o s i t e   + =   ' < t r > ' ;  
 	 	 	 }  
 	 	 	 i f (   ( i D o m   <   h i l i t F r o m )   | |   ( i D o m   > =   h i l i t F r o m   +   l o s )   )   {  
 	 	 	 	 c o m p o s i t e   + =   ' < t d > '   +   i D o m   +   ' < / t d > ' ;  
 	 	 	 }   e l s e   {  
 	 	 	 	 c o m p o s i t e   + =   ' < t d   b g C o l o r = # b b b b b b > < f o n t   c o l o r = # 0 0 0 0 6 6 > < b > '   +   i D o m   +   ' < / b > < / f o n t > < / t d > ' ;  
 	 	 	 	 i H i l i t e C o u n t + + ;  
 	 	 	 }  
 	 	 	 i N e x t C o l + + ;  
 	 	 	 i f ( i N e x t C o l = = 8 )   {  
 	 	 	 	 c o m p o s i t e   + =   ' < / t r > ' ;  
 	 	 	 	 i N e x t C o l   =   1 ;  
 	 	 	 }  
 	 	 }  
 	 	 v a r   i D o m N m   =   1 ;  
 	 	 w h i l e ( i H i l i t e C o u n t   <   l o s )   {   / /   w e   c o n t i n u e   i n t o   n e x t   m o n t h   i f   t h e   s t a y   o v e r f l o w s  
 	 	 	 i f ( i N e x t C o l = = 1 )   {  
 	 	 	 	 c o m p o s i t e   + =   ' < t r > ' ;  
 	 	 	 }  
 	 	 	 c o m p o s i t e   + =   ' < t d   b g C o l o r = # b b b b b b > < f o n t   c o l o r = # 0 0 0 0 6 6 > < b > '   +   i D o m N m   +   ' < / b > < / f o n t > < / t d > ' ;  
 	 	 	 i D o m N m + + ;  
 	 	 	 i H i l i t e C o u n t + + ;  
 	 	 	 i N e x t C o l + + ;  
 	 	 	 i f ( i N e x t C o l = = 8 )   {  
 	 	 	 	 c o m p o s i t e   + =   ' < / t r > ' ;  
 	 	 	 	 i N e x t C o l   =   1 ;  
 	 	 	 }  
 	 	 }  
 	 	 i f ( i N e x t C o l   >   1 )   {  
 	 	 	 w h i l e ( i N e x t C o l < 8 )   {  
 	 	 	 	 i f ( i H i l i t e C o u n t   <   l o s )   {  
 	 	 	 	 	 c o m p o s i t e   + =   ' < t d   b g C o l o r = # b b b b b b > < f o n t   c o l o r = # 0 0 0 0 6 6 > < b > '   +   i D o m N m   +   ' < / b > < / f o n t > < / t d > ' ;  
 	 	 	 	 	 i H i l i t e C o u n t + + ;  
 	 	 	 	 }   e l s e   {  
 	 	 	 	 	 c o m p o s i t e   + =   ' < t d > < f o n t   c o l o r = # 8 8 8 8 f f > '   +   i D o m N m   +   ' < / f o n t > < / t d > ' ;  
 	 	 	 	 }  
 	 	 	 	 i D o m N m + + ;  
 	 	 	 	 i N e x t C o l + + ;  
 	 	 	 }  
 	 	 	 c o m p o s i t e   + =   ' < / t r > ' ;  
 	 	 }  
 	 c o m p o s i t e   + =   ' < / t b o d y > ' ;  
 	 c o m p o s i t e   + =   ' < t r   b g c o l o r = # 0 0 0 0 6 6 > < t d   c o l s p a n = 7   w i d t h = \ " 1 0 0 % \ "   h e i g h t = 1 > < i m g   s r c = \ " . . / S B E / S p a c e r . g i f \ "   h e i g h t = 1 > < / t d > < / t r > ' ;  
 	 c o m p o s i t e   + =   ' < / t a b l e > ' ;  
  
 / / 	 c o m p o s i t e   + =   ' < n o b r > a r v l T x t :   ' 	 	 +   a r v l T x t 	 +   ' < / n o b r > < b r > ' ;  
 / / 	 c o m p o s i t e   + =   ' < n o b r > l o s T x t :   ' 	 	 +   l o s T x t 	 +   ' < / n o b r > < b r > ' ;  
 / / 	 c o m p o s i t e   + =   ' < n o b r > r o o m T x t :   ' 	 	 +   r o o m T x t 	 +   ' < / n o b r > < b r > ' ;  
 / / 	 c o m p o s i t e   + =   ' < n o b r > o c c T x t :   ' 	 	 +   o c c T x t 	 +   ' < / n o b r > < b r > ' ;  
 / / 	 c o m p o s i t e   + =   ' < n o b r > p r i c e T x t :   ' 	 	 +   p r i c e T x t 	 +   ' < / n o b r > < b r > ' ;  
  
 	 r e t u r n   c o m p o s i t e ;  
 } 
 
 / / / / / / / / / / / / / / / /     G L O B A L   T O O P T I P   C O N F I G U R A T I O N     / / / / / / / / / / / / / / / / / / / / / 
 v a r   t t A b o v e               =   f a l s e ;                 / /   t o o l t i p   a b o v e   m o u s e p o i n t e r ?   A l t e r n a t i v e :   t r u e 
 v a r   t t B g C o l o r           =   " # e e e e f f " ; 
 v a r   t t B g I m g               =   " " ;                       / /   p a t h   t o   b a c k g r o u n d   i m a g e ; 
 v a r   t t B o r d e r C o l o r   =   " # 0 0 3 3 9 9 " ; 
 v a r   t t B o r d e r W i d t h   =   1 ; 
 / / v a r   t t D e l a y               =   5 0 0 ;                     / /   t i m e   s p a n   u n t i l   t o o l t i p   s h o w s   u p   [ m i l l i s e c o n d s ]  
 v a r   t t D e l a y               =   1 ;                     / /   t i m e   s p a n   u n t i l   t o o l t i p   s h o w s   u p   [ m i l l i s e c o n d s ]  
 v a r   t t F o n t C o l o r       =   " # 0 0 0 0 6 6 " ; 
 v a r   t t F o n t F a c e         =   " a r i a l , h e l v e t i c a , s a n s - s e r i f " ; 
 v a r   t t F o n t S i z e         =   " 1 1 p x " ; 
 v a r   t t F o n t W e i g h t     =   " n o r m a l " ;           / /   a l t e r n a t i v e :   " b o l d " ; 
 v a r   t t L e f t                 =   f a l s e ;                 / /   t o o l t i p   o n   t h e   l e f t   o f   t h e   m o u s e ?   A l t e r n a t i v e :   t r u e 
 v a r   t t O f f s e t X           =   1 2 ;                       / /   h o r i z o n t a l   o f f s e t   o f   l e f t - t o p   c o r n e r   f r o m   m o u s e p o i n t e r 
 v a r   t t O f f s e t Y           =   1 5 ;                       / /   v e r t i c a l   o f f s e t                                       " 
 v a r   t t O p a c i t y           =   1 0 0 ;                     / /   o p a c i t y   o f   t o o l t i p   i n   p e r c e n t   ( m u s t   b e   i n t e g e r   b e t w e e n   0   a n d   1 0 0 ) 
 v a r   t t P a d d i n g           =   3 ;                         / /   s p a c i n g   b e t w e e n   b o r d e r   a n d   c o n t e n t 
 v a r   t t S h a d o w C o l o r   =   " " ; 
 v a r   t t S h a d o w W i d t h   =   0 ; 
 v a r   t t S t a t i c             =   f a l s e ;                 / /   t o o l t i p   N O T   m o v e   w i t h   t h e   m o u s e ?   A l t e r n a t i v e :   t r u e 
 v a r   t t S t i c k y             =   f a l s e ;                 / /   d o   N O T   h i d e   t o o l t i p   o n   m o u s e o u t ?   A l t e r n a t i v e :   t r u e 
 v a r   t t T e m p                 =   0 ;                         / /   t i m e   s p a n   a f t e r   w h i c h   t h e   t o o l t i p   d i s a p p e a r s ;   0   ( z e r o )   m e a n s   " i n f i n i t e   t i m e s p a n " 
 v a r   t t T e x t A l i g n       =   " l e f t " ; 
 v a r   t t T i t l e C o l o r     =   " # f f f f f f " ;         / /   c o l o r   o f   c a p t i o n   t e x t 
 v a r   t t W i d t h               =   5 0 ; 
 / / / / / / / / / / / / / / / / / / / /     E N D   O F   T O O L T I P   C O N F I G     / / / / / / / / / / / / / / / / / / / / / / / / 
 
 
 
 / / / / / / / / / / / / / /     T A G S   W I T H   T O O L T I P   F U N C T I O N A L I T Y     / / / / / / / / / / / / / / / / / / / / 
 / /   L i s t   m a y   b e   e x t e n d e d   o r   s h o r t e n e d : 
 v a r   t t _ t a g s   =   n e w   A r r a y ( " a " , " a r e a " , " b " , " b i g " , " c a p t i o n " , " c e n t e r " , " c o d e " , " d d " , " d i v " , " d l " , " d t " , " e m " , " h 1 " , " h 2 " , " h 3 " , " h 4 " , " h 5 " , " h 6 " , " i " , " i m g " , " i n p u t " , " l i " , " m a p " , " o l " , " p " , " p r e " , " s " ,   " s e l e c t " ,   " s m a l l " , " s p a n " , " s t r i k e " , " s t r o n g " , " s u b " , " s u p " , " t a b l e " , " t d " , " t h " , " t r " , " t t " , " u " , " v a r " , " u l " , " l a y e r " ) ; 
 / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / 
 
 
 
 / / / / / / / / /   D O N ' T   C H A N G E   A N Y T H I N G   B E L O W   T H I S   L I N E   / / / / / / / / / / / / / / / / / / / / / 
 v a r   t t _ o b j   =   n u l l ,                   / /   c u r r e n t   t o o l t i p 
 t t _ i f r m   =   n u l l ,                         / /   i f r a m e   t o   c o v e r   w i n d o w e d   c o n t r o l s   i n   I E 
 t t _ o b j W   =   0 ,   t t _ o b j H   =   0 ,     / /   w i d t h   a n d   h e i g h t   o f   t t _ o b j 
 t t _ o b j X   =   0 ,   t t _ o b j Y   =   0 , 
 t t _ o f f X   =   0 ,   t t _ o f f Y   =   0 , 
 x l i m   =   0 ,   y l i m   =   0 ,                 / /   r i g h t   a n d   b o t t o m   b o r d e r s   o f   v i s i b l e   c l i e n t   a r e a 
 t t _ s u p   =   f a l s e ,                         / /   t r u e   i f   T _ A B O V E   c m d 
 t t _ s t i c k y   =   f a l s e ,                   / /   t t _ o b j   s t i c k y ? 
 t t _ w a i t   =   f a l s e , 
 t t _ a c t   =   f a l s e ,                         / /   t o o l t i p   v i s i b i l i t y   f l a g 
 t t _ s u b   =   f a l s e ,                         / /   t r u e   w h i l e   t o o l t i p   b e l o w   m o u s e p o i n t e r 
 t t _ u   =   " u n d e f i n e d " , 
 t t _ m f   =   n u l l ,                             / /   s t o r e s   p r e v i o u s   m o u s e m o v e   e v t h a n d l e r 
 / /   O p e r a :   d i s a b l e   h r e f   w h e n   h o v e r i n g   < a > 
 t t _ t a g   =   n u l l ;                           / /   s t o r e s   h o v e r e d   d o m   n o d e ,   h r e f   a n d   p r e v i o u s   s t a t u s b a r   t x t 
 
 
 v a r   t t _ d b   =   ( d o c u m e n t . c o m p a t M o d e   & &   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 " ) ?   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 c u m e n t . b o d y ?   d o c u m e n t . b o d y   :   n u l l , 
 t t _ n   =   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 ( ) , 
 t t _ n v   =   n a v i g a t o r . a p p V e r s i o n ; 
 / /   B r o w s e r   f l a g s 
 v a r   t t _ o p   =   ! ! ( w i n d o w . o p e r a   & &   d o c u m e n t . g e t E l e m e n t B y I d ) , 
 t t _ o p 6   =   t t _ o p   & &   ! d o c u m e n t . d e f a u l t V i e w , 
 t t _ o p 7   =   t t _ o p   & &   ! t t _ o p 6 , 
 t t _ i e   =   t t _ n . i n d e x O f ( " m s i e " )   ! =   - 1   & &   d o c u m e n t . a l l   & &   t t _ d b   & &   ! t t _ o p , 
 t t _ i e 6   =   t t _ i e   & &   p a r s e F l o a t ( t t _ n v . s u b s t r i n g ( t t _ n v . i n d e x O f ( " M S I E " ) + 5 ) )   > =   5 . 5 , 
 t t _ n 4   =   ( d o c u m e n t . l a y e r s   & &   t y p e o f   d o c u m e n t . c l a s s e s   ! =   t t _ u ) , 
 t t _ n 6   =   ( ! t t _ o p   & &   d o c u m e n t . d e f a u l t V i e w   & &   t y p e o f   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   ! =   t t _ u ) , 
 t t _ w 3 c   =   ! t t _ i e   & &   ! t t _ n 6   & &   ! t t _ o p   & &   d o c u m e n t . g e t E l e m e n t B y I d ; 
 
 f u n c t i o n   t t _ I n t ( t _ x ) 
 { 
 	 v a r   t _ y ; 
 	 r e t u r n   i s N a N ( t _ y   =   p a r s e I n t ( t _ x ) ) ?   0   :   t _ y ; 
 } 
 f u n c t i o n   w z R e p l a c e ( t _ x ,   t _ y ) 
 { 
 	 v a r   t _ r e t   =   " " , 
 	 t _ s t r   =   t h i s , 
 	 t _ x I ; 
 	 w h i l e ( ( t _ x I   =   t _ s t r . i n d e x O f ( t _ x ) )   ! =   - 1 ) 
 	 { 
 	 	 t _ r e t   + =   t _ s t r . s u b s t r i n g ( 0 ,   t _ x I )   +   t _ y ; 
 	 	 t _ s t r   =   t _ s t r . s u b s t r i n g ( t _ x I   +   t _ x . l e n g t h ) ; 
 	 } 
 	 r e t u r n   t _ r e t + t _ s t r ; 
 } 
 S t r i n g . p r o t o t y p e . w z R e p l a c e   =   w z R e p l a c e ; 
 f u n c t i o n   t t _ N 4 T a g s ( t a g t y p ,   t _ d ,   t _ y ) 
 { 
 	 t _ d   =   t _ d   | |   d o c u m e n t ; 
 	 t _ y   =   t _ y   | |   n e w   A r r a y ( ) ; 
 	 v a r   t _ x   =   ( t a g t y p = = " a " ) ?   t _ d . l i n k s   :   t _ d . l a y e r s ; 
 	 f o r ( v a r   z   =   t _ x . l e n g t h ;   z - - ; )   t _ y [ t _ y . l e n g t h ]   =   t _ x [ z ] ; 
 	 f o r ( z   =   t _ d . l a y e r s . l e n g t h ;   z - - ; )   t _ y   =   t t _ N 4 T a g s ( t a g t y p ,   t _ d . l a y e r s [ z ] . d o c u m e n t ,   t _ y ) ; 
 	 r e t u r n   t _ y ; 
 } 
 f u n c t i o n   t t _ H t m ( t t ,   t _ i d ,   t x t ) 
 { 
 	 v a r   t _ b g c   =   ( t y p e o f   t t . T _ B G C O L O R   ! =   t t _ u ) ?   t t . T _ B G C O L O R   :   t t B g C o l o r , 
 	 t _ b g i m g       =   ( t y p e o f   t t . T _ B G I M G   ! =   t t _ u ) ?   t t . T _ B G I M G   :   t t B g I m g , 
 	 t _ b c             =   ( t y p e o f   t t . T _ B O R D E R C O L O R   ! =   t t _ u ) ?   t t . T _ B O R D E R C O L O R   :   t t B o r d e r C o l o r , 
 	 t _ b w             =   ( t y p e o f   t t . T _ B O R D E R W I D T H   ! =   t t _ u ) ?   t t . T _ B O R D E R W I D T H   :   t t B o r d e r W i d t h , 
 	 t _ f f             =   ( t y p e o f   t t . T _ F O N T F A C E   ! =   t t _ u ) ?   t t . T _ F O N T F A C E   :   t t F o n t F a c e , 
 	 t _ f c             =   ( t y p e o f   t t . T _ F O N T C O L O R   ! =   t t _ u ) ?   t t . T _ F O N T C O L O R   :   t t F o n t C o l o r , 
 	 t _ f s z           =   ( t y p e o f   t t . T _ F O N T S I Z E   ! =   t t _ u ) ?   t t . T _ F O N T S I Z E   :   t t F o n t S i z e , 
 	 t _ f w g h t       =   ( t y p e o f   t t . T _ F O N T W E I G H T   ! =   t t _ u ) ?   t t . T _ F O N T W E I G H T   :   t t F o n t W e i g h t , 
 	 t _ o p a           =   ( t y p e o f   t t . T _ O P A C I T Y   ! =   t t _ u ) ?   t t . T _ O P A C I T Y   :   t t O p a c i t y , 
 	 t _ p a d d         =   ( t y p e o f   t t . T _ P A D D I N G   ! =   t t _ u ) ?   t t . T _ P A D D I N G   :   t t P a d d i n g , 
 	 t _ s h c           =   ( t y p e o f   t t . T _ S H A D O W C O L O R   ! =   t t _ u ) ?   t t . T _ S H A D O W C O L O R   :   ( t t S h a d o w C o l o r   | |   0 ) , 
 	 t _ s h w           =   ( t y p e o f   t t . T _ S H A D O W W I D T H   ! =   t t _ u ) ?   t t . T _ S H A D O W W I D T H   :   ( t t S h a d o w W i d t h   | |   0 ) , 
 	 t _ a l g n         =   ( t y p e o f   t t . T _ T E X T A L I G N   ! =   t t _ u ) ?   t t . T _ T E X T A L I G N   :   t t T e x t A l i g n , 
 	 t _ t i t           =   ( t y p e o f   t t . T _ T I T L E   ! =   t t _ u ) ?   t t . T _ T I T L E   :   " " , 
 	 t _ t i t c         =   ( t y p e o f   t t . T _ T I T L E C O L O R   ! =   t t _ u ) ?   t t . T _ T I T L E C O L O R   :   t t T i t l e C o l o r , 
 	 t _ w               =   ( t y p e o f   t t . T _ W I D T H   ! =   t t _ u ) ?   t t . T _ W I D T H     :   t t . T _ W I D T H ; / / t t W i d t h ; 
 	 i f ( t _ s h c   | |   t _ s h w ) 
 	 { 
 	 	 t _ s h c   =   t _ s h c   | |   " # c c c c c c " ; 
 	 	 t _ s h w   =   t _ s h w   | |   5 ; 
 	 } 
 	 i f ( t t _ n 4   & &   ( t _ f s z   = =   " 1 0 p x "   | |   t _ f s z   = =   " 1 1 p x " ) )   t _ f s z   =   " 1 2 p x " ; 
 
 	 v a r   t _ o p t x   =   ( t t _ n 4 ?   ' '   :   t t _ n 6 ?   ( ' - m o z - o p a c i t y : ' + ( t _ o p a / 1 0 0 . 0 ) )   :   t t _ i e ?   ( ' f i l t e r : A l p h a ( o p a c i t y = ' + t _ o p a + ' ) ' )   :   ( ' o p a c i t y : ' + ( t _ o p a / 1 0 0 . 0 ) ) )   +   ' ; ' ; 
 	 v a r   t _ y   =   ' < d i v   i d = " ' + t _ i d + ' "   s t y l e = " p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 1 0 ; ' ; 
 	 t _ y   + =   ' l e f t : 0 p x ; t o p : 0 p x ; w i d t h : ' + ( t _ w + t _ s h w ) + ' p x ; v i s i b i l i t y : ' + ( t t _ n 4 ?   ' h i d e '   :   ' h i d d e n ' ) + ' ; ' + t _ o p t x + ' " > '   + 
 	 	 ' < t a b l e   b o r d e r = " 0 "   c e l l p a d d i n g = " 0 "   c e l l s p a c i n g = " 0 " ' + ( t _ b c ?   ( '   b g c o l o r = " ' + t _ b c + ' "   s t y l e = " b a c k g r o u n d : ' + t _ b c + ' ; " ' )   :   ' ' ) + '   w i d t h = " ' + t _ w + ' " > ' ; 
 	 i f ( t _ t i t ) 
 	 { 
 	 	 t _ y   + =   ' < t r > < t d   s t y l e = " p a d d i n g - l e f t : 3 p x ; p a d d i n g - r i g h t : 3 p x ; "   a l i g n = " ' + t _ a l g n + ' " > < f o n t   c o l o r = " ' + t _ t i t c + ' "   f a c e = " ' + t _ f f + ' "   '   + 
 	 	 	 ' s t y l e = " c o l o r : ' + t _ t i t c + ' ; f o n t - f a m i l y : ' + t _ f f + ' ; f o n t - s i z e : ' + t _ f s z + ' ; " > < b > '   + 
 	 	 	 ( t t _ n 4 ?   ' & n b s p ; '   :   ' ' ) + t _ t i t + ' < / b > < / f o n t > < / t d > < / t r > ' ; 
 	 } 
 	 t _ y   + =   ' < t r > < t d > < t a b l e   b o r d e r = " 0 "   c e l l p a d d i n g = " ' + t _ p a d d + ' "   c e l l s p a c i n g = " ' + t _ b w + ' "   w i d t h = " 1 0 0 % " > '   + 
 	 	 ' < t r > < t d ' + ( t _ b g c ?   ( '   b g c o l o r = " ' + t _ b g c + ' " ' )   :   ' ' ) + ( t _ b g i m g ?   '   b a c k g r o u n d = " ' + t _ b g i m g + ' " '   :   ' ' ) + '   s t y l e = " t e x t - a l i g n : ' + t _ a l g n + ' ; ' ; 
 	 i f ( t t _ n 6 )   t _ y   + =   ' p a d d i n g : ' + t _ p a d d + ' p x ; ' ; 
 	 t _ y   + =   ' "   a l i g n = " ' + t _ a l g n + ' " > < f o n t   c o l o r = " ' + t _ f c + ' "   f a c e = " ' + t _ f f + ' " '   + 
 	 	 '   s t y l e = " c o l o r : ' + t _ f c + ' ; f o n t - f a m i l y : ' + t _ f f + ' ; f o n t - s i z e : ' + t _ f s z + ' ; f o n t - w e i g h t : ' + t _ f w g h t + ' ; " > ' ; 
 	 i f ( t _ f w g h t   = =   ' b o l d ' )   t _ y   + =   ' < b > ' ; 
 	 t _ y   + =   t x t ; 
 	 i f ( t _ f w g h t   = =   ' b o l d ' )   t _ y   + =   ' < / b > ' ; 
 	 t _ y   + =   ' < / f o n t > < / t d > < / t r > < / t a b l e > < / t d > < / t r > < / t a b l e > ' ; 
 	 i f ( t _ s h w ) 
 	 { 
 	 	 v a r   t _ s p c t   =   M a t h . r o u n d ( t _ s h w * 1 . 3 ) ; 
 	 	 i f ( t t _ n 4 ) 
 	 	 { 
 	 	 	 t _ y   + =   ' < l a y e r   b g c o l o r = " ' + t _ s h c + ' "   l e f t = " ' + t _ w + ' "   t o p = " ' + t _ s p c t + ' "   w i d t h = " ' + t _ s h w + ' "   h e i g h t = " 0 " > < / l a y e r > '   + 
 	 	 	 	 ' < l a y e r   b g c o l o r = " ' + t _ s h c + ' "   l e f t = " ' + t _ s p c t + ' "   a l i g n = " b o t t o m "   w i d t h = " ' + ( t _ w - t _ s p c t ) + ' "   h e i g h t = " ' + t _ s h w + ' " > < / l a y e r > ' ; 
 	 	 } 
 	 	 e l s e 
 	 	 { 
 	 	 	 t _ o p t x   =   t t _ n 6 ?   ' - m o z - o p a c i t y : 0 . 8 5 ; '   :   t t _ i e ?   ' f i l t e r : A l p h a ( o p a c i t y = 8 5 ) ; '   :   ' o p a c i t y : 0 . 8 5 ; ' ; 
 	 	 	 t _ y   + =   ' < d i v   i d = " ' + t _ i d + ' R "   s t y l e = " p o s i t i o n : a b s o l u t e ; b a c k g r o u n d : ' + t _ s h c + ' ; l e f t : ' + t _ w + ' p x ; t o p : ' + t _ s p c t + ' p x ; w i d t h : ' + t _ s h w + ' p x ; h e i g h t : 1 p x ; o v e r f l o w : h i d d e n ; ' + t _ o p t x + ' " > < / d i v > '   + 
 	 	 	 	 ' < d i v   s t y l e = " p o s i t i o n : r e l a t i v e ; b a c k g r o u n d : ' + t _ s h c + ' ; l e f t : ' + t _ s p c t + ' p x ; t o p : 0 p x ; w i d t h : ' + ( t _ w - t _ s p c t ) + ' p x ; h e i g h t : ' + t _ s h w + ' p x ; o v e r f l o w : h i d d e n ; ' + t _ o p t x + ' " > < / d i v > ' ; 
 	 	 } 
 	 } 
 	 r e t u r n ( t _ y + ' < / d i v > '   + 
 	 	 ( t t _ i e 6   ?   ' < i f r a m e   i d = " T T i E i F r M "   s r c = " j a v a s c r i p t : f a l s e "   s c r o l l i n g = " n o "   f r a m e b o r d e r = " 0 "   s t y l e = " f i l t e r : A l p h a ( o p a c i t y = 0 ) ; p o s i t i o n : a b s o l u t e ; t o p : 0 p x ; l e f t : 0 p x ; d i s p l a y : n o n e ; " > < / i f r a m e > '   :   ' ' ) ) ; 
 } 
 f u n c t i o n   t t _ E v X ( t _ e ) 
 { 
 	 v a r   t _ y   =   t t _ I n t ( t _ e . p a g e X   | |   t _ e . c l i e n t X   | |   0 )   + 
 	 	 t t _ I n t ( t t _ i e ?   t t _ d b . s c r o l l L e f t   :   0 )   + 
 	 	 t t _ o f f X ; 
 	 i f ( t _ y   >   x l i m )   t _ y   =   x l i m ; 
 	 v a r   t _ s c r   =   t t _ I n t ( w i n d o w . p a g e X O f f s e t   | |   ( t t _ d b ?   t t _ d b . s c r o l l L e f t   :   0 )   | |   0 ) ; 
 	 i f ( t _ y   <   t _ s c r )   t _ y   =   t _ s c r ; 
 	 r e t u r n   t _ y ; 
 } 
 f u n c t i o n   t t _ E v Y ( t _ e ) 
 { 
 	 v a r   t _ y   =   t t _ I n t ( t _ e . p a g e Y   | |   t _ e . c l i e n t Y   | |   0 )   + 
 	 	 t t _ I n t ( t t _ i e ?   t t _ d b . s c r o l l T o p   :   0 ) ; 
 	 i f ( t t _ s u p )   t _ y   - =   ( t t _ o b j H   +   t t _ o f f Y   -   1 5 ) ; 
 	 e l s e   i f ( t _ y   >   y l i m   | |   ! t t _ s u b   & &   t _ y   >   y l i m - 2 4 ) 
 	 { 
 	 	 t _ y   - =   ( t t _ o b j H   +   5 ) ; 
 	 	 t t _ s u b   =   f a l s e ; 
 	 } 
 	 e l s e 
 	 { 
 	 	 t _ y   + =   t t _ o f f Y ; 
 	 	 t t _ s u b   =   t r u e ; 
 	 } 
 	 r e t u r n   t _ y ; 
 } 
 f u n c t i o n   t t _ R e l e a s M o v ( ) 
 { 
 	 i f ( d o c u m e n t . o n m o u s e m o v e   = =   t t _ M o v e ) 
 	 { 
 	 	 i f ( ! t t _ m f   & &   d o c u m e n t . r e l e a s e E v e n t s )   d o c u m e n t . r e l e a s e E v e n t s ( E v e n t . M O U S E M O V E ) ; 
 	 	 d o c u m e n t . o n m o u s e m o v e   =   t t _ m f ; 
 	 } 
 } 
 f u n c t i o n   t t _ S h o w I f r m ( t _ x ) 
 { 
 	 i f ( ! t t _ o b j   | |   ! t t _ i f r m )   r e t u r n ; 
 	 i f ( t _ x ) 
 	 { 
 	 	 t t _ i f r m . s t y l e . w i d t h   =   t t _ o b j W + ' p x ' ; 
 	 	 t t _ i f r m . s t y l e . h e i g h t   =   t t _ o b j H + ' p x ' ; 
 	 	 t t _ i f r m . s t y l e . d i s p l a y   =   " b l o c k " ; 
 	 } 
 	 e l s e   t t _ i f r m . s t y l e . d i s p l a y   =   " n o n e " ; 
 } 
 f u n c t i o n   t t _ G e t D i v ( t _ i d ) 
 { 
 	 r e t u r n ( 
 	 	 t t _ n 4 ?   ( d o c u m e n t . l a y e r s [ t _ i d ]   | |   n u l l ) 
 	 	 :   t t _ i e ?   ( d o c u m e n t . a l l [ t _ i d ]   | |   n u l l ) 
 	 	 :   ( d o c u m e n t . g e t E l e m e n t B y I d ( t _ i d )   | |   n u l l ) 
 	 ) ; 
 } 
 f u n c t i o n   t t _ G e t D i v W ( ) 
 { 
 	 r e t u r n   t t _ I n t ( 
 	 	 t t _ n 4 ?   t t _ o b j . c l i p . w i d t h 
 	 	 :   ( t t _ o b j . s t y l e . p i x e l W i d t h   | |   t t _ o b j . o f f s e t W i d t h ) 
 	 ) ; 
 } 
 f u n c t i o n   t t _ G e t D i v H ( ) 
 { 
 	 r e t u r n   t t _ I n t ( 
 	 	 t t _ n 4 ?   t t _ o b j . c l i p . h e i g h t 
 	 	 :   ( t t _ o b j . s t y l e . p i x e l H e i g h t   | |   t t _ o b j . o f f s e t H e i g h t ) 
 	 ) ; 
 } 
 
 / /   C o m p a t   w i t h   D r a g D r o p   L i b :   E n s u r e   t h a t   z - i n d e x   o f   t o o l t i p   i s   l i f t e d   b e y o n d   t o p l e v e l   d r a g d r o p   e l e m e n t 
 f u n c t i o n   t t _ S e t D i v Z ( ) 
 { 
 	 v a r   t _ i   =   t t _ o b j . s t y l e   | |   t t _ o b j ; 
 	 i f ( t _ i ) 
 	 { 
 	 	 i f ( w i n d o w . d d   & &   d d . z ) 
 	 	 	 t _ i . z I n d e x   =   M a t h . m a x ( d d . z + 1 ,   t _ i . z I n d e x ) ; 
 	 	 i f ( t t _ i f r m )   t t _ i f r m . s t y l e . z I n d e x   =   t _ i . z I n d e x - 1 ; 
 	 } 
 } 
 f u n c t i o n   t t _ S e t D i v P o s ( t _ x ,   t _ y ) 
 { 
 	 v a r   t _ i   =   t t _ o b j . s t y l e   | |   t t _ o b j ; 
 	 v a r   t _ p x   =   ( t t _ o p 6   | |   t t _ n 4 ) ?   ' '   :   ' p x ' ; 
 	 t _ i . l e f t   =   ( t t _ o b j X   =   t _ x )   +   t _ p x ; 
 	 t _ i . t o p   =   ( t t _ o b j Y   =   t _ y )   +   t _ p x ; 
 	 i f ( t t _ i f r m ) 
 	 { 
 	 	 t t _ i f r m . s t y l e . l e f t   =   t _ i . l e f t ; 
 	 	 t t _ i f r m . s t y l e . t o p   =   t _ i . t o p ; 
 	 } 
 } 
 f u n c t i o n   t t _ S h o w D i v ( t _ x ) 
 { 
 	 t t _ S h o w I f r m ( t _ x ) ; 
 	 i f ( t t _ n 4 )   t t _ o b j . v i s i b i l i t y   =   t _ x ?   ' s h o w '   :   ' h i d e ' ; 
 	 e l s e   t t _ o b j . s t y l e . v i s i b i l i t y   =   t _ x ?   ' v i s i b l e '   :   ' h i d d e n ' ; 
 	 t t _ a c t   =   t _ x ; 
 } 
 f u n c t i o n   t t _ O p D e H r e f ( t _ e ) 
 { 
 	 v a r   t _ t a g ; 
 	 i f ( t _ e ) 
 	 { 
 	 	 t _ t a g   =   t _ e . t a r g e t ; 
 	 	 w h i l e ( t _ t a g ) 
 	 	 { 
 	 	 	 i f ( t _ t a g . h a s A t t r i b u t e ( " h r e f " ) ) 
 	 	 	 { 
 	 	 	 	 t t _ t a g   =   t _ t a g 
 	 	 	 	 t t _ t a g . t _ h r e f   =   t t _ t a g . g e t A t t r i b u t e ( " h r e f " ) ; 
 	 	 	 	 t t _ t a g . r e m o v e A t t r i b u t e ( " h r e f " ) ; 
 	 	 	 	 t t _ t a g . s t y l e . c u r s o r   =   " h a n d " ; 
 	 	 	 	 t t _ t a g . o n m o u s e d o w n   =   t t _ O p R e H r e f ; 
 	 	 	 	 t t _ t a g . s t a t s   =   w i n d o w . s t a t u s ; 
 	 	 	 	 w i n d o w . s t a t u s   =   t t _ t a g . t _ h r e f ; 
 	 	 	 	 b r e a k ; 
 	 	 	 } 
 	 	 	 t _ t a g   =   t _ t a g . p a r e n t E l e m e n t ; 
 	 	 } 
 	 } 
 } 
 f u n c t i o n   t t _ O p R e H r e f ( ) 
 { 
 	 i f ( t t _ t a g ) 
 	 { 
 	 	 t t _ t a g . s e t A t t r i b u t e ( " h r e f " ,   t t _ t a g . t _ h r e f ) ; 
 	 	 w i n d o w . s t a t u s   =   t t _ t a g . s t a t s ; 
 	 	 t t _ t a g   =   n u l l ; 
 	 } 
 } 
 f u n c t i o n   t t _ S h o w ( t _ e ,   t _ i d ,   t _ s u p ,   t _ d e l a y ,   t _ f i x ,   t _ l e f t ,   t _ o f f x ,   t _ o f f y ,   t _ s t a t i c ,   t _ s t i c k y ,   t _ t e m p ) 
 { 
 	 i f ( t t _ o b j )   t t _ H i d e ( ) ; 
 	 t t _ m f   =   d o c u m e n t . o n m o u s e m o v e   | |   n u l l ; 
 	 i f ( w i n d o w . d d   & &   ( w i n d o w . D R A G   & &   t t _ m f   = =   D R A G   | |   w i n d o w . R E S I Z E   & &   t t _ m f   = =   R E S I Z E ) )   r e t u r n ; 
 	 v a r   t _ s h ,   t _ h ; 
 
 	 t t _ o b j   =   t t _ G e t D i v ( t _ i d ) ; 
 	 i f ( t t _ o b j ) 
 	 { 
 	 	 t _ e   =   t _ e   | |   w i n d o w . e v e n t ; 
 	 	 t t _ s u b   =   ! ( t t _ s u p   =   t _ s u p ) ; 
 	 	 t t _ s t i c k y   =   t _ s t i c k y ; 
 	 	 t t _ o b j W   =   t t _ G e t D i v W ( ) ; 
 	 	 t t _ o b j H   =   t t _ G e t D i v H ( ) ; 
 	 	 t t _ o f f X   =   t _ l e f t ?   - ( t t _ o b j W + t _ o f f x )   :   t _ o f f x ; 
 	 	 t t _ o f f Y   =   t _ o f f y ; 
 	 	 i f ( t t _ o p 7 )   t t _ O p D e H r e f ( t _ e ) ; 
 	 	 i f ( t t _ n 4 ) 
 	 	 { 
 	 	 	 i f ( t t _ o b j . d o c u m e n t . l a y e r s . l e n g t h ) 
 	 	 	 { 
 	 	 	 	 t _ s h   =   t t _ o b j . d o c u m e n t . l a y e r s [ 0 ] ; 
 	 	 	 	 t _ s h . c l i p . h e i g h t   =   t t _ o b j H   -   M a t h . r o u n d ( t _ s h . c l i p . w i d t h * 1 . 3 ) ; 
 	 	 	 } 
 	 	 } 
 	 	 e l s e 
 	 	 { 
 	 	 	 t _ s h   =   t t _ G e t D i v ( t _ i d + ' R ' ) ; 
 	 	 	 i f ( t _ s h ) 
 	 	 	 { 
 	 	 	 	 t _ h   =   t t _ o b j H   -   t t _ I n t ( t _ s h . s t y l e . p i x e l T o p   | |   t _ s h . s t y l e . t o p   | |   0 ) ; 
 	 	 	 	 i f ( t y p e o f   t _ s h . s t y l e . p i x e l H e i g h t   ! =   t t _ u )   t _ s h . s t y l e . p i x e l H e i g h t   =   t _ h ; 
 	 	 	 	 e l s e   t _ s h . s t y l e . h e i g h t   =   t _ h + ' p x ' ; 
 	 	 	 } 
 	 	 } 
 
 	 	 x l i m   =   t t _ I n t ( ( t t _ d b   & &   t t _ d b . c l i e n t W i d t h ) ?   t t _ d b . c l i e n t W i d t h   :   w i n d o w . i n n e r W i d t h )   + 
 	 	 	 t t _ I n t ( w i n d o w . p a g e X O f f s e t   | |   ( t t _ d b ?   t t _ d b . s c r o l l L e f t   :   0 )   | |   0 )   - 
 	 	 	 t t _ o b j W   - 
 	 	 	 ( t t _ n 4 ?   2 1   :   0 ) ; 
 	 	 y l i m   =   t t _ I n t ( w i n d o w . i n n e r H e i g h t   | |   t t _ d b . c l i e n t H e i g h t )   + 
 	 	 	 t t _ I n t ( w i n d o w . p a g e Y O f f s e t   | |   ( t t _ d b ?   t t _ d b . s c r o l l T o p   :   0 )   | |   0 )   - 
 	 	 	 t t _ o b j H   -   t t _ o f f Y ; 
 
 	 	 t t _ S e t D i v Z ( ) ; 
 	 	 i f ( t _ f i x )   t t _ S e t D i v P o s ( t t _ I n t ( ( t _ f i x   =   t _ f i x . s p l i t ( ' , ' ) ) [ 0 ] ) ,   t t _ I n t ( t _ f i x [ 1 ] ) ) ; 
 	 	 e l s e   t t _ S e t D i v P o s ( t t _ E v X ( t _ e ) ,   t t _ E v Y ( t _ e ) ) ; 
 
 	 	 v a r   t _ t x t   =   ' t t _ S h o w D i v ( \ ' t r u e \ ' ) ; ' ; 
 	 	 i f ( t _ s t i c k y )   t _ t x t   + =   ' { ' + 
 	 	 	 	 ' t t _ R e l e a s M o v ( ) ; ' + 
 	 	 	 	 ' w i n d o w . t t _ u p F u n c   =   d o c u m e n t . o n m o u s e u p   | |   n u l l ; ' + 
 	 	 	 	 ' i f ( d o c u m e n t . c a p t u r e E v e n t s )   d o c u m e n t . c a p t u r e E v e n t s ( E v e n t . M O U S E U P ) ; ' + 
 	 	 	 	 ' d o c u m e n t . o n m o u s e u p   =   n e w   F u n c t i o n ( " w i n d o w . s e t T i m e o u t ( \ ' t t _ H i d e ( ) ; \ ' ,   1 0 ) ; " ) ; ' + 
 	 	 	 ' } ' ; 
 	 	 e l s e   i f ( t _ s t a t i c )   t _ t x t   + =   ' t t _ R e l e a s M o v ( ) ; ' ; 
 	 	 i f ( t _ t e m p   >   0 )   t _ t x t   + =   ' w i n d o w . t t _ r t m   =   w i n d o w . s e t T i m e o u t ( \ ' t t _ s t i c k y   =   f a l s e ;   t t _ H i d e ( ) ; \ ' , ' + t _ t e m p + ' ) ; ' ; 
 	 	 w i n d o w . t t _ r d l   =   w i n d o w . s e t T i m e o u t ( t _ t x t ,   t _ d e l a y ) ; 
 
 	 	 i f ( ! t _ f i x ) 
 	 	 { 
 	 	 	 i f ( d o c u m e n t . c a p t u r e E v e n t s )   d o c u m e n t . c a p t u r e E v e n t s ( E v e n t . M O U S E M O V E ) ; 
 	 	 	 d o c u m e n t . o n m o u s e m o v e   =   t t _ M o v e ; 
 	 	 } 
 	 } 
 } 
 v a r   t t _ a r e a   =   f a l s e ; 
 f u n c t i o n   t t _ M o v e ( t _ e v ) 
 { 
 	 i f ( ! t t _ o b j )   r e t u r n ; 
 	 i f ( t t _ n 6   | |   t t _ w 3 c ) 
 	 { 
 	 	 i f ( t t _ w a i t )   r e t u r n ; 
 	 	 t t _ w a i t   =   t r u e ; 
 	 	 s e t T i m e o u t ( ' t t _ w a i t   =   f a l s e ; ' ,   5 ) ; 
 	 } 
 	 v a r   t _ e   =   t _ e v   | |   w i n d o w . e v e n t ; 
 	 t t _ S e t D i v P o s ( t t _ E v X ( t _ e ) ,   t t _ E v Y ( t _ e ) ) ; 
 	 i f ( t t _ o p 6 ) 
 	 { 
 	 	 i f ( t t _ a r e a   & &   t _ e . t a r g e t . t a g N a m e   ! =   ' A R E A ' )   t t _ H i d e ( ) ; 
 	 	 e l s e   i f ( t _ e . t a r g e t . t a g N a m e   = =   ' A R E A ' )   t t _ a r e a   =   t r u e ; 
 	 } 
 } 
 f u n c t i o n   t t _ H i d e ( ) 
 { 
 	 i f ( w i n d o w . t t _ o b j ) 
 	 { 
 	 	 i f ( w i n d o w . t t _ r d l )   w i n d o w . c l e a r T i m e o u t ( t t _ r d l ) ; 
 	 	 i f ( ! t t _ s t i c k y   | |   ! t t _ a c t ) 
 	 	 { 
 	 	 	 i f ( w i n d o w . t t _ r t m )   w i n d o w . c l e a r T i m e o u t ( t t _ r t m ) ; 
 	 	 	 t t _ S h o w D i v ( f a l s e ) ; 
 	 	 	 t t _ S e t D i v P o s ( - t t _ o b j W ,   - t t _ o b j H ) ; 
 	 	 	 t t _ o b j   =   n u l l ; 
 	 	 	 i f ( t y p e o f   w i n d o w . t t _ u p F u n c   ! =   t t _ u )   d o c u m e n t . o n m o u s e u p   =   w i n d o w . t t _ u p F u n c ; 
 	 	 } 
 	 	 t t _ s t i c k y   =   f a l s e ; 
 	 	 i f ( t t _ o p 6   & &   t t _ a r e a )   t t _ a r e a   =   f a l s e ; 
 	 	 t t _ R e l e a s M o v ( ) ; 
 	 	 i f ( t t _ o p 7 )   t t _ O p R e H r e f ( ) ; 
 	 } 
 } 
 f u n c t i o n   t t _ I n i t ( ) 
 { 
 	 i f ( ! ( t t _ o p   | |   t t _ n 4   | |   t t _ n 6   | |   t t _ i e   | |   t t _ w 3 c ) )   r e t u r n ; 
 
 	 v a r   h t m   =   t t _ n 4 ?   ' < d i v   s t y l e = " p o s i t i o n : a b s o l u t e ; " > < / d i v > '   :   ' ' , 
 	 t a g s , 
 	 t _ t j , 
 	 o v e r , 
 	 e s c   =   ' r e t u r n   e s c a p e ( ' ; 
 	 v a r   i   =   t t _ t a g s . l e n g t h ;   w h i l e ( i - - ) 
 	 { 
 	 	 t a g s   =   t t _ i e ?   ( d o c u m e n t . a l l . t a g s ( t t _ t a g s [ i ] )   | |   1 ) 
 	 	 	 :   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 ?   ( 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 t _ t a g s [ i ] )   | |   1 ) 
 	 	 	 :   ( ! t t _ n 4   & &   t t _ t a g s [ i ] = = " a " ) ?   d o c u m e n t . l i n k s 
 	 	 	 :   1 ; 
 	 	 i f ( t t _ n 4   & &   ( t t _ t a g s [ i ]   = =   " a "   | |   t t _ t a g s [ i ]   = =   " l a y e r " ) )   t a g s   =   t t _ N 4 T a g s ( t t _ t a g s [ i ] ) ; 
 	 	 v a r   j   =   t a g s . l e n g t h ;   w h i l e ( j - - ) 
 	 	 { 
 	 	 	 i f ( t y p e o f   ( t _ t j   =   t a g s [ j ] ) . o n m o u s e o v e r   = =   " f u n c t i o n "   & &   t _ t j . o n m o u s e o v e r . t o S t r i n g ( ) . i n d e x O f ( e s c )   ! =   - 1   & &   ! t t _ n 6   | |   t t _ n 6   & &   ( o v e r   =   t _ t j . g e t A t t r i b u t e ( " o n m o u s e o v e r " ) )   & &   o v e r . i n d e x O f ( e s c )   ! =   - 1 ) 
 	 	 	 { 
 	 	 	 	 i f ( o v e r )   t _ t j . o n m o u s e o v e r   =   n e w   F u n c t i o n ( o v e r ) ; 
 	 	 	 	 v a r   t x t   =   u n e s c a p e ( t _ t j . o n m o u s e o v e r ( ) ) ; 
 	 	 	 	 h t m   + =   t t _ H t m ( 
 	 	 	 	 	 t _ t j , 
 	 	 	 	 	 " t O o L t I p " + i + " " + j , 
 	 	 	 	 	 t x t . w z R e p l a c e ( " &   " , " & " ) 
 	 	 	 	 ) ; 
 
 	 	 	 	 t _ t j . o n m o u s e o v e r   =   n e w   F u n c t i o n ( ' e ' , 
 	 	 	 	 	 ' t t _ S h o w ( e , ' + 
 	 	 	 	 	 ' " t O o L t I p '   + i + ' ' + j +   ' " , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ A B O V E   ! =   t t _ u ) ?   t _ t j . T _ A B O V E   :   t t A b o v e ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ D E L A Y   ! =   t t _ u ) ?   t _ t j . T _ D E L A Y   :   t t D e l a y ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ F I X   ! =   t t _ u ) ?   ' " ' + t _ t j . T _ F I X + ' " '   :   ' " " ' ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ L E F T   ! =   t t _ u ) ?   t _ t j . T _ L E F T   :   t t L e f t ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ O F F S E T X   ! =   t t _ u ) ?   t _ t j . T _ O F F S E T X   :   t t O f f s e t X ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ O F F S E T Y   ! =   t t _ u ) ?   t _ t j . T _ O F F S E T Y   :   t t O f f s e t Y ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ S T A T I C   ! =   t t _ u ) ?   t _ t j . T _ S T A T I C   :   t t S t a t i c ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ S T I C K Y   ! =   t t _ u ) ?   t _ t j . T _ S T I C K Y   :   t t S t i c k y ) + ' , ' + 
 	 	 	 	 	 ( ( t y p e o f   t _ t j . T _ T E M P   ! =   t t _ u ) ?   t _ t j . T _ T E M P   :   t t T e m p ) + 
 	 	 	 	 	 ' ) ; ' 
 	 	 	 	 ) ; 
 	 	 	 	 t _ t j . o n m o u s e o u t   =   t t _ H i d e ; 
 	 	 	 	 i f ( t _ t j . a l t )   t _ t j . a l t   =   " " ; 
 	 	 	 	 i f ( t _ t j . t i t l e )   t _ t j . t i t l e   =   " " ; 
 	 	 	 } 
 	 	 } 
 	 } 
 	 d o c u m e n t . w r i t e ( h t m ) ; 
 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d )   t t _ i f r m   =   d o c u m e n t . g e t E l e m e n t B y I d ( " T T i E i F r M " ) ; 
 } 
 t t _ I n i t ( ) ; 
 
