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