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