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