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