ÿþf u n c t i o n   c h a n g e L a n g u a g e ( n e w L a n g )    
 {  
         w i n d o w . l o c a t i o n . h r e f   =   w i n d o w . l o c a t i o n . h r e f   +   ( ( w i n d o w . l o c a t i o n . h r e f . i n d e x O f ( ' ? ' ) > - 1 ) ? ' & ' : ' ? ' )   +   " l a n g = "   +   n e w L a n g ;  
 }  
  
 f u n c t i o n   e x t e r n a l L i n k s ( )   {  
         i f   ( ! 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 )   r e t u r n ;  
         v a r   a n c h o r 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 ( " a " ) ;  
         f o r   ( v a r   i   =   0 ;   i   <   a n c h o r s . l e n g t h ;   i + + )   {  
                 v a r   a n c h o r   =   a n c h o r s [ i ] ;  
                 i f   ( a n c h o r . g e t A t t r i b u t e ( " h r e f " )   & &  
               a n c h o r . g e t A t t r i b u t e ( " r e l " )   = =   " e x t e r n a l " )  
                         a n c h o r . t a r g e t   =   " _ b l a n k " ;  
         }  
 }  
  
 f u n c t i o n   g e t R s s F e e d L i n k ( u r l ,   d a t a ,   c o n t a i n e r ,   s h o w D e s c ,   r e a d M o r e )   {  
 	 $ . a j a x ( {  
 	 	 t y p e :   " G E T " ,  
 	 	 u r l :   u r l ,  
 	 	 d a t a :   d a t a ,  
 	 	 s u c c e s s :   f u n c t i o n ( d ) {  
 	 	 	 $ ( c o n t a i n e r ) . t e x t ( " " ) ;  
 	 	 	 $ ( d ) . f i n d ( ' i t e m ' ) . e a c h ( f u n c t i o n ( ) {  
 	 	 	 	 v a r   $ i t e m   =   $ ( t h i s ) ;  
  
 	 	 	 	 h t m l   =   " < p > < a   h r e f = \ " "   +   $ i t e m . f i n d ( ' l i n k ' ) . t e x t ( )   +   " \ " > "   +   $ i t e m . f i n d ( ' t i t l e ' ) . t e x t ( )   +   " < / a > " ;  
 	 	 	 	  
 	 	 	 	 i f   ( s h o w D e s c )   {  
 	 	 	 	 	 h t m l   + =   " < b r   / > "   +   $ i t e m . f i n d ( ' d e s c r i p t i o n ' ) . t e x t ( )   +   "   < a   h r e f = \ " "   +   $ i t e m . f i n d ( ' l i n k ' ) . t e x t ( )   +   " \ " > "   +   r e a d M o r e   +   " < / a > < / p > " ;  
 	 	 	 	 }  
 	 	 	 	 $ ( c o n t a i n e r ) . a p p e n d ( h t m l ) ;  
 	 	 	 } ) ;  
 	 	 }  
 	 } ) ;  
 }  
  
 f u n c t i o n   r e n d e r E x t e r n a l F e e d ( u r l ,   c o n t a i n e r )   {  
 	 $ ( c o n t a i n e r ) . t e x t ( " " ) ;  
 	 $ ( c o n t a i n e r ) . a p p e n d ( " < i f r a m e   i d = \ " d a t a m a i n \ "   s r c = \ " "   +   u r l   +   " \ "     s c r o l l i n g = \ " n o \ "   f r a m e b o r d e r = \ " 0 \ "   s t y l e = \ " m a r g i n :   1 0 p x   1 0 p x   2 0 p x   2 0 p x ;   w i d t h :   2 5 0 p x ;   h e i g h t : 2 2 0 p x ; \ " > < / i f r a m e > " ) ;  
 }  
 
