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