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