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