ÿþv a r   d a   =   d o c u m e n t . a l l  
 v a r   r e f = l o c a t i o n . p a t h n a m e  
  
  
  
 f u n c t i o n   f i x I E ( )  
 {  
 f o r   ( a   i n   d o c u m e n t . l i n k s )   d o c u m e n t . l i n k s [ a ] . o n f o c u s   =   d o c u m e n t . l i n k s [ a ] . b l u r ;  
 }  
 i f   ( d o c u m e n t . a l l )  
 {  
 d o c u m e n t . o n m o u s e d o w n   =   f i x I E  
 }  
  
 f u n c t i o n   e x p a n d I t ( w h i c h E l )  
 {  
                 i f   ( n a v i g a t o r . a p p N a m e   = =   ' M i c r o s o f t   I n t e r n e t   E x p l o r e r ' )  
                                 {  
                                 w h i c h E l . s t y l e . d i s p l a y   =   ( w h i c h E l . s t y l e . d i s p l a y   = =   " b l o c k "   )   ?   " n o n e "   :   " b l o c k " ;  
                                 }  
                 e l s e   r e t u r n ;  
 }  
  
 f u n c t i o n   O p e n W i n d o w ( u r l )   {  
                 v a r   W i n   =   w i n d o w . o p e n ( u r l , " d i s p l a y W i n d o w "   ) ;  
 }  
  
 f u n c t i o n   m u s o v e r ( o b j ) {  
  
                                 o b j . s t y l e . c u r s o r = ' h a n d ' ;  
 }  
 f u n c t i o n   m u s o u t ( o b j ) {  
  
                                 o b j . s t y l e . c u r s o r = ' ' ;  
 }  
 f u n c t i o n   m e n u _ o n m o u s e o v e r ( o b j ) {  
  
                                 o b j . s t y l e . b a c k g r o u n d C o l o r = ' # F F F F F F ' ;  
                                 o b j . s t y l e . c o l o r = ' D i m G r a y ' ;  
                                 o b j . s t y l e . c u r s o r = ' h a n d ' ;  
 }  
  
 f u n c t i o n   m e n u _ o n m o u s e o u t ( o b j ) {  
  
                                 o b j . s t y l e . b a c k g r o u n d C o l o r = ' ' ;  
                                 o b j . s t y l e . c o l o r = ' b l a c k ' ;  
                                 o b j . s t y l e . c u r s o r = ' d e f a u l t ' ;  
                 }  
  
  
 f u n c t i o n   C h e c k ( f o r m ) {  
  
   i f ( f o r m . a u t h o r . v a l u e . l e n g t h < 2 ) {  
     a l e r t ( " ! *©'ÌG   F'HÌ  .Æ*  (FHH3G " ) ;  
     f o r m . a u t h o r . f o c u s ( ) ;  
     f o r m . a u t h o r . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
     i f ( f o r m . r u b r i k . v a l u e . l e n g t h < 4 ) {  
     a l e r t ( " ! *©'ÌG   F'HHFÌ4'FÎ©  (Æ  FH©*G ©G *  (FHH3G  " ) ;  
     f o r m . r u b r i k . f o c u s ( ) ;  
     f o r m . r u b r i k . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
   i f ( f o r m . b r o d _ t e x t . v a l u e . l e n g t h < 4 ) {  
     a l e r t ( " ! *©'ÌG   FH©*G ©G *  (FHH3G " ) ;  
     f o r m . b r o d _ t e x t . f o c u s ( ) ;  
     f o r m . b r o d _ t e x t . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
  
   r e t u r n   t r u e ;  
 }  
  
 f u n c t i o n   C h e c k f o r m u l a r ( f o r m ) {  
  
 i f ( f o r m . f r o m _ n a m n . v a l u e . l e n g t h < 2 ) {  
     a l e r t ( " ! *©'ÌG   F'HÌ  .Æ*  (FHH3G " ) ;  
     f o r m . f r o m _ n a m n . f o c u s ( ) ;  
     f o r m . f r o m _ n a m n . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
   e p o s t = f o r m . f r o m _ e p o s t . v a l u e ;  
   i f   ( e p o s t . i n d e x O f ( " @ " ) = = - 1   | |   e p o s t . i n d e x O f ( " @ " ) < 1   | |   e p o s t . l a s t I n d e x O f ( " . " ) > e p o s t . l e n g t h - 3   | |   e p o s t . l a s t I n d e x O f ( " . " ) < e p o s t . l e n g t h - 5 )  
   {  
     a l e r t ( " ! *©'ÌG   F'HHFÌ4'FG   &G D©*1ÆFÌÌG ©G *  (G   •'3*Ì  (FHH3G  " ) ;  
     f o r m . f r o m _ e p o s t . f o c u s ( ) ;  
     f o r m . f r o m _ e p o s t . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
  
   i f ( f o r m . m e s s a g e . v a l u e . l e n g t h < 4 ) {  
     a l e r t ( " ! *©'ÌG   3G 1F,G ©'F*  (FHH3G   " ) ;  
     f o r m . m e s s a g e . f o c u s ( ) ;  
     f o r m . m e s s a g e . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
  
   r e t u r n   t r u e ;  
 }  
  
  
 f u n c t i o n   f o r m _ r e s e t ( )  
 {  
     f o r (   v a r   i = 0 ;   i <   f o r m . e l e m e n t s . l e n g t h ;   i + + )  
                                 {  
                                                 f o r m . e l e m e n t s [ i ] . v a l u e = " "  
                                 }  
                 f o r m . f o r f a t t a r e . i n n e r T e x t = " "  
                 f o r m . o v e r s a t t a r e . i n n e r T e x t = " "  
 } 
