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