ÿþf u n c t i o n   t e x t c h a n g e ( o b j ,   m y e v e n t ) {  
  
 	 i f   (   m y e v e n t   = =   1   )   {  
 	 	 o b j . s t y l e . b a c k g r o u n d   =   ' # F 0 F 0 E 8 ' ;  
 	 }  
 	 i f   (   m y e v e n t   = =   0   )   {  
 	 	 o b j . s t y l e . b a c k g r o u n d   =   ' # F F F F F F ' ;  
 	 	 p r e v V a l   =   o b j . v a l u e ;  
 	 }  
 	  
 }  
 f u n c t i o n   s h o w i m g ( f o r m )  
 	 	 {  
 	 	 	 a d r e s   =   f o r m . i m a g e _ f i l e . v a l u e ;  
 	 	 	 i n d e x   =   a d r e s . i n d e x O f ( " . g i f " ) ;  
 	 	 	 i n d e x   =   i n d e x   +   a d r e s . i n d e x O f ( " . j p g " ) ;  
 	 	 	 i n d e x   =   i n d e x   +   a d r e s . i n d e x O f ( " . b m p " ) ;  
 	 	 	 i f   ( f o r m . i m a g e _ f i l e . v a l u e   = =   " " )  
 	 	   {  
 	 	 	 a l e r t ( " L ü t f e n   R e s i m   S e ç i n i z   ! " ) ;  
 	 	   }  
 	 	 	 e l s e  
 	 	   {  
 	 	 	 i f   ( i n d e x   = =   - 3 ) { a l e r t ( " S e ç t i i n i z   d o s y a   r e s i m   d e i l d i r . \ n \ n   L ü t f e n   r e s i m   s e ç i n i z " ) ;  
 	 	         f o r m . w i d t h . v a l u e = 0 ;  
 	 	         f o r m . h e i g h t . v a l u e = 0 ; }  
 	 	     e l s e  
 	         {  
 	 	         v a r   i m g _ o b j   =   n e w   I m a g e ( ) ;  
 	 	         i m g _ o b j   =   f o r m . i m a g e _ f i l e . v a l u e ;  
 	 	         d o c u m e n t . c h a n g i n g . s r c   =   i m g _ o b j ;  
 	 	         d o c u m e n t . c h a n g i n g . s r c . w i d t h   =   d o c u m e n t . c h a n g i n g . w i d t h ;  
 	 	         d o c u m e n t . c h a n g i n g . s r c . h e i g h t   =   d o c u m e n t . c h a n g i n g . h e i g h t ;  
 	 	         s e t ( ) ;  
 	 	 }  
 	 	 }  
 	 	 }  
 	 	 	 f a s t   =   0 ;  
 	 	 	 c h a n g e   =   0 ;  
 	 	 	  
 f u n c t i o n   u p w ( )  
 	 	 {  
 	 	 	     d o c u m e n t . i m a g e . w i d t h . v a l u e = p a r s e I n t ( d o c u m e n t . i m a g e . w i d t h . v a l u e ) + 1 ;  
 	 	 	     r e s i z e ( ) ;  
 	 	 }  
  
 f u n c t i o n   o v e r _ u p w ( ) { u p w ( ) ;  
 	 	 	 c h a n g e   =   1 ;  
 	 	         c h a n g e t i m e   =   s e t T i m e o u t ( " f a s t _ u p w ( ) " , " 6 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   f a s t _ u p w ( ) { c l e a r T i m e o u t ( c h a n g e t i m e ) ;  
 	 	 	 u p w ( ) ;  
 	 	 	 f a s t   =   s e t T i m e o u t ( " f a s t _ u p w ( ) " , " 1 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   c l t ( )  
 	 	 {  
 	 	 	 i f   ( c h a n g e   = =   1 ) { c l e a r T i m e o u t ( c h a n g e t i m e ) ;  
 	 	 }  
 	 	 	 c l e a r T i m e o u t ( f a s t ) ;  
 	 	 	 c h a n g e   =   0 ;  
 	 	 }  
  
 f u n c t i o n   r e s i z e ( )      
 	 	 {  
 	 	 	 d o c u m e n t . c h a n g i n g . h e i g h t   =   d o c u m e n t . i m a g e . h e i g h t . v a l u e ;  
 	 	 	 d o c u m e n t . c h a n g i n g . w i d t h   =   d o c u m e n t . i m a g e . w i d t h . v a l u e ;  
 	 	 }  
  
 f u n c t i o n   d o w n w ( )  
 	 	 {  
 	 	 	 d o c u m e n t . i m a g e . w i d t h . v a l u e = p a r s e I n t ( d o c u m e n t . i m a g e . w i d t h . v a l u e ) - 1 ;  
 	 	 	 r e s i z e ( ) ;  
 	 	 }  
  
 f u n c t i o n   o v e r _ d o w n w ( )  
 	 	 {  
 	 	 	 d o w n w ( ) ;  
 	 	 	 c h a n g e   =   1 ;  
 	 	 	 c h a n g e t i m e   =   s e t T i m e o u t ( " f a s t _ d o w n w ( ) " , " 6 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   f a s t _ d o w n w ( )  
 	 	 {  
 	 	 	 c l e a r T i m e o u t ( c h a n g e t i m e ) ;  
 	 	 	 d o w n w ( ) ;  
 	 	 	 f a s t   =   s e t T i m e o u t ( " f a s t _ d o w n w ( ) " , " 1 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   u p h ( )  
 	 	 {  
 	 	 	 d o c u m e n t . i m a g e . h e i g h t . v a l u e = p a r s e I n t ( d o c u m e n t . i m a g e . h e i g h t . v a l u e ) + 1 ;  
 	 	 	 r e s i z e ( ) ;  
 	 	 }  
  
 f u n c t i o n   o v e r _ d o w n h ( )  
 	 	 {  
 	 	 	 d o w n h ( ) ;  
 	 	 	 c h a n g e   =   1 ;  
 	 	 	 c h a n g e t i m e   =   s e t T i m e o u t ( " f a s t _ d o w n h ( ) " , " 6 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   f a s t _ d o w n h ( )  
 	 	 {  
 	 	 	 c l e a r T i m e o u t ( c h a n g e t i m e ) ;  
 	 	 	 d o w n h ( ) ;  
 	 	 	 f a s t   =   s e t T i m e o u t ( " f a s t _ d o w n h ( ) " , " 1 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   o v e r _ u p h ( )  
 	 	 {  
 	 	 	 u p h ( ) ;  
 	 	 	 c h a n g e   =   1 ;  
 	 	 	 c h a n g e t i m e   =   s e t T i m e o u t ( " f a s t _ u p h ( ) " , " 6 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   f a s t _ u p h ( )  
 	 	 {  
 	 	 	 c l e a r T i m e o u t ( c h a n g e t i m e ) ;  
 	 	 	 u p h ( ) ;  
 	 	 	 f a s t   =   s e t T i m e o u t ( " f a s t _ u p h ( ) " , " 1 0 0 " ) ;  
 	 	 }  
  
 f u n c t i o n   d o w n h ( )  
 	 	 {  
 	 	 	 d o c u m e n t . i m a g e . h e i g h t . v a l u e = p a r s e I n t ( d o c u m e n t . i m a g e . h e i g h t . v a l u e ) - 1 ;  
 	 	 	 r e s i z e ( ) ;  
 	 	 }  
  
 f u n c t i o n   s e t ( )  
 	 	 {  
 	 	 	 d o c u m e n t . c h a n g i n g . w i d t h   =   d o c u m e n t . i m a g e . w i d t h ;  
 	 	 	 d o c u m e n t . c h a n g i n g . h e i g h t   =   d o c u m e n t . i m a g e . h e i g h t ;  
 	 	 }  
  
 f u n c t i o n   S e l e c t A l l ( )  
 	 	 {  
 	 	 	 f o r   ( v a r   x = 0 ; x < d o c u m e n t . D e l e t e F o r m . e l e m e n t s . l e n g t h ; x + + )  
 	 	 	 d o c u m e n t . D e l e t e F o r m . e l e m e n t s [ x ] . c h e c k e d   =   d o c u m e n t . D e l e t e F o r m . s e l e c t a l l c h e c k b o x . c h e c k e d ;  
 	 	 } 
