ÿþ/ /   S H O W   H I D E   L A Y E R S    
 f u n c t i o n   s h o w H i d e L a y e r s ( )   {   / / v 9 . 0  
 	 v a r   i , p , v , o b j , a r g s = 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 )    
 	 w i t h   ( d o c u m e n t )   i f   ( g e t E l e m e n t B y I d   & &   ( ( o b j = g e t E l e m e n t B y I d ( 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 ;   }  
 	 }  
  
  
  
 / / Õ˜·lÂ8ÖœÍ 
 v a r   s e n d i t ;  
 f u n c t i o n   f l a s h W r i t e ( u r l , w , h , i d , b g , v a r s , w i n ) {    
 	 v a r   f l a s h S t r =    
 	 " < o b j e c t   c l a s s i d = ' c l s i d : d 2 7 c d b 6 e - a e 6 d - 1 1 c f - 9 6 b 8 - 4 4 4 5 5 3 5 4 0 0 0 0 '   c o d e b a s e = ' h t t p : / / f p d o w n l o a d . m a c r o m e d i a . c o m / p u b / s h o c k w a v e / c a b s / f l a s h / s w f l a s h . c a b # v e r s i o n = 8 , 0 , 0 , 0 '   w i d t h = ' " + w + " '   h e i g h t = ' " + h + " '   i d = ' " + i d + " '   n a m e = ' " + i d + " '   a l i g n = ' m i d d l e ' > " +    
 	 " < p a r a m   n a m e = ' a l l o w S c r i p t A c c e s s '   v a l u e = ' a l w a y s '   / > " +    
 	 " < p a r a m   n a m e = ' m o v i e '   v a l u e = ' " + u r l + " '   / > " +    
 	 " < p a r a m   n a m e = ' F l a s h V a r s '   v a l u e = ' " + v a r s + " '   / > " +    
 	 " < p a r a m   n a m e = ' w m o d e '   v a l u e = ' " + w i n + " '   / > " +    
 	 " < p a r a m   n a m e = ' m e n u '   v a l u e = ' f a l s e '   / > " +  
 	 " < p a r a m   n a m e = ' s c a l e M o d e '   v a l u e = ' n o S c a l e '   / > " +  
 	 " < p a r a m   n a m e = ' s h o w M e n u '   v a l u e = ' f a l s e '   / > " +  
 	 " < p a r a m   n a m e = ' a l i g n '   v a l u e = ' C T '   / > " +    
 	 " < p a r a m   n a m e = ' q u a l i t y '   v a l u e = ' h i g h '   / > " +    
 	 " < p a r a m   n a m e = ' b g c o l o r '   v a l u e = ' " + b g + " '   / > " +    
 	 " < e m b e d   s r c = ' " + u r l + " '   F l a s h V a r s = ' " + v a r s + " '   w m o d e = ' " + w i n + " '   m e n u = ' f a l s e '   q u a l i t y = ' h i g h '   b g c o l o r = ' " + b g + " '   w i d t h = ' " + w + " '   h e i g h t = ' " + h + " '   n a m e = ' " + i d + " '   i d = ' " + i d + " '   a l i g n = ' m i d d l e '   a l l o w S c r i p t A c c e s s = ' a l w a y s '   t y p e = ' a p p l i c a t i o n / x - s h o c k w a v e - f l a s h '   p l u g i n s p a g e = ' h t t p : / / w w w . m a c r o m e d i a . c o m / g o / g e t f l a s h p l a y e r '   / > " +    
 	 " < / o b j e c t > " ;    
 	 d o c u m e n t . w r i t e ( f l a s h S t r ) ;    
 }  
  
 / /   p n g   tÇø»ÀÉ˜Ì¬¹ 
 f u n c t i o n   s e t P n g 2 4 ( o b j )   {    
         o b j . w i d t h = o b j . h e i g h t = 1 ;    
         o b j . c l a s s N a m e = o b j . c l a s s N a m e . r e p l a c e ( / \ b p n g 2 4 \ b / i , ' ' ) ;    
         o b j . 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 . A l p h a I m a g e L o a d e r ( s r c = ' " +   o b j . s r c   + " ' , s i z i n g M e t h o d = ' i m a g e ' ) ; "    
         o b j . s r c = ' ' ;      
         r e t u r n   ' ' ;    
 }    
  
  
 / / F A Q    Ñ ®  Tºt² 
 f u n c t i o n   t o g g l e ( r e p l y I D ) {  
 	 i f   ( d o c u m e n t . g e t E l e m e n t B y I d ( ' f a q _ a n s w e r ' + r e p l y I D ) . s t y l e . d i s p l a y = = ' b l o c k ' ) {  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' f a q _ a n s w e r ' + r e p l y I D ) . 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 ( ' f a q _ a r r o w ' + r e p l y I D ) . s t y l e . d i s p l a y = ' n o n e ' ;  
 	 }  
 	 e l s e {  
 	 	 f o r ( i = 1 ; i < = 5 ; i + + ) {  
 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' f a q _ a n s w e r ' + 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 ( ' f a q _ a r r o w ' + 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 ( ' f a q _ a n s w e r ' + r e p l y I D ) . s t y l e . d i s p l a y = ' b l o c k ' ;  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' f a q _ a r r o w ' + r e p l y I D ) . s t y l e . d i s p l a y = ' b l o c k ' ;  
 	 }  
 }  
  
 / / 8ÖœÍ`ÕLµ( íÐtÇ„¹, íÐ/¬Â, Ö¬ÇíÐ)  
 f u n c t i o n   t a b ( t a b _ n a m e , m a x , t a b _ n u m )   {  
 	 f o r (   i   =   1 ;   i   < =   m a x ;   i + + ) {  
 	 	 i f   ( i   = =   t a b _ n u m )   {   d o c u m e n t . g e t E l e m e n t B y I d ( t a b _ n a m e + i ) . s t y l e . d i s p l a y   =   ' b l o c k ' ;   }  
 	 	 e l s e   {   d o c u m e n t . g e t E l e m e n t B y I d ( t a b _ n a m e + i ) . s t y l e . d i s p l a y   =   ' n o n e ' ;   }  
 	 }  
 }  
  
 / / * ¸tÇ´ÅÓÅÅ8ÖœÍ* / /  
 f u n c t i o n   l a y e r P o p u p ( o b j L a y e r , c o d e )   {  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 	 s m o g L a y e r ( c o d e ) ;  
 / / 	 d o c u m e n t . b o d y . s t y l e . o v e r f l o w   =   ' h i d d e n ' ;  
 	 v a r   o b j L a y e r W i d t h   =   $ ( o b j L a y e r ) . s t y l e . w i d t h ;  
 	 v a r   o b j L a y e r H e i g h t   =   $ ( o b j L a y e r ) . s t y l e . h e i g h t ;  
 	 v a r   o b j L a y e r L e f t   =   p a r s e I n t ( ( ( d o c u m e n t . b o d y . c l i e n t W i d t h   -   p a r s e I n t ( o b j L a y e r W i d t h ) )   /   2 )   +   d o c u m e n t . b o d y . s c r o l l L e f t ) ;  
 	 v a r   o b j L a y e r T o p   =   p a r s e I n t ( ( ( d o c u m e n t . b o d y . c l i e n t H e i g h t   -   p a r s e I n t ( o b j L a y e r H e i g h t ) )   /   2 )   +   d o c u m e n t . b o d y . s c r o l l T o p ) ;  
 	 i f ( p a r s e I n t ( d o c u m e n t . b o d y . c l i e n t H e i g h t )   <   p a r s e I n t ( o b j L a y e r H e i g h t ) )   o b j L a y e r T o p   =   d o c u m e n t . b o d y . s c r o l l T o p ;  
 	 i f ( o b j L a y e r T o p   <   0 )   o b j L a y e r T o p   =   0 ;  
 	 i f ( o b j L a y e r L e f t   <   1 0 0 )   o b j L a y e r L e f t   =   0 ;    
 / / 	 v a r   o b j L a y e r T o p   =   d o c u m e n t . b o d y . s c r o l l T o p ;  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . l e f t   =   o b j L a y e r L e f t ;  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . t o p   =   o b j L a y e r T o p ;  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . z I n d e x   =   1 0 0 ;  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . b o r d e r   =   ' 0 p x   s o l i d   r e d ' ;  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 }  
 f u n c t i o n   l a y e r C l o s e ( o b j L a y e r )   {  
 	 d o c u m e n t . g e t E l e m e n t B y I d ( o b j L a y e r ) . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 s m o g L a y e r ( ) ;  
 }  
 f u n c t i o n   s m o g L a y e r ( c o d e )   {  
 	 v a r   s m o g L a y e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' s m o g L a y e r ' ) ;  
 	 i f   ( c o d e = = ' s h o w ' )   {  
 / / 	 	 v a r   s l w   =   w i n d o w . s c r e e n . w i d t h ;  
 / / 	 	 v a r   s l h   =   w i n d o w . s c r e e n . h e i g h t ;  
 	 	 v a r   s l w   =   W r a p . s c r o l l W i d t h ;  
 	 	 v a r   s l h   =   W r a p . s c r o l l H e i g h t ;  
 	 	 	 s m o g L a y e r . s t y l e . p o s i t i o n   =   ' a b s o l u t e ' ;  
 	 	 	 s m o g L a y e r . s t y l e . w i d t h   =   s l w ;  
 	 	 	 s m o g L a y e r . s t y l e . h e i g h t   =   s l h ;  
 	 	 	 s m o g L a y e r . s t y l e . z I n d e x   =   1 0 0 ;  
 	 	 	 s m o g L a y e r . s t y l e . b o r d e r   =   ' 0 p x   s o l i d   r e d ' ;  
 	 	 	 s m o g L a y e r . s t y l e . d i s p l a y   =   ' b l o c k ' ;  
 	 	 	 s m o g L a y e r . s t y l e . l e f t   =   0 ;  
 	 	 	 s m o g L a y e r . s t y l e . t o p   =   0 ;  
 / / 	 	 	 d o c u m e n t . b o d y . s c r o l l   =   " n o " ;  
 	 }   e l s e   {  
 	 	 s m o g L a y e r . s t y l e . d i s p l a y   =   ' n o n e ' ;  
 	 	 d o c u m e n t . b o d y . s t y l e . o v e r f l o w   =   ' a u t o ' ;  
 / / 	 	 d o c u m e n t . b o d y . s c r o l l   =   " y e s " ;  
 	 }  
 }  
 f u n c t i o n   s h o w E m b e d ( ) {   v a r   s e l e c t s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " e m b e d " ) ;   f o r   ( i   =   0 ;   i   ! =   s e l e c t s . l e n g t h ;   i + + )   {   s e l e c t s [ i ] . 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   h i d e E m b e d ( ) {   v a r   s e l e c t s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " e m b e d " ) ;   f o r   ( i   =   0 ;   i   ! =   s e l e c t s . l e n g t h ;   i + + )   {   s e l e c t s [ i ] . s t y l e . v i s i b i l i t y   =   " h i d d e n " ;   }   }  
  
  
 / /   àÏ¤Ð  »Å0® 
 f u n c t i o n   g e t C o o k i e (   n a m e   ) {  
         v a r   n a m e O f C o o k i e   =   n a m e   +   " = " ;  
         v a r   x   =   0 ;  
         w h i l e   (   x   < =   d o c u m e n t . c o o k i e . l e n g t h   )  
         {  
                         v a r   y   =   ( x + n a m e O f C o o k i e . l e n g t h ) ;  
                         i f   (   d o c u m e n t . c o o k i e . s u b s t r i n g (   x ,   y   )   = =   n a m e O f C o o k i e   )   {  
                                         i f   (   ( e n d O f C o o k i e = d o c u m e n t . c o o k i e . i n d e x O f (   " ; " ,   y   ) )   = =   - 1   )  
                                                         e n d O f C o o k i e   =   d o c u m e n t . c o o k i e . l e n g t h ;  
                                         r e t u r n   u n e s c a p e (   d o c u m e n t . c o o k i e . s u b s t r i n g (   y ,   e n d O f C o o k i e   )   ) ;  
                         }  
                         x   =   d o c u m e n t . c o o k i e . i n d e x O f (   "   " ,   x   )   +   1 ;  
                         i f   (   x   = =   0   )  
                                         b r e a k ;  
         }  
         r e t u r n   " " ;  
 }  
  
 / /   àÏ0®  $ÁÈ 
 f u n c t i o n   s e t C o o k i e (   n a m e ,   v a l u e ,   e x p i r e d a y s   )   {  
 	 v a r   t o d a y D a t e   =   n e w   D a t e ( ) ;  
 	 t o d a y D a t e . s e t D a t e (   t o d a y D a t e . g e t D a t e ( )   +   e x p i r e d a y s   ) ;  
 	 d o c u m e n t . c o o k i e   =   n a m e   +   " = "   +   e s c a p e (   v a l u e   )   +   " ;   p a t h = / ;   e x p i r e s = "   +   t o d a y D a t e . t o G M T S t r i n g ( )   +   " ; "   }  
  
 / /   ÓÅÅ=ÌÐÅÁXÇ  Á¹lÐ 
 f u n c t i o n   l i n k T o O p e n e r ( U R L ) {  
 	 i f   ( w i n d o w . o p e n e r   & &   ! w i n d o w . o p e n e r . c l o s e d )  
 	 w i n d o w . o p e n e r . l o c a t i o n   =   U R L ;  
 	 w i n d o w . c l o s e ( ) ;    
 }  
 / /   È¹°Æ¤Â  0µ|·ä²È²”²  ¸tÇ´Å_ 1  
  
 f u n c t i o n   i n i t M o v i n g ( t a r g e t ,   p o s i t i o n ,   t o p L i m i t ,   b t m L i m i t )   {  
         i f   ( ! t a r g e t )  
                 r e t u r n   f a l s e ;  
  
         v a r   o b j   =   t a r g e t ;  
         o b j . i n i t T o p   =   p o s i t i o n ;  
         o b j . t o p L i m i t   =   t o p L i m i t ;  
         o b j . b o t t o m L i m i t   =   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l H e i g h t   -   b t m L i m i t ;  
  
         o b j . s t y l e . p o s i t i o n   =   " a b s o l u t e " ;  
         o b j . t o p   =   o b j . i n i t T o p ;  
         o b j . l e f t   =   o b j . i n i t L e f t ;  
  
         i f   ( t y p e o f ( w i n d o w . p a g e Y O f f s e t )   = =   " n u m b e r " )   {  
                 o b j . g e t T o p   =   f u n c t i o n ( )   {  
                         r e t u r n   w i n d o w . p a g e Y O f f s e t ;  
                 }  
         }   e l s e   i f   ( t y p e o f ( d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p )   = =   " n u m b e r " )   {  
                 o b j . g e t T o p   =   f u n c t i o n ( )   {  
                         r e t u r n   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p ;  
                 }  
         }   e l s e   {  
                 o b j . g e t T o p   =   f u n c t i o n ( )   {  
                         r e t u r n   0 ;  
                 }  
         }  
  
         i f   ( s e l f . i n n e r H e i g h t )   {  
                 o b j . g e t H e i g h t   =   f u n c t i o n ( )   {  
                         r e t u r n   s e l f . i n n e r H e i g h t ;  
                 }  
         }   e l s e   i f ( d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t )   {  
                 o b j . g e t H e i g h t   =   f u n c t i o n ( )   {  
                         r e t u r n   d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t ;  
                 }  
         }   e l s e   {  
                 o b j . g e t H e i g h t   =   f u n c t i o n ( )   {  
                         r e t u r n   5 0 0 ;  
                 }  
         }  
  
         o b j . m o v e   =   s e t I n t e r v a l ( f u n c t i o n ( )   {  
                 i f   ( o b j . i n i t T o p   >   0 )   {  
                         p o s   =   o b j . g e t T o p ( )   +   o b j . i n i t T o p ;  
                 }   e l s e   {  
                         p o s   =   o b j . g e t T o p ( )   +   o b j . g e t H e i g h t ( )   +   o b j . i n i t T o p ;  
                         / / p o s   =   o b j . g e t T o p ( )   +   o b j . g e t H e i g h t ( )   /   2   -   1 5 ;  
                 }  
  
                 i f   ( p o s   >   o b j . b o t t o m L i m i t )  
                         p o s   =   o b j . b o t t o m L i m i t ;  
                 i f   ( p o s   <   o b j . t o p L i m i t )  
                         p o s   =   o b j . t o p L i m i t ;  
  
                 i n t e r v a l   =   o b j . t o p   -   p o s ;  
                 o b j . t o p   =   o b j . t o p   -   i n t e r v a l   /   3 ;  
                 o b j . s t y l e . t o p   =   o b j . t o p   +   " p x " ;  
         } ,   3 0 )  
 }  
  
  
 / /   0µ|·ä²È²”²  ¸tÇ´Å_ 2    
  
   f u n c t i o n   p o s i t i o n M e s s a g e ( ) {        
 	 / / d v S i d e b a r   m e n u   i d  
 	    
 	 v a r   e l e m = d o c u m e n t . g e t E l e m e n t B y I d ( " t o p " ) ;  
 	 / /   Í0®  t o p   ÇXÎ   
 	 e l e m . s t y l e . t o p = d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p   +   2 6 6   +   " p x " ;   	 	 	 	  
 	 e l e m . s t y l e . p o s i t i o n = " a b s o l u t e " ;  
 	 e l e m . s t y l e . r i g t r = 1 0 0 0 + " p x " ;  
 	 / / e l e m . s t y l e . z I n d e x = " 1 0 0 0 " ;  
 	 s e t T i m e o u t ( " m o v e E l e m e n t ( ) " ,   1 0 ) ;    
 }    
  
 f u n c t i o n   m o v e E l e m e n t ( ) {    
 	    
 	 v a r   e l e m   =   d o c u m e n t . g e t E l e m e n t B y I d ( " t o p " ) ;    
 	 s t a r t   =   p a r s e I n t   ( e l e m . s t y l e . t o p ) ;      
 	 e n d   =   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p   +   2 6 6 ;   / /   l i m i t   ÈXÕ0® 
 	    
 	 / / s t a r t   @Æ  e n d   ¬<Çtº  Hº˜Íä².  
 	 i f   (   s t a r t   ! =   e n d   )   {  
 	 	 s c a l e   =       M a t h . c e i l (   M a t h . a b s (   e n d   -   s t a r t   )   /   1 0   ) ; 	 	  
 	 	  
 	 	 / / ¤ÂlÐd¸tÇ  ÁÀè²<Ç\¸  tÇÙ³tÇÜÂ  È¹tÇ±¤Â¬. . .  
 	 	 i f   (   e n d   <   s t a r t   ) 	 {  
 	 	 	 s c a l e   =   - s c a l e ;   / /   a l e r t ( " e n d   =   " + e n d + "   s t a r t   =   " + s t a r t ) ;  
 	 	 }  
 	 	 	 e l e m . s t y l e . t o p   =   p a r s e I n t   ( e l e m . s t y l e . t o p ) +   s c a l e   +   " p x " ;    
 	 } 	  
 	 s e t T i m e o u t ( " m o v e E l e m e n t ( ) " ,   1 0 ) ;  
 }  
  
 f u n c t i o n   t o p M o v e ( ) { 	    
 	   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p   =   0   + " p x " ;  
 }  
    
 f u n c t i o n   a d d L o a d E v e n t ( f u n c ) { 	  
     v a r   o l d o n l o a d   =   w i n d o w . o n l o a d ;  
     i f   ( t y p e o f   w i n d o w . o n l o a d   ! =   ' f u n c t i o n ' )   { 	    
         w i n d o w . o n l o a d   =   f u n c ;  
     }   e l s e   {  
         w i n d o w . o n l o a d   =   f u n c t i o n ( )   {  
             o l d o n l o a d ( ) ;  
             f u n c ( ) ;  
         }  
     }  
    
 }  
 
