ÿþ/ /   S c r i p t   S o u r c e :   C o d e L i f t e r . c o m  
 / /   C o p y r i g h t   2 0 0 3  
 / /   D o   n o t   r e m o v e   t h i s   n o t i c e .  
  
 / /   S E T U P S :  
 / /   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
  
 / /   S e t   t h e   h o r i z o n t a l   a n d   v e r t i c a l   p o s i t i o n   f o r   t h e   p o p u p  
  
 P o s i t i o n X   =   1 0 0 ;  
 P o s i t i o n Y   =   1 0 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     =   6 0 0 ;  
 d e f a u l t H e i g h t   =   6 0 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 = 6 0 0 , h e i g h t = 6 0 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 . . . < / t i t l e > < s t y l e > b o d y { m a r g i n : 0 p x ; } < / 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 ( 6 0 0 , 6 0 0 ) ; ' ) ;  
 w r i t e l n ( ' w i d t h = 6 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 = 6 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 0 0 0 0   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 0 0 0 0   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 " > < / b o d y > < / h t m l > ' ) ;  
 c l o s e ( ) ; 	 	  
 } } 
