ÿþ/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
   *                                                       C o n t a c t   U S   S c r i p t  
   *                                                     - - - - - - - - - - - - - - - - - - -  
   *       b e g i n                               :   M o n d a y ,   M a y   2 9 ,   2 0 0 6  
   *       c o p y r i g h t                     :   ( C )   2 0 0 6   T h e   R i g h t C l i c k     $ T e a m   =   " w w w . r i g h t c l i c k . i r " ;  
   *       e m a i l                                 :   i n f o @ r i g h t c l i c k . i r  
   *  
   *       $ I d :   C o n t a c t   U S   S c r i p t , v   2 . 0   2 0 0 6 / 0 5 / 2 9   1 3 : 2 0 : 0 0   $  
   *  
   * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /  
 f u n c t i o n   O n L o a d F u n c t i o n ( )  
 {  
 	 d o c u m e n t . M y F r m . N a m e . f o c u s ( ) ;  
 }  
  
 f u n c t i o n   I n p u t F o c u s e d ( O b j )  
 {  
 	 O b j . c l a s s N a m e   =   ' F o c u s e d I n p u t ' ;  
 }  
  
 f u n c t i o n   I n p u t B l u r ( O b j )  
 {  
 	 O b j . c l a s s N a m e   =   ' n o n e ' ;  
 }  
  
 f u n c t i o n   E m a i l V a l i d a t e ( E m a i l A d d r )  
 {  
 	 r e = / ^ \ w + ( [ \ . - ] ? \ w + ) * @ \ w + ( [ \ . - ] ? \ w + ) * ( \ . \ w { 2 , 3 } ) + $ / ;  
 	 r e t u r n   r e . t e s t ( E m a i l A d d r ) ;  
 }  
  
 f u n c t i o n   l o a d i n g ( t u r n )  
 {  
 	 i f ( t u r n )  
 	 {  
 	 	 w i n d o w . d o c u m e n t . g e t E l e m e n t B y I d ( " R e s u l t " ) . s t y l e . d i s p l a y   =   ' ' ;  
 	 	 w i n d o w . d o c u m e n t . g e t E l e m e n t B y I d ( " R e s u l t " ) . i n n e r H T M L   =   ' < s p a n   d i r = " l t r " > < f o n t   c o l o r = " # 0 0 0 0 8 0 " > L o a d i n g   . . . < / f o n t > < / s p a n > ' ;  
 	 	 w i n d o w . d o c u m e n t . b o d y . s t y l e . c u r s o r   =   " w a i t " ;  
 	 	 w i n d o w . s t a t u s   =   ' P l e a s e   w a i t . . . ' ;  
 	 }   e l s e   {  
 	 	 w i n d o w . d o c u m e n t . b o d y . s t y l e . c u r s o r   =   ' ' ;  
 	 	 w i n d o w . s t a t u s   =   ' D o n e ' ;  
 	 }  
  
 	 r e t u r n   t r u e ;  
 }  
 
