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