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