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