ÿþ/ /   F u n c t i o n s   f o r   w r i t i n g   n e w s   b l u r b s   o n   t h e   s i t e 
 
 v a r   n e w s A r r a y   =   n e w   A r r a y ( ) ; 
 
 f u n c t i o n   n e w s ( )   { 
     t h i s . t i t l e   =   ' ' ; 
     t h i s . a u t h o r   =   ' ' ; 
     t h i s . a u t h o r E m a i l   =   ' ' ; 
     t h i s . d a t e   =   ' ' ; 
 } 
 
 
 
 f u n c t i o n   l i s t N e w s ( n )   { 
     i f   ( n   = =   0   | |   n   >   n e w s A r r a y . l e n g t h ) 
         n   =   n e w s A r r a y . l e n g t h ; 
     f o r   ( v a r   i   =   0 ;   i   <   n ;   i + + )   {   
         d o c u m e n t . w r i t e ( ' < d i v   c l a s s = " n e w s " > \ n < h 3 > '   +   n e w s A r r a y [ i ] . t i t l e   +   ' < / h 3 > \ n ' ) ; 
         d o c u m e n t . w r i t e ( n e w s A r r a y [ i ] . b o d y   +   ' \ n ' ) ; 
         v a r   c a t ; 
         i f   ( n e w s A r r a y [ i ] . c a t e g o r y   = =   1 ) 
             c a t   =   ' < d i v   c l a s s = " c a t e g o r y 1 " > N o v i t & a g r a v e ;   s u   M o z i l l a   T h u n d e r b i r d ' ; 
         i f   ( n e w s A r r a y [ i ] . c a t e g o r y   = =   2 ) 
             c a t   =   ' < d i v   c l a s s = " c a t e g o r y 2 " > N o v i t & a g r a v e ;   s u   M o z i l l a . o r g ' ; 
         i f   ( n e w s A r r a y [ i ] . c a t e g o r y   = =   3 ) 
             c a t   =   ' < d i v   c l a s s = " c a t e g o r y 3 " > N o v i t & a g r a v e ;   s u l   s i t o ' ; 
         d o c u m e n t . w r i t e ( c a t   +   ' < / d i v > \ n < p   c l a s s = " i n f o " > I n s e r i t a   d a   < a   h r e f = " m a i l t o : '   +   n e w s A r r a y [ i ] . a u t h o r E m a i l   +   ' " > '   +   n e w s A r r a y [ i ] . a u t h o r ) ; 
         d o c u m e n t . w r i t e ( ' < / a >   |   '   +   n e w s A r r a y [ i ] . d a t e   +   ' < / p > \ n < / d i v > ' ) ; 
     } 
 } 
 
 
 f u n c t i o n   l i s t S i t e N e w s ( n )   { 
     i f   ( n   = =   0   | |   n   >   n e w s A r r a y . l e n g t h ) 
         n   =   n e w s A r r a y . l e n g t h ; 
     f o r   ( v a r   i   =   0 ;   i   <   n ;   i + + )   {   
         d o c u m e n t . w r i t e ( ' < p > < b > ' + n e w s A r r a y [ i ] . d a t e   +   ' < / b > < b r   / > \ n ' ) ; 
 	 d o c u m e n t . w r i t e ( n e w s A r r a y [ i ] . b o d y   +   ' < / p > \ n ' ) ; 
 
 
     } 
 } 
 
 
 
 
 
 
 
 / * 
 
 < d i v   c l a s s = " n e w s " > 
 
 < h 4 > M a j o r   R o a d m a p   U p d a t e < / h 4 > 
 
 < p > B e c a u s e   o f   t h e   m a j o r   c h a n g e s   i n   t h e   < a   h r e f = " h t t p : / / w w w . m o z i l l a . o r g / r o a d m a p . h t m l " > M o z i l l a   R o a d m a p < / a > ,   a   n e w   s e c t i o n   h a s   b e e n   a d d e d   t o   t h e   < a   h r e f = " f a q . h t m l " > P h o e n i x   F A Q < / a > ,   e x p l a i n i n g   a   l o t   o f   t h e   m o s t   c o m m o n   q u e s t i o n s   a b o u t   t h e   f u t u r e   o f   P h o e n i x   a n d   M o z i l l a . < / p > 
 
 < p   c l a s s = " i n f o " > P o s t e d   b y   < a   h r e f = " c o n t a c t . h t m l " > D a v i d   T e n s e r < / a >   |   2 0 0 3 - 0 4 - 0 5 < / p > 
 
 < / d i v > 
 
 * / 