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

