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