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