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