ÿþ$ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( ) {  
 / /   @0718@05B  AB@>:C  8  8I5B  8<O 
 	 i f   ( w i n d o w . l o c a t i o n . t o S t r i n g ( ) . c h a r A t ( w i n d o w . l o c a t i o n . t o S t r i n g ( ) . l e n g t h - 1 )   = =   ' / ' ) {  
 	 	 v a r   x   =   n e w   N u m b e r ( w i n d o w . l o c a t i o n . t o S t r i n g ( ) . l e n g t h - 1 ) ;  
 	 	 v a r   s t r   =   n e w   S t r i n g ( w i n d o w . l o c a t i o n . t o S t r i n g ( ) . s u b s t r i n g ( 0 , x ) ) ;  
 	 	 v a r   s l a s h   =   " " ;  
 	 }  
 	 e l s e   {  
 	 	 v a r   x   =   n e w   N u m b e r ( w i n d o w . l o c a t i o n . t o S t r i n g ( ) . l e n g t h )  
 	 	 v a r   s t r   =   n e w   S t r i n g ( w i n d o w . l o c a t i o n . t o S t r i n g ( ) . s u b s t r i n g ( 0 , x ) ) ;  
 	 	 v a r   s l a s h   =   " / " ;  
 	 }  
 	 x   =   s t r . l a s t I n d e x O f ( " / " ) + 1 ;  
 	 v a r   n a m e   = 	 s t r . s u b s t r i n g ( x , s t r . l e n g t h ) ;  
 	  
 	 $ . g e t J S O N ( " / p a r s e r / p h o t o s . h t m l ? n a m e = "   +   n a m e ,   f u n c t i o n ( j s o n ) {  
 	 	 p h o t o s ( j s o n . r u n a m e ,   j s o n . l a t ,   j s o n . l o n ) ;  
 	 } ) ;  
 	  
 	 f u n c t i o n   p h o t o s ( r u n a m e ,   l a t ,   l o n ) {  
 	 	 v a r   a p i K e y   =   ' c c a 0 1 e 3 5 4 5 2 7 d f c 5 6 c e 7 5 b 7 3 0 f 4 e 2 4 2 1 ' ;  
 	 	 $ . g e t J S O N ( " h t t p : / / a p i . f l i c k r . c o m / s e r v i c e s / r e s t / ? m e t h o d = f l i c k r . p h o t o s . s e a r c h & a p i _ k e y = "   +   a p i K e y   +   " & l a t = "   +   l a t   +   " & l o n = "   +   l o n   +   " & r a d i u s = 1 0 & m i n _ t a k e n _ d a t e = 2 0 0 0 - 1 1 - 0 1 & s o r t = i n t e r e s t i n g n e s s - d e s c & p e r _ p a g e = 5 & p a g e = 1 & f o r m a t = j s o n & j s o n c a l l b a c k = ? " ,  
 	 	 f u n c t i o n ( d a t a ) {  
 	 	 	 $ . e a c h ( d a t a . p h o t o s . p h o t o ,   f u n c t i o n ( i , i t e m ) {  
 	 	 	 	 u r l   =   " h t t p : / / f a r m "   +   i t e m . f a r m   +   " . s t a t i c . f l i c k r . c o m / "   +   i t e m . s e r v e r   +   " / "   +   i t e m . i d   +   " _ "   +   i t e m . s e c r e t   +   " _ t . j p g " ;  
 	 	 	 	 u r l b i g   =   " h t t p : / / f a r m "   +   i t e m . f a r m   +   " . s t a t i c . f l i c k r . c o m / "   +   i t e m . s e r v e r   +   " / "   +   i t e m . i d   +   " _ "   +   i t e m . s e c r e t   +   " . j p g " ;  
 	 	 	 	 	 	 	 	 $ ( " # p h o t o s " ) . a p p e n d ( " < a   h r e f = "   +   u r l b i g   +   "   t i t l e = '   "   +   r u n a m e   +   "   D>B>3@0D88  '   >   < i m g   s r c = "   +   u r l   +   "   a l t = '   "   +   r u n a m e   +   "   D>B>3@0D88  '   t i t l e = '   "   +   r u n a m e   +   "   D>B>3@0D88  ' >   < / a > " ) ;  
 	 	 	 } ) ;  
 	 	 	 	 	 	 	 	 $ ( " # p h o t o s   a " ) . l i g h t b o x ( ) ;  
         } ) ;  
 	 }  
 } ) ;  
  
 
