ÿþ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   p r i n t W i n d o w ( )   {  
 w i n d o w . p r i n t ( ) ;  
 }  
  
 f u n c t i o n   c l o s e W i n d o w ( )   {  
   a l e r t ( " FH©*G ©G *  (G   3G 1©G H*HHÌÌ  F'1/" ) ;  
 w i n d o w . c l o s 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 ( 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   O p e n W i n d o w ( u r l ,   w i d t h ,   h e i g h t )   {  
                 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 " , ' w i d t h = 6 0 0 , h e i g h t = 4 0 0 , r e s i z a b l e = 1 , s c r o l l b a r s = y e s , m e n u b a r = n o '   ) ;  
 }  
  
 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 . 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 ;  
   }  
   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 . 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   3G 1F,G ©'F*  (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 s e n d m a i l ( f o r m ) {  
  
 i f ( f o r m . n a w . 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 . n a w . f o c u s ( ) ;  
     f o r m . n a w . 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 . e m a i l . 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 . e m a i l . f o c u s ( ) ;  
     f o r m . e m a i l . 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 = " "  
 }  
  
 f u n c t i o n   C h e c k v o t e ( f o r m ) {  
  
 i f ( f o r m . a l t e r n a t i v e . v a l u e = = ' ' ) {  
     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 ;  
   }  
  
   r e t u r n   t r u e ;  
 }  
  
 f u n c t i o n   c h o o s e _ p a g e ( ) {  
  
 i f   ( s c r e e n . w i d t h > = 1 2 8 0 )  
         {  
 	       v a r   v p a g e   = ' n u k t e 1 2 8 0 . p h p ' ;  
         }  
 e l s e   i f   ( s c r e e n . w i d t h > = 1 0 2 4 )  
             {  
               v a r   v p a g e   = ' n u k t e . p h p ' ;  
         }  
 e l s e  
             {  
               v a r   v p a g e   = ' n u k t e 8 0 0 . p h p ' ;  
         }  
 d a . i f r a m e _ l e f t . s r c   =   v p a g e ;  
  
 }  
 f u n c t i o n   c h o o s e _ p a g e _ t o p ( ) {  
  
 i f   ( s c r e e n . w i d t h > = 1 2 8 0 )  
         {  
 	       v a r   v p a g e   = ' t o p n u k t e 1 2 8 0 . p h p ' ;  
         }  
 e l s e   i f   ( s c r e e n . w i d t h > = 1 0 2 4 )  
             {  
               v a r   v p a g e   = ' t o p n u k t e . p h p ' ;  
         }  
 e l s e  
             {  
               v a r   v p a g e   = ' t o p n u k t e 8 0 0 . p h p ' ;  
         }  
 d a . i f r a m e _ l e f t . s r c   =   v p a g e ;  
  
 }  
  
 f u n c t i o n   C h e c k e m a i l ( f o r m ) {  
  
   e p o s t = f o r m . e m a i l . v a l u e ;  
   a l e r t ( e p o s t . i n d e x O f ( " @ " ) ) ;  
     f o r m . e m a i l . f o c u s ( ) ;  
     f o r m . e m a i l . s e l e c t ( ) ;  
     r e t u r n   f a l s e ;  
   }  
  
  
 
