ÿþf u n c t i o n   s p c ( a , b , c )   {  
 	 t   =  
 	 ( c   = =   " t " ) ? " s " :  
 	 ( c   = =   " b " ) ? " s b " :  
 	 ( c   = =   " 0 " ) ? " " :  
 	 " " ;  
 	 d o c u m e n t . w r i t e ( ' < i m g   s r c = " / c h i n e s e h i s t o r y / i m a g e s / ' + ( t ) ) ;  
 	 d o c u m e n t . w r i t e ( ' . g i f "   w i d t h = " ' ) ;  
 	 d o c u m e n t . w r i t e ( ( a ) ) ;  
 	 d o c u m e n t . w r i t e ( ' "   h e i g h t = " ' ) ;  
 	 d o c u m e n t . w r i t e ( ( b ) ) ;  
 	 d o c u m e n t . w r i t e ( ' " > ' ) ;  
 } ;  
  
 f u n c t i o n   p e r l n k ( )   {  
 	 d o c u m e n t . w r i t e ( " < a   c l a s s = ' c o n t e n t s '   h r e f = ' # '   o n c l i c k = ' r e t u r n D o c u m e n t ( ) ; r e t u r n   t r u e ; ' > " ) ;  
 	 d o c u m e n t . w r i t e ( d o c u m e n t . t i t l e ) ;  
 	 d o c u m e n t . w r i t e ( " < / a > " ) ;  
 } ;  
  
 f u n c t i o n   i m g l o c ( )   { d o c u m e n t . w r i t e ( ' / c h i n e s e a r t / i m a g e s / ' ) } ;  
  
 f u n c t i o n   s e e ( d )   {  
 	 i f   ( d   = =   " s e e a " )   { d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > ' ) }  
 	 i f   ( d   = =   " s e e b " )   { d o c u m e n t . w r i t e ( [ h r ( ) ] + ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > ' ) }  
 	 i f   ( d   = =   " s e e e " )   { d o c u m e n t . w r i t e ( ' < / u l > < / p > ' ) }  
 } ;  
  
 f u n c t i o n   i m g n a v b u t ( )   {  
 d o c u m e n t . w r i t e ( ' < t a b l e > < t r > < t d   v a l i g n = " m i d d l e "   s t y l e = " p a d d i n g - r i g h t :   3 0 p x ; " > S l i d e s h o w :   < a   h r e f = " j a v a s c r i p t : v o i d ( e n a b l e S l i d e M o d e ( 5 ) ) ; "   c l a s s = " c o n t " > O n < / a >   /   < a   h r e f = " j a v a s c r i p t : v o i d ( d i s a b l e S l i d e M o d e ( ) ) ; "   c l a s s = " c o n t " > O f f < / a > < / t d > < t d   s t y l e = " b o r d e r - l e f t :   1 p x   d o t t e d   # 0 0 0 ;   p a d d i n g - l e f t :   3 0 p x ; " > < a   h r e f = " j a v a s c r i p t : v o i d ( s h o w F i r s t ( ) ) ; " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e h i s t o r y / i m a g e s / n a f i . p n g "   a l t = " F i r s t " > < / a > & n b s p ;   < a   h r e f = " j a v a s c r i p t : v o i d ( s h o w P r e v i o u s ( ) ) ; " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e h i s t o r y / i m a g e s / n a p r . p n g "   a l t = " P r e v i o u s " > < / a > & n b s p ;   < a   h r e f = " j a v a s c r i p t : v o i d ( s h o w N e x t ( ) ) ; " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e h i s t o r y / i m a g e s / n a n e . p n g "   a l t = " N e x t " > < / a > & n b s p ;   < a   h r e f = " j a v a s c r i p t : v o i d ( s h o w L a s t ( ) ) ; " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e h i s t o r y / i m a g e s / n a l a . p n g "   a l t = " F i r s t " > < / a > < / t d > < / t r > < / t a b l e > ' ) ;  
 } ;  
  
  
 f u n c t i o n   l i n e ( )   {  
 d o c u m e n t . w r i t e ( ' < i m g   s r c = " ' ) + [ i m g l o c ( ) ]  
 d o c u m e n t . w r i t e ( ' l i n e . g i f "   w i d t h = " 1 0 0 % "   a l t = " l i n e "   h e i g h t = " 6 " > ' ) } ;  
  
 f u n c t i o n   l i n a i c ( w , h )   {  
 d o c u m e n t . w r i t e ( ' < i m g   s r c = " ' ) + [ i m g l o c ( ) ]  
 d o c u m e n t . w r i t e ( ' l i n e . g i f "   w i d t h = " ' + ( w ) + ' "   a l t = " l i n e "   h e i g h t = " ' + ( h ) + ' " > ' ) } ;  
  
 f u n c t i o n   h r ( )   { d o c u m e n t . w r i t e ( ' < h r   a l i g n = " c e n t e r "   w i d t h = " 1 0 0 % "   c o l o r = " # 0 0 0 0 0 0 "   n o s h a d e   s t y l e = " c o l o r :   # 0 0 0 0 0 0 "   s i z e = " 1 " > ' ) }  
  
 f u n c t i o n   p l d i v ( )   {  
 d o c u m e n t . w r i t e ( ' < d i v   i d = " p r e p a g e "   c l a s s = " l p w " > < i m g   s r c = " / c h i n e s e a r t / l 0 3 . g i f " > < / d i v > ' )  
 }  
  
 f u n c t i o n   e n d p a g e ( t )   {  
 	 i f ( t   = =   " s " )   { d o c u m e n t . w r i t e ( ' < d i v   c l a s s = " e n d p a " > ' ) ;  
 	 } ;  
 	 d o c u m e n t . w r i t e ( ' < p > ' + [ l i n e ( ) ] + ' < / p > ' ) ;  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " v 2 h " > < a   h r e f = " j a v a s c r i p t :   o n C l i c k = h i s t o r y . b a c k ( ) " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e a r t / i m a g e s / g o b a c k . g i f "   a l t = " B a c k "   w i d t h = " 1 0 0 "   h e i g h t = " 2 0 " > < / a > < a   h r e f = " / c h i n e s e a r t / " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e a r t / i m a g e s / g o h o m e . g i f "   a l t = " H o m e "   w i d t h = " 1 0 0 "   h e i g h t = " 2 0 " > < / a > ' ) ;  
 	 d o c u m e n t . w r i t e ( [ s p c ( " 3 0 " , " 1 " , " t " ) ] ) ;  
 	 d o c u m e n t . w r i t e ( ' L i n k   B a c k :   ' ) ;  
 	 d o c u m e n t . w r i t e ( [ p e r l n k ( ) ] ) ;  
 	 d o c u m e n t . w r i t e ( ' < / p > < p > ' ) ;  
 	 d o c u m e n t . w r i t e ( [ l i n e ( ) ] + ' < / p > < p > < a   h r e f = " / c h i n e s e a r t / s o u r c e . h t m l " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e a r t / i m a g e s / c o p y r i g h t . g i f "   a l t = " C o p y r i g h t   D a t e "   w i d t h = " 3 4 5 "   h e i g h t = " 4 4 " > < / a > < a   h r e f = " / c h i n e s e a r t / c o n t a c t " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e a r t / i m a g e s / r i c h . g i f "   a l t = " R i c h a r d   R .   W e r t z "   w i d t h = " 3 4 5 "   h e i g h t = " 4 4 " > < / a > ' ) ;  
 	 i f ( t   = =   " " )   { ( ' ' ) ;  
 	 } ;  
 	 i f ( t   = =   1   | |   t   = =   " s " )   {  
 	 d o c u m e n t . w r i t e ( [ s p c ( " 5 0 " , " 4 4 " , " t " ) ] ) ;  
 	 d o c u m e n t . w r i t e ( ' < ! - - C r e a t i v e   C o m m o n s   L i c e n s e - - > < a   r e l = " l i c e n s e "   h r e f = " h t t p : / / c r e a t i v e c o m m o n s . o r g / l i c e n s e s / b y - n c - s a / 3 . 0 / " > < i m g   a l t = " C r e a t i v e   C o m m o n s   L i c e n s e "   s t y l e = " b o r d e r - w i d t h : 0 "   s r c = " h t t p : / / i . c r e a t i v e c o m m o n s . o r g / l / b y - n c - s a / 3 . 0 / 8 8 x 3 1 . p n g " > < / a > < ! - - / C r e a t i v e   C o m m o n s   L i c e n s e - - > < ! - -   < r d f : R D F   x m l n s = " h t t p : / / w e b . r e s o u r c e . o r g / c c / "   x m l n s : d c = " h t t p : / / p u r l . o r g / d c / e l e m e n t s / 1 . 1 / "   x m l n s : r d f = " h t t p : / / w w w . w 3 . o r g / 1 9 9 9 / 0 2 / 2 2 - r d f - s y n t a x - n s # "   x m l n s : r d f s = " h t t p : / / w w w . w 3 . o r g / 2 0 0 0 / 0 1 / r d f - s c h e m a # " > < W o r k   r d f : a b o u t = " " > < l i c e n s e   r d f : r e s o u r c e = " h t t p : / / c r e a t i v e c o m m o n s . o r g / l i c e n s e s / b y - n c - s a / 3 . 0 / "   / > < d c : t y p e   r d f : r e s o u r c e = " h t t p : / / p u r l . o r g / d c / d c m i t y p e / T e x t "   / > < / W o r k > < L i c e n s e   r d f : a b o u t = " h t t p : / / c r e a t i v e c o m m o n s . o r g / l i c e n s e s / b y - n c - s a / 3 . 0 / " > < p e r m i t s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / R e p r o d u c t i o n " / > < p e r m i t s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / D i s t r i b u t i o n " / > < r e q u i r e s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / N o t i c e " / > < r e q u i r e s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / A t t r i b u t i o n " / > < p r o h i b i t s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / C o m m e r c i a l U s e " / > < p e r m i t s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / D e r i v a t i v e W o r k s " / > < r e q u i r e s   r d f : r e s o u r c e = " h t t p : / / w e b . r e s o u r c e . o r g / c c / S h a r e A l i k e " / > < / L i c e n s e > < / r d f : R D F >   - - > ' ) ;  
 	 } ;  
 	 i f ( t   = =   " k e c " )   {  
 	 d o c u m e n t . w r i t e ( [ s p c ( " 3 0 " , " 4 4 " , " t " ) ] ) ;  
 	 d o c u m e n t . w r i t e ( ' < a   n a m e = " k e c " > < / a > < i m g   s r c = " / c h i n e s e a r t / i m a g e s / k e c . g i f " > ' ) ;  
 	 } ;  
           i f ( t   = =   " s " )   { d o c u m e n t . w r i t e ( ' < / d i v > ' ) ;  
 	 } ;  
 } ;  
  
 f u n c t i o n   v e r ( v , d )   { 	 d o c u m e n t . w r i t e ( ' < a   t a r g e t = " _ b l a n k "   c l a s s = " v h "   h r e f = " U H . v ' + ( ( v ) ) + ' . A I C . h t m l " > v ' + ( ( d ) ) + ' < / a > ' ) }  
  
 / *  
 s e c t :  
 	 ( s   = =   " n w 0 0 " ) ? " " :  
 	 ( s   = =   " f o " ) ? " " :  
 	 ( s   = =   " c i " ) ? " C o n t a c t   I n f o r m a t i o n " :  
 	 ( s   = =   " c c " ) ? " C o n t a c t   C o n f i r m a t i o n " :  
  
 * /  
  
 f u n c t i o n   e f v s f ( d )   {  
 	 i f ( d   = =   " b e g " )   { d o c u m e n t . w r i t e ( ' : < b l o c k q u o t e > < b l o c k q u o t e > < p   c l a s s = " v 2 h " > ' ) }  
 	 i f ( d   = =   " e n d " )   { d o c u m e n t . w r i t e ( ' < / p > < / b l o c k q u o t e > < / b l o c k q u o t e > ' ) }  
 }  
  
 f u n c t i o n   s u p l ( t , d )   {  
 	 i f ( t = = " p e " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / ' ) }  
 	 i f ( d = = " 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' ' ) }  
 }  
  
 f u n c t i o n   c r e d ( d )   {  
 	  
 	 i f ( d   = =   " s _ e c h 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 2 c u l / c 0 2 s 0 3 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   P o e t r y < / a > < / l i > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e c u l t u r e / c o n t e n t s / a r t s / p - a r t s - c 0 2 . h t m l " > C u l t u r a l   H e r i t a g e   o f   C h i n a   : :   C a l l i g r a p h y < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 2 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 2 c u l / c 0 3 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   C h i n e s e   A r c h a e o l o g y < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 3 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 2 c u l / c 0 3 s 0 1 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   Q i n   M a u s o l e u m   a n d   T e r r a   C o t t a   A r m y < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 4 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 2 c u l / c 0 6 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   P e o p l e < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 5 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 2 c u l / c 0 5 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   R e l i g i o n < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 6 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 3 p o l / c 0 2 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   G o v e r n m e n t   D o c u m e n t s < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 7 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 1 h i s / c 0 2 s 0 3 . h t m l # 0 4 E m e r g e n c e % 2 0 o f % 2 0 M o d e r n % 2 0 C h i n a " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   E m e r g e n c e   o f   M o d e r n   C h i n a < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 8 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 3 p o l / c 0 3 s 1 0 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   C u l t u r a l   R e v o l u t i o n < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ e c h 0 9 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 3 p o l / c 0 3 s 1 1 . h t m l " > E x p l o r i n g   C h i n e s e   H i s t o r y   : :   T i a n a n m e n < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ c h c 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e c u l t u r e / c o n t e n t s / a r t s / p - a r t s - c 0 3 . h t m l " > C u l t u r a l   H e r i t a g e   o f   C h i n a   : :   A r c h i t e c t u r e < / a > < / l i > < / u l > < / p > ' ) }  
 	 i f ( d   = =   " s _ c h c 0 2 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e c u l t u r e / c o n t e n t s / e n t r / p - e n t r - c 0 1 . h t m l " > C u l t u r a l   H e r i t a g e   o f   C h i n a   : :   C h i n e s e   O p e r a < / a > < / l i > < / u l > < / p > ' ) }  
 	  
 	  
 	 i f ( d   = =   " W I K c 0 0 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / e n . w i k i p e d i a . o r g / w / i n d e x . p h p ? t i t l e = 2 0 0 8 _ T i b e t a n _ u n r e s t & o l d i d = 2 0 1 6 2 9 7 7 0 " > 2 0 0 8   T i b e t a n   u n r e s t < / a > .   ( 2 0 0 8 ,   M a r c h   2 8 ) .   W i k i p e d i a ,   T h e   F r e e   E n c y c l o p e d i a .   R e t r i e v e d   2 0 : 3 6 ,   M a r c h   2 8 ,   2 0 0 8 . ' ) }  
 	 i f ( d   = =   " c c b y s a " )   {  
 	 d o c u m e n t . w r i t e ( ' T h i s   f i l e   i s   l i c e n s e d   u n d e r   C r e a t i v e   C o m m o n s   A t t r i b u t i o n   S h a r e A l i k e   2 . 0   L i c e n s e   ( c c - b y - s a - 2 . 0 ) . ' ) }  
 / / 	 t h i s   i m a g e   i s   f o r   c o n t e n t   d i r e c t   f r o m   R F A   a n d   c o n t a i n s   t h e   c r   i n f o .  
 	 i f ( d   = =   " r f a l " )   {  
 	 d o c u m e n t . w r i t e ( ' < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . r f a . o r g " > < i m g   b o r d e r = " 0 "   s r c = " / c h i n e s e h i s t o r y / i m a g e s / r f a c . j p g " > < / a > ' ) }  
 	 i f ( d   = =   " p l a y e r " )   {  
 	 d o c u m e n t . w r i t e ( ' M e d i a   P l a y e r   f r o m   F l o w   P l a y e r . ' ) }  
 	 i f ( d   = =   " h k u 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . l i b . c u h k . e d u . h k " > T h e   C h i n e s e   U n i v e r s i t y   o f   H o n g   K o n g < b r > U n i v e r s i t y   L i b r a r y   S y s t e m < / a > < / p > ' ) }  
 	 i f ( d   = =   " h k u 2 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . c u h k . e d u . h k / i c s / c c a a / i n d e x . h t m " > C E N T R E   F O R   C H I N E S E   A R C H A E O L O G Y   A N D   A R T < / a > , < b r > I n s t i t u t e   o f   C h i n e s e   S t u d i e s , < b r > T h e   C h i n e s e   U n i v e r s i t y   o f   H o n g   K o n g , < b r > S h a t i n ,   H o n g   K o n g . < / p > ' ) }  
 	 i f ( d   = =   " e q m 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . k e p u . a c . c n / e n g l i s h / i n d e x . h t m l " > C h i n a   V i r t u a l   S c i e n c e   M u s e u m s < / a > , < b r > T h e   E a r t h q u a k e   M u s e u m . < / p > ' ) }  
 	 i f ( d   = =   " t i c 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / e n . t i b e t . c n " > C h i n a   T i b e t   I n f o r m a t i o n   C e n t e r < / a > < / p > ' ) }  
 	 i f ( d   = =   " g e t 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > P r o g r a m   f o r   G l o b a l   E n v i r o n m e n t a l   T e a c h i n g s < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . u w s p . e d u " > U n i v e r s i t y   o f   W i s c o n s i n - S t e v e n s   P o i n t < / a > < b r > 4 0 3 D   L R C   S t e v e n s   P o i n t ,   W I   5 4 4 8 1 - 3 8 9 7 ,   U S A < / p > ' ) }  
 	 i f ( d   = =   " u s e 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . u s e m b a s s y - c h i n a . o r g . c n " > U S   E m b a s s y   i n   C h i n a < / a > . < / p > ' ) }  
 	 i f ( d   = =   " h m s 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . h a r r y s - s t u f f . c o m " > H a r r y & # 3 9 ; s   S t u f f . c o m < / a > . < b r > C o p y r i g h t   H a r r y   M a r s h a l l   ©   2 0 0 2 - 2 0 0 6 < / p > ' ) }  
 	 i f ( d   = =   " m u m 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . m c . m a r i c o p a . e d u " > M a i c o p a   U n i v e r s i t y < / a > , < b r > M a c a u . < / p > ' ) }  
 	 i f ( d   = =   " m e p 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . m a r y e v a n s . c o m / " > M a r y   E v a n s   P i c t u r e   L i b r a r y < / a > , < b r > L o n d o n ,   U K . < / p > ' ) }  
 	 i f ( d   = =   " t p g 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . t r a v e l - p i c t u r e s - g a l l e r y . c o m / " > T r a v e l   P i c t u r e   G a l l e r y < / a > < / p > ' ) }  
 	 i f ( d   = =   " l o m 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . o d y s s e i . c o m / " > L a t v i a n   O p e n   A i r   M u s e u m < / a > ,   L a t v i a < / p > ' ) }  
 	 i f ( d   = =   " l o m 0 2 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > B e r n a r d   C l o u t i e r , < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . o d y s s e i . c o m / " > L a t v i a n   O p e n   A i r   M u s e u m < / a > ,   L a t v i a < / p > ' ) }  
 	 i f ( d   = =   " c a c b c 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . c a c b c . o r g / j m o r i e n t a l / a r t . h t m l " > C h i n e s e   A m e r i c a n   C u l t u r a l   B r i d g e   C e n t e r < / a > < / p > ' ) }  
 	 i f ( d   = =   " c c o 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m :   < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . c h i n a c u l t u r e . o r g " > C h i n a   C u l t u r e < / a > < / p > ' ) }  
 	 i f ( d   = =   " b a m 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . b a m p f a . b e r k e l e y . e d u / c o l l e c t i o n / a r t c o l l e c t i o n " > C h i n e s e   P a i n t i n g s   C o l l e c t i o n < / a > < b r > B e r k e l e y   A r t   M u s e u m < b r > U n i v e r s i t y   o f   C a l i f o r n i a ,   B e r k e l e y < / p > ' ) }  
 	 i f ( d   = =   " o s u 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / k a l a d a r s h a n . a r t s . o h i o - s t a t e . e d u / " > J o h n   C .   a n d   S u s a n   L .   H u n t i n g t o n   A r c h i v e   o f   B u d d h i s t   a n d   R e l a t e d   A r t < / a > < b r > O h i o   S t a t e   U n i v e r s i t y < b r > C o l l e g e   o f   t h e   A r t s < / p > ' ) }  
 	 i f ( d   = =   " n p m 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . n p m . g o v . t w " > C o l l e c t i o n   o f   t h e   N a t i o n a l   P a l a c e   M u s e u m < / a > < b r > T a i p e i ,   T a i w a n < / p > ' ) }  
 	 i f ( d   = =   " m e t 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . m e t m u s e u m . o r g / " > C o l l e c t i o n   o f   T h e   M e t r o p o l i t a n   M u s e u m   o f   A r t < / a > < b r > N e w   Y o r k ,   U S A < / p > ' ) }  
 	 i f ( d   = =   " s r l 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m   t h e   < a   h r e f = " h t t p : / / w w w . i i s g . n l / ~ l a n d s b e r g e r " > I I S H   S t e f a n   R .   L a n d s b e r g e r   C o l l e c t i o n < / a > < / p > ' ) }  
 	 i f ( d   = =   " m d e 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > M i n g   D y n a s t y   E n c y c l o p e d i a   < i > S a n c a i   T u h u i < / i >   ( 	NMbWg) ,   1 6 0 7 < / p > ' ) }  
 	 i f ( d   = =   " b l b 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > 1 8 t h   c e n t u r y   a l b u m   o f   p o r t r a i t s   o f   8 6   e m p e r o r s   o f   C h i n a ,   w i t h   C h i n e s e   h i s t o r i c a l   n o t e s . < b r > B r i t i s h   L i b r a r y < / p > ' ) }  
 	 i f ( d   = =   " f a b 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > T h e   T h i r t e e n   E m p e r o r s   S c r o l l   wkãN^‹sWwS  ( ³P»•Ëz,g) < b r > C h i n e s e ,   T a n g   d y n a s t y ,   S e c o n d   h a l f   o f   t h e   7 t h   c e n t u r y < b r > A t t r i b u t e d   t o :   Y a n   L i b e n ,   6 0 0 -   6 7 3 < b r > 5 1 . 3   x   5 3 1   c m   ( 2 0   3 / 1 6   x   2 0 9   1 / 1 6   i n . ) < b r > I n k   a n d   c o l o r   o n   s i l k < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . m f a . o r g / i n d e x . a s p " > M u s e u m   o f   F i n e   A r t s ,   B o s t o n < / a > < b r > D e n m a n   W a l d o   R o s s   C o l l e c t i o n ,   1 9 3 1 < / p > ' ) }  
 	 i f ( d   = =   " c f f a i s s 0 1 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 2 " > F r o m : < b r > < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . s e u . e d u . c n / a r t / e n g l i s h / e h o m e . h t m " > C h i n e s e   F o l k   F i n e   A r t s   I n f o r m a t i o n   S e r v i c e   S y s t e m < / a > , < b r > S o u t h e a s t   U n i v e r s i t y < b r > N a j i n g ,   C h i n a < / p > ' ) }  
  
 }  
  
 f u n c t i o n   e c h b i o ( b , d )   {  
  
 v a r   l i e n d 4 4 = " E x p l o r i n g   C h i n e s e   H i s t o r y   : :   B i o g r a p h i c a l   D a t a b a s e   E n t r y < / a > < / l i > "  
  
 d o c u m e n t . w r i t e ( [ h r ( ) ] + ' < p   c l a s s = " a 2 " > S E E   A l s o : < u l   c l a s s = " a 2 " > < l i > < a   t a r g e t = " _ b l a n k "   h r e f = " / c h i n e s e h i s t o r y / c o n t e n t s / 0 6 d a t / b i o . ' )  
  
 	 i f ( b   = =   1 )     { d o c u m e n t . w r i t e ( ' 1 i m p . h t m l # ' + ( ( d ) ) + ' " > ' + l i e n d 4 4 ) }  
 	 i f ( b   = =   2 )     { d o c u m e n t . w r i t e ( ' 2 q i n . h t m l # ' + ( ( d ) ) + ' " > ' + l i e n d 4 4 ) }  
 	 i f ( b   = =   3 )     { d o c u m e n t . w r i t e ( ' 3 r e p . h t m l # ' + ( ( d ) ) + ' " > ' + l i e n d 4 4 ) }  
 	 i f ( b   = =   4 )     { d o c u m e n t . w r i t e ( ' 4 p r c . h t m l # ' + ( ( d ) ) + ' " > ' + l i e n d 4 4 ) }  
 	 i f ( b   = =   5 )     { d o c u m e n t . w r i t e ( ' 5 r o c . h t m l # ' + ( ( d ) ) + ' " > ' + l i e n d 4 4 ) }  
  
 d o c u m e n t . w r i t e ( ' < / u l > < / p > ' )  
 }  
  
 f u n c t i o n   e c h g e o ( b , d , e , f )   {  
  
 v a r   l i e n d 4 4 = " E x p l o r i n g   C h i n e s e   H i s t o r y   : :   E a s t   A s i a n   R e g i o n   : :   "  
 v a r   l i e n d 4 5 = " E x p l o r i n g   C h i n e s e   H i s t o r y   : :   G e o g r a p h i c a l   D a t a b a s e   E n t r y < / a > < / l i > "  
 v a r   l i e n d 4 6 = " A t l a s   : :   C i t y   M a p s   : :   "  
 v a r   l i e n d 4 7 = " A t l a s   : :   P r o v i n c i a l   M a p s   : :   "  
 v a r   l i e n d 4 8 = " A t l a s   : :   C o u n t r y   M a p s   : :   "  
 v a r   l i b e g 2 3 = " < l i > < a   t a r g e t = ' _ b l a n k '   h r e f = "  
 v a r   l i b e g 2 4 = " < l i > < a   h r e f = "  
 v a r   l i e n d 9 9 = " < / a > < / l i > "  
  
 	 i f ( b   = =   " e a r " )     { d o c u m e n t . w r i t e ( l i b e g 2 3 + ' " / c h i n e s e h i s t o r y / c o n t e n t s / 0 4 e a r / c ' + ( ( e ) ) + ' . h t m l " > ' + l i e n d 4 4 + ( ( f ) ) + l i e n d 9 9 ) }  
 	 i f ( b   = =   " g e o " )     { d o c u m e n t . w r i t e ( l i b e g 2 3 + ' " / c h i n e s e h i s t o r y / c o n t e n t s / 0 6 d a t / g e o . h t m l # ' + ( ( d ) ) + ' " > ' + l i e n d 4 5 ) }  
 	 i f ( b   = =   " a i c _ c " )     { d o c u m e n t . w r i t e ( l i b e g 2 4 + ' " / c h i n e s e a r t / c o n t e n t s / a t l s / c 0 2 p 0 ' + ( ( e ) ) + ' . h t m " > ' + l i e n d 4 6 + ( ( f ) ) + l i e n d 9 9 ) }  
 	 i f ( b   = =   " a i c _ p " )     { d o c u m e n t . w r i t e ( l i b e g 2 4 + ' " / c h i n e s e a r t / c o n t e n t s / a t l s / c 0 1 p 0 ' + ( ( e ) ) + ' . h t m " > ' + l i e n d 4 7 + ( ( f ) ) + l i e n d 9 9 ) }  
 	 i f ( b   = =   " a i c _ z " )     { d o c u m e n t . w r i t e ( l i b e g 2 4 + ' " / c h i n e s e a r t / c o n t e n t s / a t l s / c 0 3 p 0 ' + ( ( e ) ) + ' . h t m " > ' + l i e n d 4 8 + ( ( f ) ) + l i e n d 9 9 ) }  
  
 }  
  
 f u n c t i o n   a r _ c 0 1 s 0 2 _ s c r _ s c r n ( )   {  
 d o c u m e n t . w r i t e ( ' < c e n t e r > ' + [ h r ( ) ] + ' < p > W h o l e   I m a g e s . < b r > T h e s e   a r e   q u i t e   l a r g e ,   p r e p a r e   t o   w a i t   a   w h i l e   f o r   t h e m   t o   d o w n l o a d   ( t h e   f i l e   s i z e   i s   p r e s e n t ) . < / p > < t a b l e   c l a s s = " g a l n a v b " > < t r > < t d   c l a s s = " g a l n a v b l " > < p   c l a s s = " g a l n a v " > < a   c l a s s = " g a l n a v "   h r e f = " c 0 1 s 0 2 i 0 1 . h t m " > S c r o l l   1 < / a > < b r > 1 . 8 3   M B < / p > < / t d > < t d   c l a s s = " g a l n a v b " > < p   c l a s s = " g a l n a v " > < a   c l a s s = " g a l n a v "   h r e f = " c 0 1 s 0 2 i 0 2 . h t m " > S c r o l l   2 < / a > < b r > 3 6 0   K B < / p > < / t d > < t d   c l a s s = " g a l n a v b " > < p   c l a s s = " g a l n a v " > < a   c l a s s = " g a l n a v "   h r e f = " c 0 1 s 0 2 i 0 3 . h t m " > S c r o l l   3 < / a > < b r > 1 . 3 0   M B < / p > < / t d > < t d   c l a s s = " g a l n a v b " > < p   c l a s s = " g a l n a v " > < a   c l a s s = " g a l n a v "   h r e f = " c 0 1 s 0 2 i 0 4 . h t m " > S c r o l l   4 < / a > < b r > 5 3 8   K B < / p > < / t d > < / t r > < / t a b l e > < / c e n t e r > ' )  
 }  
  
  
 f u n c t i o n   a r _ c 0 1 s 0 2 _ s c r _ d e s c ( d )   {  
 v a r   h s p  
 v a r   d e s c   =   n e w   A r r a y ( )  
 d e s c [ " s c r 0 1 " ] = " A u t u m n   C o l o r s   o n   t h e   C h ' i a o   a n d   H u a   M o u n t a i n s ,   d e t a i l < b r > Z h a o   M e n g f u   ( 1 2 5 4 - 1 3 2 2 ) < b r > I n k   a n d   c o l o r   o n   p a p e r . "  
 d e s c [ " s c r 0 2 " ] = " R e t u r n   C l e a r i n g ,   d e t a i l < b r > A n o n y m o u s < b r > I n k   a n d   c o l o r   o n   s i l k . "  
 d e s c [ " s c r 0 3 " ] = " S p r i n g   M o r n i n g   i n   t h e   H a n   P a l a c e ,   d e t a i l < b r > Q i u   Y i n g   ( 1 4 9 4 - 1 5 5 2 ) < b r > I n k   a n d   c o l o r s   o n   s i l k . "  
 d e s c [ " s c r 0 4 " ] = " G r e e n   M o u n t a i n s   a n d   W h i t e   C l o u d s ,   d e t a i l < b r > W u   L i   ( 1 6 3 2 - 1 7 1 8 ) < b r > I n k   a n d   c o l o r s   o n   s i l k . "  
  
 f o r   ( h s p   i n   d e s c ) {  
 i f ( h s p = = = h s p ) { ( d e s c [ h s p ] ) } }  
  
 d o c u m e n t . w r i t e ( ' < p   c l a s s = " a 3 " > ' + d e s c [ ( d ) ] + ' < / p > ' )  
 }  
  
  
 f u n c t i o n   a r a l ( r , d )   {  
 v a r   a l b  
 v a r   a l b u m   =   n e w   A r r a y ( )  
  
 / / c o n t e n t s / a r t i / c 0 1 s 0 1  
 a l b u m [ " a 0 1 " ] = " A l b u m   o f   B a m b o o   i n   4   S e a s o n s "  
 a l b u m [ " a 0 2 " ] = " A l b u m   o f   T w e l v e   L e a v e s -   F i g u r e s   i n   L a n d s c a p e   S e t t i n g s "  
 a l b u m [ " a 0 3 " ] = " A l b u m   o f   T w e l v e   L a n d s c a p e s   i n   O l d   S t y l e s "  
 a l b u m [ " a 0 4 " ] = " A l b u m   o f   E i g h t   L e a v e s -   F i s h   a n d   F r u i t "  
 a l b u m [ " a 0 5 " ] = " A l b u m   o f   B e g g a r s   a n d   S t r e e t   E n t e r t a i n e r s "  
 a l b u m [ " a 0 6 " ] = " A l b u m   o f   F l o w e r   P a i n t i n g s "  
 a l b u m [ " a 0 7 " ] = " A l b u m   o f   F l o w e r s "  
 a l b u m [ " a 0 8 " ] = " A l b u m   o f   F l o w e r s   a n d   L a n d s c a p e s "  
 a l b u m [ " a 0 9 " ] = " A l b u m   o f   T e n   L e a v e s -   F i g u r e s   a n d   L a n d s c a p e s "  
 a l b u m [ " a 1 0 " ] = " A l b u m   o f   T w e l v e   L e a v e s -   F l o w e r s "  
 a l b u m [ " a 1 1 " ] = " A l b u m   o f   M i s c e l l a n e o u s   S u b j e c t s "  
 a l b u m [ " a 1 2 " ] = " A l b u m   o f   B i r d s ,   F l o w e r s   a n d   L a n d s c a p e s "  
 a l b u m [ " a 1 3 " ] = " A l b u m   o f   F o u r t e e n   L e a v e s < b r > A n t h o l o g y   o f   M a s t e r p i e c e s   o f   t h e   T ' a n g ,   S u n g   a n d   Y u a n   D y n a s t i e s "  
  
  
 / / c o n t e n t s / c u l t / c 0 5 s 0 1  
 a l b u m [ " c u 0 5 0 1 1 0 0 " ] = " K n i f e   C o i n s "   / / 6   i m a g e s  
 a l b u m [ " c u 0 5 0 1 2 0 0 " ] = " S p a d e   C o i n s "  
 a l b u m [ " c u 0 5 0 1 3 0 0 " ] = " R o u n d   C o i n s "  
 a l b u m [ " c u 0 5 0 1 4 0 0 " ] = " C o i n   M o u l d s "  
 a l b u m [ " c u 0 5 0 1 9 0 0 0 " ] = " T h e   K e n   E l k s   C o l l e c t i o n   o f   C h i n e s e   C o i n s "  
  
 / / c o n t e n t s / c u l t / c 0 5 s 0 2  
 a l b u m [ " c u 0 5 0 2 1 0 0 " ] = " P a p e r   M o n e y "  
 a l b u m [ " c u 0 5 0 2 2 0 0 " ] = " P r i n t i n g   B l o c k s "  
 a l b u m [ " c u 0 5 0 2 3 0 0 " ] = " B a n k n o t e s "  
  
 / / c o n t e n t s / p e o p / c 0 1 s 0 1  
 a l b u m [ " p e 0 1 0 1 " ] = " W o o d b l o c k   P r i n t s "  
 a l b u m [ " p e 0 1 0 2 " ] = " F o r e i g n   V i s i t o r s "  
 a l b u m [ " p e 0 1 0 3 " ] = " P h i l o s o p h e r s   a n d   L e g e n d a r y   F i g u r e s "  
 a l b u m [ " p e 0 1 0 4 " ] = " C o u r t   P o r t r a i t s "  
 a l b u m [ " p e 0 1 0 5 " ] = " H o n g w u   E m p e r o r ,   F o u n d e r   o f   t h e   M i n g   D y n a s t y "  
 a l b u m [ " p e 0 1 0 6 " ] = " A l b u m   o f   P o r t r a i t s   o f   8 6   E m p e r o r s   o f   C h i n a "  
 a l b u m [ " p e 0 1 0 7 " ] = " Y u a n   D y n a s t y "  
 a l b u m [ " p e 0 1 0 8 " ] = " T h i r t e e n   E m p e r o r s   S c r o l l "  
 a l b u m [ " p e 0 1 1 0 " ] = " C i x i "  
 a l b u m [ " p e 0 1 1 1 " ] = " P u y i ,   T h e   L a s t   E m p e r o r   o f   C h i n a "  
  
 / / c o n t e n t s / p e o p / c 0 3 s 0 1  
 a l b u m [ " p e 0 3 0 1 " ] = " 1 3 t h   D a l a i   L a m a "  
 a l b u m [ " p e 0 3 0 2 " ] = " 1 4 t h   D a l a i   L a m a "  
  
 / / c o n t e n t s / p e o p / c 0 5 s 0 1  
 a l b u m [ " p e 0 5 0 1 " ] = " U n t i l   1 9 7 8 "  
 a l b u m [ " p e 0 5 0 2 " ] = " N i x o n   I n   C h i n a "  
 a l b u m [ " p e 0 5 0 3 " ] = " 1 9 7 9 - 1 9 9 9 "  
 a l b u m [ " p e 0 5 0 4 " ] = " 2 0 0 0 -   P r e s e n t "  
  
 / / c o n t e n t s / a t l s /  
 / / c 0 1 p 0 1  
 a l b u m [ " a t 0 1 0 1 " ] = " A n h u i   P r o v i n c e "  
 a l b u m [ " a t 0 1 0 2 " ] = " A o m e n   S A R   ( M a c a u ) "  
 a l b u m [ " a t 0 1 0 3 " ] = " B e i j i n g   M u n i c i p a l i t y "  
 a l b u m [ " a t 0 1 0 4 " ] = " C h o n g q i n g   M u n i c i p a l i t y "  
 a l b u m [ " a t 0 1 0 5 " ] = " F u j i a n   P r o v i n c e "  
 a l b u m [ " a t 0 1 0 6 " ] = " G a n s u   P r o v i n c e "  
 a l b u m [ " a t 0 1 0 7 " ] = " G u a n g d o n g   P r o v i n c e "  
 a l b u m [ " a t 0 1 0 8 " ] = " G u a n g x i   Z h u a n g   A u t o n o m o u s   R e g i o n "  
 a l b u m [ " a t 0 1 0 9 " ] = " G u i z h o u   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 0 " ] = " H a i n a n   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 1 " ] = " H e b e i   P r o v i n c e "  
 / / c 0 1 p 0 2  
 a l b u m [ " a t 0 1 1 2 " ] = " H e i l o n g j i a n g   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 3 " ] = " H e n a n   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 4 " ] = " H u b e i   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 5 " ] = " H u n a n   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 6 " ] = " J i a n g s u   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 7 " ] = " J i a n g x i   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 8 " ] = " J i l i n   P r o v i n c e "  
 a l b u m [ " a t 0 1 1 9 " ] = " L i a o n i n g   P r o v i n c e "  
 a l b u m [ " a t 0 1 2 0 " ] = " N e i m e n g g u   A u t o n o m o u s   R e g i o n   ( I n n e r   M o n g o l i a ) "  
 a l b u m [ " a t 0 1 2 1 " ] = " N i n g x i a   H u i   A u t o n o m o u s   R e g i o n "  
 a l b u m [ " a t 0 1 2 2 " ] = " Q i n g h a i   P r o v i n c e "  
 / / c 0 1 p 0 3  
 a l b u m [ " a t 0 1 2 3 " ] = " S h a a n x i   P r o v i n c e "  
 a l b u m [ " a t 0 1 2 4 " ] = " S h a n d o n g   P r o v i n c e "  
 a l b u m [ " a t 0 1 2 5 " ] = " S h a n g h a i   M u n i c i p a l i t y "  
 a l b u m [ " a t 0 1 2 6 " ] = " S h a n x i   P r o v i n c e "  
 a l b u m [ " a t 0 1 2 7 " ] = " S i c h u a n   P r o v i n c e "  
 a l b u m [ " a t 0 1 2 8 " ] = " T i a n j i n   M u n i c i p a l i t y "  
 a l b u m [ " a t 0 1 2 9 " ] = " X i a n g g a n g   S A R   ( H o n g   K o n g ) "  
 a l b u m [ " a t 0 1 3 0 " ] = " X i n j i a n g   U y g u r   A u t o n o m o u s   R e g i o n "  
 a l b u m [ " a t 0 1 3 1 " ] = " X i z a n g   P r o v i n c e   ( T i b e t ) "  
 a l b u m [ " a t 0 1 3 2 " ] = " Y u n n a n   P r o v i n c e "  
 a l b u m [ " a t 0 1 3 3 " ] = " Z h e j i a n g   P r o v i n c e "  
 / / B e i j i n g ,   C h o n g q i n g ,   S h a n g h a i ,   T i a n j i n :  
 a l b u m [ " a t 0 1 m " ] = " M u n i c i p a l i t y "  
 / / H o n g   K o n g ,   M a c a u :  
 a l b u m [ " a t 0 1 x 0 1 " ] = " ( H o n g   K o n g ) "  
 a l b u m [ " a t 0 1 a 0 1 " ] = " S A R   ( M a c a u ) "  
 a l b u m [ " a t 0 1 t 0 1 " ] = " T a i w a n "  
  
 / / c o n t e n t s / a t l s /  
 / / c 0 2 p 0 1  
 a l b u m [ " a t 0 2 0 2 " ] = " A n s h a n "  
 a l b u m [ " a t 0 2 0 1 " ] = " A n s h a n "  
 a l b u m [ " a t 0 2 0 2 " ] = " B a o t o u "  
 a l b u m [ " a t 0 2 0 3 " ] = " B e i j i n g "  
 a l b u m [ " a t 0 2 0 4 " ] = " C h a n g c h u n "  
 a l b u m [ " a t 0 2 0 5 " ] = " C h a n g s h a "  
 a l b u m [ " a t 0 2 0 6 " ] = " C h e n g d u "  
 a l b u m [ " a t 0 2 0 7 " ] = " C h o n g q i n g "  
 a l b u m [ " a t 0 2 0 8 " ] = " D a l i a n "  
 a l b u m [ " a t 0 2 0 9 " ] = " F u l i n "  
 a l b u m [ " a t 0 2 1 0 " ] = " F u s h u n "  
 a l b u m [ " a t 0 2 1 1 " ] = " F u z h o u "  
 / / c 0 2 p 0 2  
 a l b u m [ " a t 0 2 1 2 " ] = " G u a n g z h o u "  
 a l b u m [ " a t 0 2 1 3 " ] = " G u i y a n g "  
 a l b u m [ " a t 0 2 1 4 " ] = " H a i k o u "  
 a l b u m [ " a t 0 2 1 5 " ] = " H a n g z h o u "  
 a l b u m [ " a t 0 2 1 6 " ] = " H a r b i n "  
 a l b u m [ " a t 0 2 1 7 " ] = " H e f e i "  
 a l b u m [ " a t 0 2 1 8 " ] = " H o h h o t "  
 a l b u m [ " a t 0 2 1 9 " ] = " X i a n g g a n g   S A R "  
 a l b u m [ " a t 0 2 2 0 " ] = " J i l i n "  
 a l b u m [ " a t 0 2 2 1 " ] = " J i n a n "  
 a l b u m [ " a t 0 2 2 2 " ] = " J i n h u a "  
 / / c 0 2 p 0 3  
 a l b u m [ " a t 0 2 2 3 " ] = " K a s h i "  
 a l b u m [ " a t 0 2 2 4 " ] = " K u n m i n g "  
 a l b u m [ " a t 0 2 2 5 " ] = " L a n z h o u "  
 a l b u m [ " a t 0 2 2 6 " ] = " L u a n c h e n g "  
 a l b u m [ " a t 0 2 2 7 " ] = " L u o y a n g "  
 a l b u m [ " a t 0 2 2 8 " ] = " N a n c h a n g "  
 a l b u m [ " a t 0 2 2 9 " ] = " N a n j i n g "  
 a l b u m [ " a t 0 2 3 0 " ] = " N a n n i n g "  
 a l b u m [ " a t 0 2 3 1 " ] = " N i n g b o "  
 a l b u m [ " a t 0 2 3 2 " ] = " Q i n g d a o "  
 a l b u m [ " a t 0 2 3 3 " ] = " Q i n g j i a n g "  
 / / c 0 2 p 0 4  
 a l b u m [ " a t 0 2 3 4 " ] = " Q i q i h a r "  
 a l b u m [ " a t 0 2 3 5 " ] = " S h a n g h a i "  
 a l b u m [ " a t 0 2 3 6 " ] = " S h e n y a n g "  
 a l b u m [ " a t 0 2 3 7 " ] = " S h i j i a z h u a n g "  
 a l b u m [ " a t 0 2 3 8 " ] = " S u z h o u "  
 a l b u m [ " a t 0 2 3 9 " ] = " T a i a n "  
 a l b u m [ " a t 0 2 4 0 " ] = " T a i p e i "  
 a l b u m [ " a t 0 2 4 1 " ] = " T a i y u a n "  
 a l b u m [ " a t 0 2 4 2 " ] = " T a n g s h a n "  
 a l b u m [ " a t 0 2 4 3 " ] = " T i a n j i n "  
 a l b u m [ " a t 0 2 4 4 " ] = " Ü r ü m q i "  
 / / c 0 2 p 0 5  
 a l b u m [ " a t 0 2 4 5 " ] = " W e i f a n g "  
 a l b u m [ " a t 0 2 4 6 " ] = " W u h a n "  
 a l b u m [ " a t 0 2 4 7 " ] = " W u x i "  
 a l b u m [ " a t 0 2 4 8 " ] = " X i a n "  
 a l b u m [ " a t 0 2 4 9 " ] = " X i a n g f a n "  
 a l b u m [ " a t 0 2 5 0 " ] = " X i n i n g "  
 a l b u m [ " a t 0 2 5 1 " ] = " Y a n g z h o u "  
 a l b u m [ " a t 0 2 5 2 " ] = " Y a n t a i "  
 a l b u m [ " a t 0 2 5 3 " ] = " Y i n c h u a n "  
 a l b u m [ " a t 0 2 5 4 " ] = " Z a o z h u a n g "  
 a l b u m [ " a t 0 2 5 5 " ] = " Z h e n g z h o u "  
  
 / / c o n t e n t s / a t l s /  
 / / c 0 3  
 a l b u m [ " a t 0 3 0 1 " ] = " C h i n a "  
 a l b u m [ " a t 0 3 0 2 " ] = " H o n g   K o n g "  
 a l b u m [ " a t 0 3 0 3 " ] = " J a p a n "  
 a l b u m [ " a t 0 3 0 4 " ] = " K o r e a ,   N o r t h "  
 a l b u m [ " a t 0 3 0 5 " ] = " K o r e a ,   S o u t h "  
 a l b u m [ " a t 0 3 0 6 " ] = " M a c a u "  
 a l b u m [ " a t 0 3 0 7 " ] = " M o n g o l i a "  
 a l b u m [ " a t 0 3 0 8 " ] = " T a i w a n "  
 a l b u m [ " a t 0 3 0 9 " ] = " Y a n g t z e   R i v e r "  
  
 / / c o n t e n t s / a t l s /  
 / / c 0 4  
 a l b u m [ " a t 0 4 0 1 " ] = " O r i g i n   o f   C h i n e s e   C i v i l i z a t i o n "  
 a l b u m [ " a t 0 4 0 2 " ] = " S h a n g   D y n a s t y "  
 a l b u m [ " a t 0 4 0 3 " ] = " Q i n   D y n a s t y "  
 a l b u m [ " a t 0 4 0 4 " ] = " H a n   D y n a s t y "  
 a l b u m [ " a t 0 4 0 5 " ] = " T h r e e   K i n g d o m s "  
 a l b u m [ " a t 0 4 0 6 " ] = " S u i   D y n a s t y "  
 a l b u m [ " a t 0 4 0 7 " ] = " T a n g   D y n a s t y "  
 a l b u m [ " a t 0 4 0 8 " ] = " S o n g   D y n a s t y "  
 a l b u m [ " a t 0 4 0 9 " ] = " Y u a n   D y n a s t y "  
 a l b u m [ " a t 0 4 1 0 " ] = " M i n g   D y n a s t y "  
 a l b u m [ " a t 0 4 1 1 " ] = " Q i n g   D y n a s t y "  
 a l b u m [ " a t 0 4 1 2 " ] = " R o u t e s   o f   t h e   S i l k   R o a d "  
 a l b u m [ " a t 0 4 1 3 " ] = " R o u t e s   o f   t h e   S i l k   R o a d "  
 a l b u m [ " a t 0 4 1 4 " ] = " Z h a n g   Q i a n   R o u t e "  
 a l b u m [ " a t 0 4 1 5 " ] = " L o n g   M a r c h   R o u t e "  
 a l b u m [ " a t 0 4 1 6 " ] = " E v e r   V i c t o r i o u s   C a m p a i g n "  
 a l b u m [ " a t 0 4 1 7 " ] = " T a i p i n g   T e r r i t o r y "  
 a l b u m [ " a t 0 4 1 8 " ] = " M o u k d e n "  
 a l b u m [ " a t 0 4 1 9 " ] = " N a n k i n g "  
 a l b u m [ " a t 0 4 2 0 " ] = " T i e n t s i n "  
 a l b u m [ " a t 0 4 2 1 " ] = " P e k i n g "  
 a l b u m [ " a t 0 4 2 2 " ] = " S i n o - S o v i e t   B o r d e r   C o n f l i c t "  
  
 a l b u m [ " 0 " ] = " "  
  
 f o r   ( a l b   i n   a l b u m ) {  
 i f ( r = = = a l b ) { ( a l b u m [ a l b ] ) } }  
  
 i f ( r   = =   " 0 " ) { d o c u m e n t . w r i t e ( [ i n c ( " p _ i n t r o " ) ] + a l b u m [ ( d ) ] + ' < / p > ' ) }  
 i f ( r   ! =   " 0 " ) { d o c u m e n t . w r i t e ( [ i n c ( " p _ i n t r o " ) ] + a l b u m [ ( r ) ] + ' < b r > ' + a l b u m [ ( d ) ] + ' < / p > ' ) }  
  
 }  
  
 f u n c t i o n   a r t i n a v ( c , d )   {  
  
 v a r   a r n a v   =   n e w   A r r a y ( )  
 a r n a v [ " t a b _ b " ] = " < t a b l e   c l a s s = ' g a l n a v o ' < t r > < t d   c l a s s = ' g a l n a v o b ' > < p   c l a s s = ' g a l n a v ' > "  
 a r n a v [ " l n k _ b " ] = " < a   c l a s s = ' g a l n a v '   h r e f = "  
 a r n a v [ " f i l _ e " ] = " . h t m > A l b u m   "  
 a r n a v [ " s c r _ e " ] = " . h t m > S c r o l l   "  
 a r n a v [ " p a g _ e " ] = " . h t m > P a g e   "  
 a r n a v [ " c t y _ e " ] = " . h t m > C i t i e s   "  
 a r n a v [ " p o r _ e " ] = " . h t m > "  
 a r n a v [ " l n k _ e " ] = " < / a > "  
 a r n a v [ " s e p " ] = "   |   "  
 a r n a v [ " t a b _ e " ] = " < / p > < / t d > < / t r > < / t a b l e > "  
  
 i f ( d   = =   " " )   {  
  
 i f ( c   = =   " c 0 1 s 0 1 " )   {  
  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 1 ' + a r n a v [ " f i l _ e " ] + ' 1 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 2 ' + a r n a v [ " f i l _ e " ] + ' 2 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 3 ' + a r n a v [ " f i l _ e " ] + ' 3 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 4 ' + a r n a v [ " f i l _ e " ] + ' 4 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 5 ' + a r n a v [ " f i l _ e " ] + ' 5 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 6 ' + a r n a v [ " f i l _ e " ] + ' 6 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 7 ' + a r n a v [ " f i l _ e " ] + ' 7 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 8 ' + a r n a v [ " f i l _ e " ] + ' 8 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 9 ' + a r n a v [ " f i l _ e " ] + ' 9 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 0 ' + a r n a v [ " f i l _ e " ] + ' 1 0 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 1 ' + a r n a v [ " f i l _ e " ] + ' 1 1 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 2 ' + a r n a v [ " f i l _ e " ] + ' 1 2 ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
 i f ( c   = =   " c 0 1 s 0 2 " )   {  
  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 1 d 0 0 ' + a r n a v [ " s c r _ e " ] + ' 1 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 2 d 0 0 ' + a r n a v [ " s c r _ e " ] + ' 2 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 3 d 0 0 ' + a r n a v [ " s c r _ e " ] + ' 3 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 4 d 0 0 ' + a r n a v [ " s c r _ e " ] + ' 4 ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 } }  
  
 i f ( d   = =   " a r t i "   & &   c   = =   " c 0 1 s 0 1 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 1 ' + a r n a v [ " p o r _ e " ] + ' B a m b o o   i n   4   S e a s o n s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 2 ' + a r n a v [ " p o r _ e " ] + ' T w e l v e   L e a v e s -   F i g u r e s   i n   L a n d s c a p e   S e t t i n g s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 3 ' + a r n a v [ " p o r _ e " ] + ' T w e l v e   L a n d s c a p e s   i n   O l d   S t y l e s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 4 ' + a r n a v [ " p o r _ e " ] + ' E i g h t   L e a v e s -   F i s h   a n d   F r u i t ' + a r n a v [ " l n k _ e " ] + ' < b r > ' )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 5 ' + a r n a v [ " p o r _ e " ] + ' B e g g a r s   a n d   S t r e e t   E n t e r t a i n e r s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 6 ' + a r n a v [ " p o r _ e " ] + ' F l o w e r   P a i n t i n g s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 7 ' + a r n a v [ " p o r _ e " ] + ' F l o w e r s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 8 ' + a r n a v [ " p o r _ e " ] + ' F l o w e r s   a n d   L a n d s c a p e s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 0 9 ' + a r n a v [ " p o r _ e " ] + ' T e n   L e a v e s -   F i g u r e s   a n d   L a n d s c a p e s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 0 ' + a r n a v [ " p o r _ e " ] + ' T w e l v e   L e a v e s -   F l o w e r s ' + a r n a v [ " l n k _ e " ] + ' < b r > ' )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 1 ' + a r n a v [ " p o r _ e " ] + ' M i s c e l l a n e o u s   S u b j e c t s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 2 ' + a r n a v [ " p o r _ e " ] + ' B i r d s ,   F l o w e r s ,   a n d   L a n d s c a p e s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' a 1 3 ' + a r n a v [ " p o r _ e " ] + ' A n t h o l o g y   o f   M a s t e r p i e c e s   o f   t h e   T \ ' a n g ,   S u n g   a n d   Y u a n   D y n a s t i e s ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
  
 i f ( d   = =   " a r t i "   & &   c   = =   " c 0 1 s 0 2 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 1 d 0 0 ' + a r n a v [ " p o r _ e " ] + ' A u t u m n   C o l o r s   o n   t h e   C h \ ' i a o   a n d   H u a   M o u n t a i n s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 2 d 0 0 ' + a r n a v [ " p o r _ e " ] + ' R e t u r n   C l e a r i n g ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 3 d 0 0 ' + a r n a v [ " p o r _ e " ] + ' S p r i n g   M o r n i n g   i n   t h e   H a n   P a l a c e ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' i 0 4 d 0 0 ' + a r n a v [ " p o r _ e " ] + ' G r e e n   M o u n t a i n s   a n d   W h i t e   C l o u d s ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
  
 i f ( d   = =   " c u l t "   & &   c   = =   " c 0 5 s 0 1 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 1 0 ' + a r n a v [ " p o r _ e " ] + ' K n i f e   C o i n s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 2 0 ' + a r n a v [ " p o r _ e " ] + ' S p a d e   C o i n s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 3 0 ' + a r n a v [ " p o r _ e " ] + ' R o u n d   C o i n s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 4 0 ' + a r n a v [ " p o r _ e " ] + ' C o i n   M o u l d s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 9 0 0 ' + a r n a v [ " p o r _ e " ] + ' K e n   E l k s   C o l l e c t i o n ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
  
 i f ( d   = =   " c u l t "   & &   c   = =   " c 0 5 s 0 2 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 1 0 ' + a r n a v [ " p o r _ e " ] + ' P a p e r   M o n e y ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 2 0 ' + a r n a v [ " p o r _ e " ] + ' P r i n t i n g   B l o c k s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 3 0 ' + a r n a v [ " p o r _ e " ] + ' B a n k n o t e s ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
  
 i f ( d   = =   " p e o p "   & &   c   = =   " c 0 1 s 0 1 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 1 ' + a r n a v [ " p o r _ e " ] + ' W o o d b l o c k   P r i n t s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 2 ' + a r n a v [ " p o r _ e " ] + ' F o r e i g n   V i s i t o r s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 3 ' + a r n a v [ " p o r _ e " ] + ' L e g e n d a r y   F i g u r e s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 4 ' + a r n a v [ " p o r _ e " ] + ' C o u r t   P o r t r a i t s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 5 ' + a r n a v [ " p o r _ e " ] + ' H o n g w u   E m p e r o r ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 6 ' + a r n a v [ " p o r _ e " ] + ' A l b u m   o f   P o r t r a i t s ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 7 ' + a r n a v [ " p o r _ e " ] + ' Y u a n   D y n a s t y ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 8 ' + a r n a v [ " p o r _ e " ] + ' E m p e r o r s   S c r o l l ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 1 0 ' + a r n a v [ " p o r _ e " ] + ' C i x i ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 1 1 ' + a r n a v [ " p o r _ e " ] + ' P u y i ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
 i f ( d   = =   " p e o p "   & &   c   = =   " c 0 5 s 0 1 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 1 ' + a r n a v [ " p o r _ e " ] + ' U n t i l   1 9 7 8 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 2 ' + a r n a v [ " p o r _ e " ] + ' N i x o n   I n   C h i n a ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 3 ' + a r n a v [ " p o r _ e " ] + ' 1 9 7 9 - 1 9 9 9 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 4 ' + a r n a v [ " p o r _ e " ] + ' 2 0 0 0 -   P r e s e n t ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
 i f ( d   = =   " a t l s "   & &   c   = =   " c 0 1 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 1 ' + a r n a v [ " p o r _ e " ] + ' A n h u i - H e b e i ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 2 ' + a r n a v [ " p o r _ e " ] + ' H e i l o n g j i a n g - Q i n g h a i ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 3 ' + a r n a v [ " p o r _ e " ] + ' S h a a n x i - Z h e j i a n g ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
 i f ( d   = =   " a t l s "   & &   c   = =   " c 0 2 s 0 1 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 1 ' + a r n a v [ " c t y _ e " ] + ' 1 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 2 ' + a r n a v [ " c t y _ e " ] + ' 2 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 3 ' + a r n a v [ " c t y _ e " ] + ' 2 ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 4 ' + a r n a v [ " c t y _ e " ] + ' 2 ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
 i f ( d   = =   " a t l s "   & &   c   = =   " c 0 2 " )   {  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ b " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 1 ' + a r n a v [ " p o r _ e " ] + ' A n s h a n - F u z h o u ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 2 ' + a r n a v [ " p o r _ e " ] + ' G u a n g z h o u - J i n h u a ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 3 ' + a r n a v [ " p o r _ e " ] + ' K a s h i - Q i n g j i a n g ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 4 ' + a r n a v [ " p o r _ e " ] + ' Q i q i h a r - Ü r ü m q i ' + a r n a v [ " l n k _ e " ] + a r n a v [ " s e p " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " l n k _ b " ] + c + ' p 0 5 ' + a r n a v [ " p o r _ e " ] + ' W e i f a n g - Z h e n g z h o u ' + a r n a v [ " l n k _ e " ] )  
 d o c u m e n t . w r i t e ( a r n a v [ " t a b _ e " ] )  
 }  
 }  
 	  
 f u n c t i o n   i n c ( d )   {  
 	 i f   ( d   = =   " n a v " )   { d o c u m e n t . w r i t e ( ' < a   c l a s s = " n a v "   h r e f = " ' ) }  
 	 i f   ( d   = =   " n a v d " )   { d o c u m e n t . w r i t e ( ' < a   t a r g e t = " _ b l a n k "   c l a s s = " n a v "   h r e f = " ' ) }  
 	 i f   ( d   = =   " n a v c " )   { d o c u m e n t . w r i t e ( ' < a   c l a s s = " n a v c u r "   h r e f = " ' ) }  
 	 i f   ( d   = =   " n a v e " )   { d o c u m e n t . w r i t e ( ' < / a > ' ) }  
 	 i f   ( d   = =   " e n f i " )   { d o c u m e n t . w r i t e ( ' " > ' ) }  
 	 i f   ( d   = =   " p n v " )   { d o c u m e n t . w r i t e ( ' < p   c l a s s = " n a v " > ' ) }  
 	 i f   ( d   = =   " p _ i n t r o " )   { d o c u m e n t . w r i t e ( ' < p   c l a s s = " p a g e i n t r o " > ' ) }  
 	 i f   ( d   = =   " p n v e " )   { d o c u m e n t . w r i t e ( ' < / p > ' ) }  
 	 i f   ( d   = =   " s e p " )   { d o c u m e n t . w r i t e ( '   : :   ' ) }  
 	 i f   ( d   = =   " s p b " )   { d o c u m e n t . w r i t e ( '   |   ' ) }  
 	 i f   ( d   = =   " h m l o c " )   { d o c u m e n t . w r i t e ( ' / c h i n e s e a r t / ' ) }  
 	 i f   ( d   = =   " c o l o c " )   { d o c u m e n t . w r i t e ( ' / c h i n e s e a r t / c o n t e n t s / ' ) }  
 	 i f   ( d   = =   " a c h e " | | d   = =   " a r t c " | | d   = =   " a r t i " | | d   = =   " a t l s " | | d   = =   " c a l l " | | d   = =   " h i s t " | | d   = =   " n e w s " | | d   = =   " p e o p " | | d   = =   " f o t o " )   { d o c u m e n t . w r i t e ( [ i n c ( " c o l o c " ) ] + ( ( d ) ) + ( ' / ' ) ) }  
  
 	 i f   ( d   = =   " f i l o c " )   { d o c u m e n t . w r i t e ( ' / c h i n e s e a r t / c o n t e n t s / f i l e s / ' ) }  
 	 i f   ( d   = =   " f i e n d " )   { d o c u m e n t . w r i t e ( ' . h t m l ' ) }  
 	 i f   ( d   = =   " d i s l o c " )   { d o c u m e n t . w r i t e ( ' h t t p : / / w w w . i b i b l i o . o r g / c h i n e s e h i s t o r y / f o r u m / v i e w f o r u m . p h p ? f = ' ) }  
 	 i f   ( d   = =   " d i s i m g " )   { d o c u m e n t . w r i t e ( ' < i m g   b o r d e r = " 0 "   s r c = " h t t p : / / w w w . i b i b l i o . o r g / c h i n e s e h i s t o r y / f o r u m / t e m p l a t e s / s u b R e d / i m a g e s / l a n g _ e n g l i s h / d i s c u s s . p n g " > ' ) }  
 } ;  
  
 f u n c t i o n   d i s ( t )   {  
 	 d o c u m e n t . w r i t e ( [ b r ( 2 ) ] + [ i n c ( " n a v d " ) ] + [ i n c ( " d i s l o c " ) ] )  
 	 d o c u m e n t . w r i t e ( t ) + ( [ i n c ( " e n f i " ) ] + [ i n c ( " d i s i m g " ) ] + [ i n c ( " n a v e " ) ] ) }  
  
 f u n c t i o n   b r ( n )   {  
 	 i f   ( n   = =   1 ) { d o c u m e n t . w r i t e ( ' < b r > ' ) }  
 	 i f   ( n   = =   2 ) { d o c u m e n t . w r i t e ( ' < b r > < b r > ' ) }  
 	 i f   ( n   = =   3 ) { d o c u m e n t . w r i t e ( ' < b r > < b r > < b r > ' ) }  
 	 i f   ( n   = =   4 ) { d o c u m e n t . w r i t e ( ' < b r > < b r > < b r > < b r > ' ) }  
 }  
  
 / / l =   l e v e l   ( h m e ,   c n t ,   f r m )  
 / / p =   p a r t   ( 0 1 h i s ,   0 9 a p p ,   0 0 i n t )  
 / / 	 	 	 0 0 i n t =   t h e s e   a r e   i n t r o d u c t i o n s   t o   e a c h   p a r t ,   l o c a t e d   i n   t h e   c o n t e n t s / f i l e s   f o l d e r .  
 / / c =   c h a p t e r   t i t l e   ( c 0 1 ,   c 0 2 )  
 / / s =   s e c t i o n   ( s 0 1 ,   s 0 2 )  
 / / b =   s u b s e c t i o n   ( s a 0 1 ,   s b 0 1 )  
 / / z =   p a g e   l e v e l  
 / / ( c n t 0 1 0 1 0 1 z -   c n t [ c o n t e n t   l e v e l ] ,   0 1 [ h i s t o r y   p a r t ] ,   0 1 [ c h a p t e r   0 1 ] ,   0 1 [ s e c t i o n   0 1 ] ,   z [ n o   s u b s e c t i o n .   i f   s u b s e c t i o n -   l e t t e r   o f   s e b s e c t i o n   ( a , b , c , d , e ) ] )  
  
 f u n c t i o n   _ i n ( t , c , s , e , n 1 )   {  
  
 v a r   v  
 v a r   f i l o   =   n e w   A r r a y ( )  
 f i l o [ " f i " ] = " / c h i n e s e a r t / c o n t e n t s / f i l e s / "  
 f i l o [ " n a v " ] = " < a   c l a s s = ' n a v '   h r e f = ' "  
 f i l o [ " e l l " ] = " < / a > "  
 f i l o [ " 0 1 " ] = " c 0 1 . h t m l ' > "  
 f i l o [ " 1 1 " ] = " c 0 1 s 0 1 . h t m l ' > "  
 f i l o [ " 1 2 " ] = " c 0 1 s 0 2 . h t m l ' > "  
 f i l o [ " 1 3 " ] = " c 0 1 s 0 3 . h t m l ' > "  
 f i l o [ " 1 4 " ] = " c 0 1 s 0 4 . h t m l ' > "  
 f i l o [ " 2 1 " ] = " c 0 2 s 0 1 . h t m l ' > "  
 f i l o [ " 2 2 " ] = " c 0 2 s 0 2 . h t m l ' > "  
 f i l o [ " 2 3 " ] = " c 0 2 s 0 3 . h t m l ' > "  
 f i l o [ " 2 4 " ] = " c 0 2 s 0 4 . h t m l ' > "  
 f i l o [ " 3 1 " ] = " c 0 3 s 0 1 . h t m l ' > "  
 f i l o [ " 3 2 " ] = " c 0 3 s 0 2 . h t m l ' > "  
 f i l o [ " 3 3 " ] = " c 0 3 s 0 3 . h t m l ' > "  
 f i l o [ " 3 4 " ] = " c 0 3 s 0 4 . h t m l ' > "  
 f i l o [ " 4 1 " ] = " c 0 4 s 0 1 . h t m l ' > "  
 f i l o [ " 4 1 v " ] = " c 0 4 s 0 1 v . h t m l ' > "  
 f i l o [ " 4 2 " ] = " c 0 4 s 0 2 . h t m l ' > "  
 f i l o [ " 4 3 " ] = " c 0 4 s 0 3 . h t m l ' > "  
 f i l o [ " 4 4 " ] = " c 0 4 s 0 4 . h t m l ' > "  
 f i l o [ " 5 1 " ] = " c 0 5 s 0 1 . h t m l ' > "  
 f i l o [ " 5 2 " ] = " c 0 5 s 0 2 . h t m l ' > "  
 f i l o [ " 5 3 " ] = " c 0 5 s 0 3 . h t m l ' > "  
 f i l o [ " 5 4 " ] = " c 0 5 s 0 4 . h t m l ' > "  
 f i l o [ " 6 1 " ] = " c 0 6 s 0 1 . h t m l ' > "  
 f i l o [ " 6 2 " ] = " c 0 6 s 0 2 . h t m l ' > "  
 f i l o [ " 6 3 " ] = " c 0 6 s 0 3 . h t m l ' > "  
 f i l o [ " 6 4 " ] = " c 0 6 s 0 4 . h t m l ' > "  
  
 f o r   ( v   i n   f i l o ) {  
 i f ( v = = = v ) { ( f i l o [ v ] ) } }  
  
 v a r   a  
 v a r   c h a   =   n e w   A r r a y ( )  
 c h a [ " a c h e " ]   =   " A r c h a e o l o g y "  
 c h a [ " a r t c " ]   =   " A r c h i t e c t u r e "  
 c h a [ " a r t i " ]   =   " A r t i s t r y "  
 c h a [ " a t l s " ]   =   " A t l a s "  
 c h a [ " c a l l " ]   =   " C a l l i g r a p h y "  
 c h a [ " c u l t " ]   =   " C u l t u r e "  
 c h a [ " h i s t " ]   =   " P i c t o r a l   H i s t o r y "  
 c h a [ " n e w s " ]   =   " N e w s   i n   P i c t u r e s "  
 c h a [ " p e o p " ]   =   " P e o p l e   i n   H i s t o r y "  
 c h a [ " f o t o " ]   =   " S c e n i c   C h i n a "  
 c h a [ " c o n t " ]   =   " C o n t a c t   I n f o r m a t i o n "  
  
 f o r   ( a   i n   c h a ) {  
 i f ( c = = = a ) { ( c h a [ a ] ) } }  
  
 v a r   g  
 v a r   g p f   =   n e w   A r r a y ( )  
 g p f [ " a c h e " ]   =   " 2 0 "  
 g p f [ " a r t c " ]   =   " 2 1 "  
 g p f [ " a r t i " ]   =   " 3 0 "  
 g p f [ " a t l s " ]   =   " 2 3 "  
 g p f [ " c a l l " ]   =   " 2 4 "  
 g p f [ " c u l t " ]   =   " 3 9 "  
 g p f [ " h i s t " ]   =   " 4 0 "  
 g p f [ " n e w s " ]   =   " 4 2 "  
 g p f [ " p e o p " ]   =   " 4 1 "  
 g p f [ " f o t o " ]   =   " S c e n i c   C h i n a "  
 g p f [ " c o n t " ]   =   " C o n t a c t   I n f o r m a t i o n "  
  
 f o r   ( g   i n   g p f ) {  
 i f ( c = = = g ) { ( g p f [ g ] ) } }  
  
 v a r   n  
 v a r   c l o c   =   n e w   A r r a y ( )  
 c l o c [ " a c 0 1 " ] = c l o c [ " a h 0 1 " ] = c l o c [ " a r 0 1 " ] = c l o c [ " a t 0 1 " ] = c l o c [ " c a 0 1 " ] = c l o c [ " c u 0 1 " ] = c l o c [ " h i 0 1 " ] = c l o c [ " n w 0 1 " ] = c l o c [ " p e 0 1 " ] = c l o c [ " f o 0 1 " ] = " c 0 1 "  
 c l o c [ " a c 0 2 " ] = c l o c [ " a h 0 2 " ] = c l o c [ " a r 0 2 " ] = c l o c [ " a t 0 2 " ] = c l o c [ " c a 0 2 " ] = c l o c [ " c u 0 2 " ] = c l o c [ " h i 0 2 " ] = c l o c [ " n w 0 2 " ] = c l o c [ " p e 0 2 " ] = c l o c [ " f o 0 2 " ] = " c 0 2 "  
 c l o c [ " a c 0 3 " ] = c l o c [ " a h 0 3 " ] = c l o c [ " a r 0 3 " ] = c l o c [ " a t 0 3 " ] = c l o c [ " c a 0 3 " ] = c l o c [ " c u 0 3 " ] = c l o c [ " h i 0 3 " ] = c l o c [ " n w 0 3 " ] = c l o c [ " p e 0 3 " ] = c l o c [ " f o 0 3 " ] = " c 0 3 "  
 c l o c [ " a c 0 4 " ] = c l o c [ " a h 0 4 " ] = c l o c [ " a r 0 4 " ] = c l o c [ " a t 0 4 " ] = c l o c [ " c a 0 4 " ] = c l o c [ " c u 0 4 " ] = c l o c [ " h i 0 4 " ] = c l o c [ " n w 0 4 " ] = c l o c [ " p e 0 4 " ] = c l o c [ " f o 0 4 " ] = " c 0 4 "  
 c l o c [ " a c 0 5 " ] = c l o c [ " a h 0 5 " ] = c l o c [ " a r 0 5 " ] = c l o c [ " a t 0 5 " ] = c l o c [ " c a 0 5 " ] = c l o c [ " c u 0 5 " ] = c l o c [ " h i 0 5 " ] = c l o c [ " n w 0 5 " ] = c l o c [ " p e 0 5 " ] = c l o c [ " f o 0 5 " ] = " c 0 5 "  
 c l o c [ " a c 0 6 " ] = c l o c [ " a h 0 6 " ] = c l o c [ " a r 0 6 " ] = c l o c [ " a t 0 6 " ] = c l o c [ " c a 0 6 " ] = c l o c [ " c u 0 6 " ] = c l o c [ " h i 0 6 " ] = c l o c [ " n w 0 6 " ] = c l o c [ " p e 0 6 " ] = c l o c [ " f o 0 6 " ] = " c 0 6 "  
  
 f o r   ( n   i n   c l o c ) {  
 i f ( s = = = n ) { ( c l o c [ n ] ) } }  
  
  
 v a r   b  
 v a r   s e c   =   n e w   A r r a y ( )  
 s e c [ " 0 " ] = " "  
 s e c [ " a c 0 1 " ] = " P r e -   H i s t o r y "  
 s e c [ " a c 0 2 " ] = " Q i n   D y n a s t y "  
 s e c [ " a c 0 3 " ] = " A r c h a e o l o g i c a l   S i t e s "  
 s e c [ " a h 0 1 " ] = " H o u s e s "  
 s e c [ " a h 0 2 " ] = " S t y l e "  
 s e c [ " a r 0 1 " ] = " P a i n t i n g s "  
 s e c [ " a r 0 2 " ] = " A r t   I m i t a t i n g   L i f e "  
 s e c [ " a t 0 1 " ] = " P r o v i n c i a l   M a p s "  
 s e c [ " a t 0 2 " ] = " C i t y   M a p s "  
 s e c [ " a t 0 3 " ] = " C o u n t r y   M a p s "  
 s e c [ " a t 0 4 " ] = " H i s t o r i c a l   M a p s "  
 s e c [ " a t 0 5 " ] = " O t h e r   M a p s "  
 s e c [ " c a 0 1 " ] = " T h e   A r t   o f   C a l l i g r a p h y "  
 s e c [ " c a 0 2 " ] = " P o e t r y "  
 s e c [ " c u 0 1 " ] = " M i n o r i t i e s "  
 s e c [ " c u 0 2 " ] = " R e l i g i o n "  
 s e c [ " c u 0 3 " ] = " M a r t i a l   A r t s "  
 s e c [ " c u 0 4 " ] = " P a p e r "  
 s e c [ " c u 0 5 " ] = " M o n e y "  
 s e c [ " c u 0 6 " ] = " C h i n e s e   O p e r a "  
 s e c [ " h i 0 1 " ] = " I m p e r i a l   E d i c t s "  
 s e c [ " h i 0 2 " ] = " 1 8 t h ,   1 9 t h   a n d   E a r l y   2 0 t h   C e n t u r i e s "  
 s e c [ " h i 0 3 " ] = " C u l t u r a l   R e v o l u t i o n "  
 s e c [ " h i 0 4 " ] = " T i a n a n m e n   I n c i d e n t "  
 s e c [ " h i 0 5 " ] = " M o d e r n   H i s t o r y "  
 s e c [ " p e 0 1 " ] = " I m p e r i a l   P o r t r a i t s "  
 s e c [ " p e 0 2 " ] = " R e p u b l i c a n   E r a   F i g u r e s "  
 s e c [ " p e 0 3 " ] = " D a l a i   L a m a "  
 s e c [ " p e 0 4 " ] = " M a o   Z e d o n g "  
 s e c [ " p e 0 5 " ] = " P R C   F i g u r e s "  
 s e c [ " p e 0 6 " ] = " R O C   F i g u r e s "  
  
 f o r   ( b   i n   s e c ) {  
 i f ( s = = = b ) { ( s e c [ b ] ) } }  
  
 v a r   z  
 v a r   p i n   =   n e w   A r r a y ( )  
 p i n [ " 0 " ] = " "  
 p i n [ " a c 0 1 0 1 " ] = " O r a c l e   B o n e s "  
 p i n [ " a c 0 1 0 2 " ] = " P e k i n g   M a n "  
 p i n [ " a c 0 2 0 1 " ] = " Q i n   S h i   H u a n g d i   T o m b "  
 p i n [ " a c 0 2 0 2 " ] = " T e r r a   C o t t a   A r m y "  
 p i n [ " a c 0 3 0 1 " ] = " R e l i c s "  
 p i n [ " a c 0 3 0 2 " ] = " R u i n s "  
 p i n [ " a c 0 3 0 3 " ] = " E x c a v a t i o n s "  
 p i n [ " a c 0 3 0 4 " ] = " S i t e   D i a g r a m s "  
 p i n [ " a h 0 1 0 1 " ] = " T r a d i t i o n a l   H o u s e s "  
 p i n [ " a h 0 2 0 1 " ] = " F o r m   &   F u n c t i o n "  
 p i n [ " a r 0 1 0 1 " ] = " A l b u m s "  
 p i n [ " a r 0 1 0 2 " ] = " H a n d   S c r o l l s "  
 p i n [ " a r 0 1 0 3 " ] = " H a n g i n g   S c r o l l s "  
 p i n [ " a r 0 1 0 4 " ] = " S i n g l e   S u b j e c t "  
 p i n [ " a r 0 2 0 1 " ] = " H i s t o r y "  
 p i n [ " a r 0 2 0 2 " ] = " P o l i t i c s "  
 p i n [ " a r 0 2 0 3 " ] = " L i f e "  
 p i n [ " c a 0 1 0 1 " ] = " C a l l i g r a p h y   A s   A r t "  
 p i n [ " c a 0 1 0 2 " ] = " C a l l i g r a p h e r s "  
 p i n [ " c a 0 1 0 3 " ] = " A r t   I n   M o t i o n "  
 p i n [ " c a 0 2 0 1 " ] = " P o e t r y   A s   A r t "  
 p i n [ " c u 0 1 0 1 " ] = " P e o p l e "  
 p i n [ " c u 0 2 0 1 " ] = " P l a c e s   o f   W o r s h i p "  
 p i n [ " c u 0 2 0 2 " ] = " I c o n o g r a p h y "  
 p i n [ " c u 0 3 0 1 " ] = " P r a c t i c e "  
 p i n [ " c u 0 3 0 2 " ] = " T h e o r y "  
 p i n [ " c u 0 4 0 1 " ] = " T e c h n i q u e "  
 p i n [ " c u 0 4 0 1 v " ] = " T e c h n i q u e   :   V i d e o "  
 p i n [ " c u 0 4 0 2 " ] = " R e l i c s "  
 p i n [ " c u 0 5 0 1 " ] = " C o i n s "  
 p i n [ " c u 0 5 0 2 " ] = " P a p e r   M o n e y "  
 p i n [ " c u 0 6 0 1 " ] = " P e r f o r m a n c e "  
 p i n [ " c u 0 6 0 2 " ] = " O p e r a   M a s k s "  
 p i n [ " c u 0 6 0 3 " ] = " C o s t u m e s "  
 p i n [ " h i 0 3 0 1 " ] = " P o s t e r s "  
 p i n [ " h i 0 3 0 2 " ] = " M a o   B a d g e s "  
 p i n [ " p e 0 3 0 1 " ] = " 1 3 t h   D a l a i   L a m a "  
 p i n [ " p e 0 3 0 2 " ] = " 1 4 t h   D a l a i   L a m a "  
  
 p i n [ " n w 0 1 " ] = " N e w s   I n   P i c t u r e s "  
  
 f o r   ( z   i n   p i n ) {  
 i f ( e = = = z ) { ( p i n [ z ] ) } }  
  
 v a r   y  
 v a r   c h _ p   =   n e w   A r r a y ( )  
 c h _ p [ " a c h e " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " a c 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " a c 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 3 . h t m l ' > " + s e c [ " a c 0 3 " ] + " < / a > "  
 c h _ p [ " a r t c " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " a h 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " a h 0 2 " ] + " < / a > "  
 c h _ p [ " a r t i " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " a r 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " a r 0 2 " ] + " < / a > "  
 c h _ p [ " a t l s " ] = f i l o [ " n a v " ] + " c 0 1 . h t m ' > " + s e c [ " a t 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m ' > " + s e c [ " a t 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 3 . h t m ' > " + s e c [ " a t 0 3 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 4 . h t m ' > " + s e c [ " a t 0 4 " ] + " < / a > "  
 / /   |   " + f i l o [ " n a v " ] + " c 0 5 . h t m ' > " + s e c [ " a t 0 5 " ] + " < / a > "  
 c h _ p [ " c a l l " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " c a 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " c a 0 2 " ] + " < / a > "  
 c h _ p [ " c u l t " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " c u 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " c u 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 3 . h t m l ' > " + s e c [ " c u 0 3 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 4 . h t m l ' > " + s e c [ " c u 0 4 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 5 . h t m l ' > " + s e c [ " c u 0 5 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 6 . h t m l ' > " + s e c [ " c u 0 6 " ] + " < / a > "  
 c h _ p [ " h i s t " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " h i 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " h i 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 3 . h t m l ' > " + s e c [ " h i 0 3 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 4 . h t m l ' > " + s e c [ " h i 0 4 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 5 . h t m l ' > " + s e c [ " h i 0 5 " ] + " < / a > "  
 c h _ p [ " p e o p " ] = f i l o [ " n a v " ] + " c 0 1 . h t m l ' > " + s e c [ " p e 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 2 . h t m l ' > " + s e c [ " p e 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 3 . h t m l ' > " + s e c [ " p e 0 3 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 4 . h t m l ' > " + s e c [ " p e 0 4 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 5 . h t m l ' > " + s e c [ " p e 0 5 " ] + " < / a >   |   " + f i l o [ " n a v " ] + " c 0 6 . h t m l ' > " + s e c [ " p e 0 6 " ] + " < / a > "  
  
 c h _ p [ " n e w s " ] = f i l o [ " n a v " ] + f i l o [ " 0 1 " ] + p i n [ " n w 0 1 " ] + " < / a > "  
  
 f o r   ( y   i n   c h _ p ) {  
 i f ( c = = = y ) { ( c h _ p [ y ] ) } }  
  
 / / 	 c h i l d   p a g e s   u n d e r   e a c h   c h a p t e r  
  
 v a r   x  
 v a r   c h _ c   =   n e w   A r r a y ( )  
 c h _ c [ " a c 0 1 " ] = f i l o [ " n a v " ] + f i l o [ " 1 1 " ] + p i n [ " a c 0 1 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 1 2 " ] + p i n [ " a c 0 1 0 2 " ] + " < / a > "  
 c h _ c [ " a c 0 2 " ] = f i l o [ " n a v " ] + f i l o [ " 2 1 " ] + p i n [ " a c 0 2 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 2 2 " ] + p i n [ " a c 0 2 0 2 " ] + " < / a > "  
 c h _ c [ " a c 0 3 " ] = f i l o [ " n a v " ] + f i l o [ " 3 1 " ] + p i n [ " a c 0 3 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 3 2 " ] + p i n [ " a c 0 3 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 3 3 " ] + p i n [ " a c 0 3 0 3 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 3 4 " ] + p i n [ " a c 0 3 0 4 " ] + " < / a > "  
 c h _ c [ " a h 0 1 " ] = f i l o [ " n a v " ] + f i l o [ " 1 1 " ] + p i n [ " a h 0 1 0 1 " ] + " < / a > "  
 c h _ c [ " a h 0 2 " ] = f i l o [ " n a v " ] + f i l o [ " 2 1 " ] + p i n [ " a h 0 2 0 1 " ] + " < / a > "  
 c h _ c [ " a r 0 1 " ] = f i l o [ " n a v " ] + f i l o [ " 1 1 " ] + p i n [ " a r 0 1 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 1 2 " ] + p i n [ " a r 0 1 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 1 3 " ] + p i n [ " a r 0 1 0 3 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 1 4 " ] + p i n [ " a r 0 1 0 4 " ] + " < / a > "  
 c h _ c [ " a r 0 2 " ] = f i l o [ " n a v " ] + f i l o [ " 2 1 " ] + p i n [ " a r 0 2 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 2 2 " ] + p i n [ " a r 0 2 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 2 3 " ] + p i n [ " a r 0 2 0 3 " ] + " < / a > "  
 c h _ c [ " c a 0 1 " ] = f i l o [ " n a v " ] + f i l o [ " 1 1 " ] + p i n [ " c a 0 1 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 1 2 " ] + p i n [ " c a 0 1 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 1 3 " ] + p i n [ " c a 0 1 0 3 " ] + " < / a > "  
 c h _ c [ " c a 0 2 " ] = f i l o [ " n a v " ] + f i l o [ " 2 1 " ] + p i n [ " c a 0 2 0 1 " ] + " < / a > "  
 c h _ c [ " c u 0 1 " ] = f i l o [ " n a v " ] + f i l o [ " 1 1 " ] + p i n [ " c u 0 1 0 1 " ] + " < / a > "  
 c h _ c [ " c u 0 2 " ] = f i l o [ " n a v " ] + f i l o [ " 2 1 " ] + p i n [ " c u 0 2 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 2 2 " ] + p i n [ " c u 0 2 0 2 " ] + " < / a > "  
 c h _ c [ " c u 0 3 " ] = f i l o [ " n a v " ] + f i l o [ " 3 1 " ] + p i n [ " c u 0 3 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 3 2 " ] + p i n [ " c u 0 3 0 2 " ] + " < / a > "  
 c h _ c [ " c u 0 4 " ] = f i l o [ " n a v " ] + f i l o [ " 4 1 " ] + p i n [ " c u 0 4 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 4 1 v " ] + p i n [ " c u 0 4 0 1 v " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 4 2 " ] + p i n [ " c u 0 4 0 2 " ] + " < / a > "  
 c h _ c [ " c u 0 5 " ] = f i l o [ " n a v " ] + f i l o [ " 5 1 " ] + p i n [ " c u 0 5 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 5 2 " ] + p i n [ " c u 0 5 0 2 " ] + " < / a > "  
 c h _ c [ " c u 0 6 " ] = f i l o [ " n a v " ] + f i l o [ " 6 1 " ] + p i n [ " c u 0 6 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 6 2 " ] + p i n [ " c u 0 6 0 2 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 6 3 " ] + p i n [ " c u 0 6 0 3 " ] + " < / a > "  
 c h _ c [ " h i 0 3 " ] = f i l o [ " n a v " ] + f i l o [ " 3 1 " ] + p i n [ " h i 0 3 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 3 2 " ] + p i n [ " h i 0 3 0 2 " ] + " < / a > "  
 c h _ c [ " p e 0 3 " ] = f i l o [ " n a v " ] + f i l o [ " 3 1 " ] + p i n [ " p e 0 3 0 1 " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " 3 2 " ] + p i n [ " p e 0 3 0 2 " ] + " < / a > "  
  
 f o r   ( x   i n   c h _ c ) {  
 i f ( s = = = x ) { ( c h _ c [ x ] ) } }  
  
 v a r   w  
 v a r   c f _ c   =   n e w   A r r a y ( )  
 c f _ c [ " a c h e " ] = c f _ c [ " a r t c " ] = c f _ c [ " a r t i " ] = c f _ c [ " a t l s " ] = c f _ c [ " c a l l " ] = c f _ c [ " c u l t " ] = c f _ c [ " h i s t " ] = c f _ c [ " p e o p " ] = c f _ c [ " n e w s " ] = c f _ c [ " f o t o " ] = f i l o [ " n a v " ] + f i l o [ " f i " ] + " a c h e . h t m l ' > " + c h a [ " a c h e " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " a r t c . h t m l ' > " + c h a [ " a r t c " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " a r t i . h t m l ' > " + c h a [ " a r t i " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " a t l s . h t m l ' > " + c h a [ " a t l s " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " c a l l . h t m l ' > " + c h a [ " c a l l " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " c u l t . h t m l ' > " + c h a [ " c u l t " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " h i s t . h t m l ' > " + c h a [ " h i s t " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " n e w s . h t m l ' > " + c h a [ " n e w s " ] + " < / a >   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " p e o p . h t m l ' > " + c h a [ " p e o p " ] + " < / a > "  
  
 / /   |   " + f i l o [ " n a v " ] + f i l o [ " f i " ] + " f o t o . h t m l ' > " + c h a [ " f o t o " ] + " < / a > "  
  
 f o r   ( w   i n   c f _ c ) {  
 i f ( c = = = w ) { ( c f _ c [ w ] ) } }  
  
 	 i f ( t   = =   " b " )   {  
 	 d o c u m e n t . w r i t e ( ' < c e n t e r > < i m g   b o r d e r = " 0 "   s r c = " ' ) + [ i m g l o c ( ) ]  
 	 d o c u m e n t . w r i t e ( ' i b . c o n t . ' + ( c ) + ' . g i f ' )  
 	 d o c u m e n t . w r i t e ( ' "   w i d t h = " 1 0 0 % "   h e i g h t = " 6 5 "   a l t = " ' + ( c h a [ c ] ) + ' " > ' )  
 	 i f ( s   ! =   " 0 "   & &   c   ! =   " 0 " )   {  
 	 d o c u m e n t . w r i t e ( ' < t a b l e   c l a s s = " i n t r o " > < t r   c l a s s = " i n t r o " > < t d   h e i g h t = " 3 " > & n b s p   < / t d > < / t r > < t r > < t d   c l a s s = " i n t r o " > - ' + ( s e c [ s ] ) )  
 	 d o c u m e n t . w r i t e ( ' - < / t d > < / t r > < t r   c l a s s = " i n t r o " > < t d   h e i g h t = " 3 " > & n b s p   < / t d > < / t r > < / t a b l e > ' )  
 	 d o c u m e n t . w r i t e ( ' < p   c l a s s = " p a g e i n t r o " > ' )  
 	 d o c u m e n t . w r i t e ( p i n [ e ] )  
 	 d o c u m e n t . w r i t e ( ' < / p > ' )  
 	 }  
 	 d o c u m e n t . w r i t e ( ' < / c e n t e r > ' )  
 	 i f ( s   = =   " 0 " )   {  
 	 d o c u m e n t . w r i t e ( ' < p > & n b s p ; < / p > ' )  
 	 }  
 	 }  
 	  
 	 i f ( t   = =   " n " )   {  
 	 d o c u m e n t . w r i t e [ b o t n a v ( ( n 1 ) ) ]  
 	 }  
 	  
 f u n c t i o n   l b ( d )   {  
  
 	 i f   ( d   = =   " 0 0 0 0 0 0 n m e " )   { d o c u m e n t . w r i t e ( ' T a b l e   o f   C o n t e n t s ' ) }  
 	 i f   ( d   = =   " 0 0 0 0 0 0 l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( " h m l o c " ) ] + ' i n d e x . h t m l # t o c ' ) }  
 	  
 	 i f   ( d   = =   " t o c n m e " )   { d o c u m e n t . w r i t e ( ( c h a [ c ] ) ) }  
 	 i f   ( d   = =   " t o c l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( " f i l o c " ) ] + ( ( c ) ) + ' . h t m l ' ) }  
 	  
 	 i f   ( d   = =   " c h a n m e " )   { d o c u m e n t . w r i t e ( ( s e c [ s ] ) ) }  
 	 i f   ( d   = =   " c h a l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( ( c ) ) ] + ( c l o c [ s ] ) + ' . h t m l ' ) }  
 	  
 	 i f   ( d   = =   " c f n m e " )   { d o c u m e n t . w r i t e ( ( c f _ c [ c ] ) ) }  
 	 i f   ( d   = =   " c l n m e " )   { d o c u m e n t . w r i t e ( ( c h _ p [ c ] ) ) }  
 	 i f   ( d   = =   " c c n m e " )   { d o c u m e n t . w r i t e ( ( c h _ c [ s ] ) ) }  
 	  
 	 i f   ( d   = =   " 9 9 0 0 0 0 n m e " )   { d o c u m e n t . w r i t e ( ' A p p e n d i x ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 0 l o c " )   { d o c u m e n t . w r i t e ( ' ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 1 n m e " )   { d o c u m e n t . w r i t e ( ' C o n t a c t   I n f o r m a t i o n ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 1 l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( " h m l o c " ) ] + ' c o n t a c t / ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 2 n m e " )   { d o c u m e n t . w r i t e ( ' S e a r c h   T h i s   S i t e ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 2 l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( " h m l o c " ) ] + ' s e a r c h . h t m l ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 3 n m e " )   { d o c u m e n t . w r i t e ( ' S i t e   I n d e x ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 3 l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( " h m l o c " ) ] + ' s i t e . h t m l ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 4 n m e " )   { d o c u m e n t . w r i t e ( ' S o u r c e   I n d e x ' ) }  
 	 i f   ( d   = =   " 9 9 0 0 0 4 l o c " )   { d o c u m e n t . w r i t e ( [ i n c ( " h m l o c " ) ] + ' s o u r c e . h t m l ' ) }  
  
 }  
  
 f u n c t i o n   b o t n a v ( d )   {  
  
 	 i f   ( d   = =   " c f " )   {  
 	 d o c u m e n t . w r i t e ( [ l i n e ( ) ] )  
 	 d o c u m e n t . w r i t e ( [ i n c ( " p n v " ) ] + [ i n c ( " n a v " ) ] + [ l b ( " 0 0 0 0 0 0 l o c " ) ] + [ i n c ( " e n f i " ) ] + [ l b ( " 0 0 0 0 0 0 n m e " ) ] + [ i n c ( " n a v e " ) ] )  
 	 d o c u m e n t . w r i t e ( [ b r ( 2 ) ] + [ l b ( " c f n m e " ) ] + [ i n c ( " p n v e " ) ] ) }  
 	 i f   ( d   = =   " c l " )   {  
 	 d o c u m e n t . w r i t e ( [ l i n e ( ) ] )  
 	 d o c u m e n t . w r i t e ( [ i n c ( " p n v " ) ] + [ i n c ( " n a v " ) ] + [ l b ( " 0 0 0 0 0 0 l o c " ) ] + [ i n c ( " e n f i " ) ] + [ l b ( " 0 0 0 0 0 0 n m e " ) ] + [ i n c ( " n a v e " ) ] )  
 	 d o c u m e n t . w r i t e ( [ i n c ( " s e p " ) ] + [ i n c ( " n a v " ) ] + [ l b ( " t o c l o c " ) ] + [ i n c ( " e n f i " ) ] + [ l b ( " t o c n m e " ) ] + [ i n c ( " n a v e " ) ] )  
 	 d o c u m e n t . w r i t e ( [ b r ( 2 ) ] + [ l b ( " c l n m e " ) ] )  
 	 d o c u m e n t . w r i t e ( [ d i s ( g p f [ c ] ) ] + [ i n c ( " p n v e " ) ] ) }  
 	 i f   ( d   = =   " c c " )   {  
 	 d o c u m e n t . w r i t e ( [ l i n e ( ) ] )  
 	 d o c u m e n t . w r i t e ( [ i n c ( " p n v " ) ] + [ i n c ( " n a v " ) ] + [ l b ( " t o c l o c " ) ] + [ i n c ( " e n f i " ) ] + [ l b ( " t o c n m e " ) ] + [ i n c ( " n a v e " ) ] )  
 	 d o c u m e n t . w r i t e ( [ i n c ( " s e p " ) ] + [ i n c ( " n a v " ) ] + [ l b ( " c h a l o c " ) ] + [ i n c ( " e n f i " ) ] + [ l b ( " c h a n m e " ) ] + ' < / a > ' )  
 	 d o c u m e n t . w r i t e ( [ b r ( 2 ) ] + [ l b ( " c c n m e " ) ] )  
 	 d o c u m e n t . w r i t e ( [ d i s ( g p f [ c ] ) ] + [ i n c ( " p n v e " ) ] ) }  
 }  
 } 
