ÿþ 
  
 f u n c t i o n   s h o w C o m m e n t ( i d )  
 {  
 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . 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 ( i d ) . 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 ( i d * 1 0 0 0 ) . 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 ( i d * 1 5 0 0 ) . 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 ( i d * 2 0 0 0 ) . s t y l e . d i s p l a y = " " ;  
 	 } 	  
 	 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 ( i d ) . 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 ( i d * 1 0 0 0 ) . 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 ( i d * 1 5 0 0 ) . 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 ( i d * 2 0 0 0 ) . s t y l e . d i s p l a y = " n o n e " ;  
  
 	 } 	  
 }  
  
  
 f u n c t i o n   s h o w C o m m e n t 5 ( i d )  
 {  
 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . 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 ( i d ) . 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 ( i d * 1 0 0 0 ) . 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 ( i d * 2 0 0 0 ) . s t y l e . d i s p l a y = " " ;  
  
 	 } 	  
 	 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 ( i d ) . 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 ( i d * 1 0 0 0 ) . 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 ( i d * 2 0 0 0 ) . s t y l e . d i s p l a y = " n o n e " ;  
  
 	 } 	  
 }  
  
  
 f u n c t i o n   s h o w C o m m e n t 2 ( i d )  
 {  
 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . 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 ( i d ) . s t y l e . d i s p l a y = " " ;  
 	 	 } 	  
 	 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 ( i d ) . s t y l e . d i s p l a y = " n o n e " ;  
 	  
  
 	 } 	  
 }  
  
  
 / /   C h a n g e s   t h e   c u r s o r   t o   a n   h o u r g l a s s  
 f u n c t i o n   c u r s o r _ w a i t ( )   {  
 d o c u m e n t . b o d y . s t y l e . c u r s o r   =   ' p o i n t e r ' ;  
 }  
  
 / /   R e t u r n s   t h e   c u r s o r   t o   t h e   d e f a u l t   p o i n t e r  
 f u n c t i o n   c u r s o r _ c l e a r ( )   {  
 d o c u m e n t . b o d y . s t y l e . c u r s o r   =   ' d e f a u l t ' ;  
 }  
  
 / /   D o e s   s o m e   a r d u o u s   c a l c u l a t i o n  
 f u n c t i o n   c a l c ( )   {  
 v a r   d u m m y   =   0 ;  
  
 f o r   ( v a r   i = 0 ;   i < 1 0 0 0 0 0 0 ; i + + )   {  
 f o r   ( v a r   z = 0 ;   i < 1 0 0 0 0 0 0 ; i + + )   {  
 d u m m y   =   d u m m y   +   z   +   i ;  
 }  
 }  
  
 c u r s o r _ c l e a r ( ) ;  
 }  
  
  
 f u n c t i o n   c l e a r T x t F i e l d ( f i e l d N a m e ) {  
  
   m y f i e l d   =   d o c u m e n t . g e t E l e m e n t B y I d ( f i e l d N a m e )     ;  
    
  
 i f   ( m y f i e l d . v a l u e   = =   d o c u m e n t . g e t E l e m e n t B y I d ( f i e l d N a m e + ( ' 1 ' ) ) . v a l u e )  
  
     {  
     m y f i e l d . v a l u e   =   " "   ;  
      
     }  
    
 }  
  
 f u n c t i o n   u n c l e a r T x t F i e l d ( f i e l d N a m e ) {  
  
   m y f i e l d   =   d o c u m e n t . g e t E l e m e n t B y I d ( f i e l d N a m e )     ;  
  
     / / m y f i e l d   =   d o c u m e n t . g e t E l e m e n t s B y N a m e ( f i e l d N a m e )  
    
 i f   ( m y f i e l d . v a l u e   = =   " " )  
  
     {  
     m y f i e l d . v a l u e   =   d o c u m e n t . g e t E l e m e n t B y I d ( f i e l d N a m e + ( ' 1 ' ) ) . v a l u e   ;  
      
     }  
  
  
 }  
  
  
  
 f u n c t i o n   c l e a r T x t F i e l d 3 ( f i e l d N a m e ) {  
  
   m y f i e l d   =   d o c u m e n t . g e t E l e m e n t B y I d ( f i e l d N a m e )     ;  
    
  
     m y f i e l d . v a l u e   =   " "   ;  
      
  
    
 }  
  
  
  
 f u n c t i o n   c h e c k E m a i l A d d r e s s ( f i e l d )  
 {  
 v a r   g o o d E m a i l   =   f i e l d . v a l u e . m a t c h ( / \ b ( ^ ( \ S + @ ) . + ( ( \ . c o m ) | ( \ . n e t ) | ( \ . e d u ) | ( \ . m i l ) | ( \ . g o v ) | ( \ . o r g ) | ( \ . . { 2 , 2 } ) ) $ ) \ b / g i ) ;  
 i f   ( g o o d E m a i l )  
 	 {  
 	 	 r e t u r n   t r u e ;  
 	 }  
 e l s e  
 	 {  
 	 	 i f   ( f i e l d . v a l u e = = " "   | |   f i e l d . v a l u e = = "   " )  
 	 	 	 {  
 	 	 	 	 a l e r t   ( '     éÓÔ  ÜÐ  êçÙß!   àÐ  Üêçß  ' ) ;  
 	 	 	 	 f i e l d . f o c u s ( ) ;  
 	 	 	 	 r e t u r n   f a l s e ;  
 	 	 	 }  
 	 	 e l s e  
 	 	 	 {  
 	 	 	 	 a l e r t   ( ' ÛêÕÑê  ÓÕÐè  éÒÕÙÔ' ) ;  
 	 	 	 	 d o c u m e n t . s e n d . e m a i l . s t y l e . b a c k g r o u n d   =   " r e d "   ;  
  
 	 	 	 	 f i e l d . f o c u s ( ) ;  
 	 	 	 	 f i e l d . s e l e c t ( ) ;  
 	 	 	 	 r e t u r n   f a l s e ;  
 	 	 	 }  
 	 }  
 }  
  
 f u n c t i o n   v a l i d M a i l ( s t r E m a i l )   / / i f   v a l i d   m a i l   -   r e t u r n   t r u e  
 {  
 	 v a r   r ,   r e ;  
 	 v a r   e m a i l   =   n e w   S t r i n g ( s t r E m a i l ) ;  
 	 r e   =   / \ w + ( [ - + . ] \ w + ) * @ \ w + ( [ - . ] \ w + ) * \ . \ w + ( [ - . ] \ w + ) * / i g ;  
 	 i f ( e m a i l . s e a r c h ( r e ) = = 0 )    
 	 	 r e t u r n   t r u e ;  
 	 e l s e  
 	 	 r e t u r n   f a l s e ; 	  
 }  
  
  
 f u n c t i o n   v a l i d a t e F o r m ( )  
 {  
  
  
  
 i f ( d o c u m e n t . s e n d . n o s e . v a l u e   = =   " "   | |   d o c u m e n t . s e n d . n o s e . v a l u e   = =   " àÕéÐ" )  
 	 {  
 	 	 a l e r t ( " àÐ  ÜÞÜÐ  Ðê  éÓÔ  ÔàÕéÐ! " ) ;  
 	 	 d o c u m e n t . s e n d . n o s e . s t y l e . b a c k g r o u n d   =   " r e d "   ;  
  
 	 	 d o c u m e n t . s e n d . n o s e . f o c u s ( ) ;  
  
 	 	  
 	 	 r e t u r n   f a l s e ;  
 	 }  
  
 i f ( d o c u m e n t . s e n d . n a m e . v a l u e   = =   " "   | |   d o c u m e n t . s e n d . n a m e . v a l u e   = =   " éÝ  ÔéÕÐÜ- ê" )  
 	 {  
 	 	 a l e r t ( " ×ÕÑÔ  ÜèéÕÝ  éÝ" ) ;  
 	 	 d o c u m e n t . s e n d . n a m e . s t y l e . b a c k g r o u n d   =   " r e d "   ;  
  
 	 	 d o c u m e n t . s e n d . n a m e . f o c u s ( ) ;  
  
 	 	  
 	 	 r e t u r n   f a l s e ;  
 	 }  
 i f ( ! c h e c k E m a i l A d d r e s s ( d o c u m e n t . s e n d . e m a i l ) ) { r e t u r n   f a l s e ; }  
  
 i f ( ! v a l i d M a i l ( d o c u m e n t . s e n d . e m a i l . v a l u e ) )  
 	 {  
 	 	 a l e r t ( " ÛêÕÑê  ÔÞÙÙÜ  ÜÐ  êçÙàÔ" ) ;  
 	 	 d o c u m e n t . s e n d . e m a i l . f o c u s ( ) ;  
 	  
 	 	 r e t u r n   f a l s e ;  
 	 }  
 	 d o c u m e n t . s e n d . s u b m i t ( ) ;  
 	 r e t u r n   t r u e ;  
 }  
  
 f u n c t i o n   d i v c o l o r ( x ) {  
 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b a c k g r o u n d C o l o r   =   " # C 0 C 0 C 0 " ;  
 }  
 f u n c t i o n   r e s t a r t c o l o r ( x ) {  
 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b a c k g r o u n d C o l o r   =   " " ;  
 }  
  
  
 f u n c t i o n   b o r d e r c o l o r ( x ) {  
  
 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b o r d e r = " 1 p x   s o l i d   r e d " ;  
 / /   d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b o r d e r T o p = " s o l i d   r e d " ;    
 }  
  
 f u n c t i o n   r e s t a r t b o r d e r ( x ) {  
 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b o r d e r = " " ;  
 }  
  
  
  
 f u n c t i o n   l i m i t T e x t ( l i m i t F i e l d ,   l i m i t C o u n t ,   l i m i t N u m )   {  
 	 i f   ( l i m i t F i e l d . v a l u e . l e n g t h   >   l i m i t N u m )   {  
 	 	 l i m i t F i e l d . v a l u e   =   l i m i t F i e l d . v a l u e . s u b s t r i n g ( 0 ,   l i m i t N u m ) ;  
 	 }   e l s e   {  
 	 	 l i m i t C o u n t . v a l u e   =   l i m i t N u m   -   l i m i t F i e l d . v a l u e . l e n g t h ;  
 	 }  
 }  
  
  
  
 	 	 	 f u n c t i o n   d i v c o l o r 2 ( x ) {  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b a c k g r o u n d C o l o r   =   " # 0 0 6 6 F F " ;  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . f o n t S i z e   =   " 1 8 p x " ;  
  
  
 	 	 	 }  
 	 	 	 f u n c t i o n   r e s t a r t c o l o r 2 ( x ) {  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . b a c k g r o u n d C o l o r   =   " " ;  
 	 	 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( x ) . s t y l e . f o n t S i z e   =   " " ;  
 	 	 	 }  
 	 	 	  
 	 	 	  
 	 	 	  
 f u n c t i o n   c h a n g e c o l o r ( x ) {  
 m y O b j   =   d o c u m e n t . g e t E l e m e n t B y I d ( x ) ;  
  
 m y O b j . s t y l e . c o l o r   =   " r e d " ;  
 }  
  
  
 f u n c t i o n   c h a n g e c o l o r 4 ( x ) {  
 m y O b j   =   d o c u m e n t . g e t E l e m e n t B y I d ( x ) ;  
  
 m y O b j . s t y l e . c o l o r   =   " # B 0 8 3 1 9 " ;  
 }  
  
 	 	 	  
 f u n c t i o n   c h a n g e c o l o r 5 ( x ) {  
 m y O b j   =   d o c u m e n t . g e t E l e m e n t B y I d ( x ) ;  
  
 m y O b j . s t y l e . c o l o r   =   " w h i t e " ;  
 }  
  
 f u n c t i o n   r e s e t c o l o r ( x ) {  
 m y O b j   =   d o c u m e n t . g e t E l e m e n t B y I d ( x ) ;  
  
 m y O b j . s t y l e . c o l o r   =   " " ;  
  
 }  
 	 	 	  
 	 	 	  
  
  
 f u n c t i o n   e n l a r g e ( i d ) {  
  
  
  
 d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . s t y l e . p i x e l W i d t h = 1 0 0  
 d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . s t y l e . p i x e l H e i g h t = 8 0  
  
  
 }  
  
 f u n c t i o n   r e v e r t b a c k ( i d ) {  
 d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . s t y l e . p i x e l W i d t h = 1 0 3  
 d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . s t y l e . p i x e l H e i g h t = 6 4  
 }  
  
  
 f u n c t i o n   P r i n t C o n t e n t ( i d m e )    
       {                 v a r   D o c u m e n t C o n t a i n e r   =   d o c u m e n t . g e t E l e m e n t B y I d ( i d m e ) ;                 v a r   W i n d o w O b j e c t   =   w i n d o w . o p e n ( ' ' ,   " T r a c k H i s t o r y D a t a " ,                                                               " w i d t h = 7 4 0 , h e i g h t = 3 2 5 , t o p = 2 0 0 , l e f t = 2 5 0 , t o o l b a r s = n o , s c r o l l b a r s = y e s , s t a t u s = n o , r e s i z a b l e = n o " ) ;                 W i n d o w O b j e c t . d o c u m e n t . w r i t e l n ( D o c u m e n t C o n t a i n e r . i n n e r H T M L ) ;                 W i n d o w O b j e c t . d o c u m e n t . c l o s e ( ) ;                 W i n d o w O b j e c t . f o c u s ( ) ;                 W i n d o w O b j e c t . p r i n t ( ) ;                 W i n d o w O b j e c t . c l o s e ( ) ;         }  
  
  
 f u n c t i o n   v a l i d a t e F o r m c a l ( )  
 {  
  
 	 d o c u m e n t . s e n d . s u b m i t ( ) ;  
 	 r e t u r n   t r u e ;  
 }  
  
  
 f u n c t i o n   b o l t m e ( i d )  
 {  
  
 d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . s t y l e . f o n t W e i g h t = " b o l d " ;  
  
  
 }  
  
 f u n c t i o n   b o l t m e o f f ( i d )  
 {  
  
 d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . s t y l e . f o n t W e i g h t = " " ;  
  
  
 }  
  
  
  
  
  
 / /     ä ö â ú   ä ú î å ð å ú     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 t h i s . i m a g e P r e v i e w   =   f u n c t i o n ( ) { 	  
 	 / *   C O N F I G   * /  
 	 	  
 	 	 x O f f s e t   =   1 2 0 ;  
 	 	 y O f f s e t   =   4 0 ;  
 	 	  
 	 	 / /   t h e s e   2   v a r i a b l e   d e t e r m i n e   p o p u p ' s   d i s t a n c e   f r o m   t h e   c u r s o r  
 	 	 / /   y o u   m i g h t   w a n t   t o   a d j u s t   t o   g e t   t h e   r i g h t   r e s u l t  
 	 	  
 	 / *   E N D   C O N F I G   * /  
 	 $ ( " a . p r e v i e w " ) . h o v e r ( f u n c t i o n ( e ) {  
 	 	  
 	 	 t h i s . t i t l e   =   " " ; 	  
 	 	 v a r   c   =   ( t h i s . t   ! =   " " )   ?   " < b r / > "   +   t h i s . t     :   " " ;  
 	 	 $ ( " b o d y " ) . a p p e n d ( " < p   a l i g n = r i g h t   d i r = r t l   i d = ' p r e v i e w ' > < i m g   w i d t h = 1 5 0   h e i g h t = 1 3 0   s r c = ' " +   t h i s . n a m e   + " '     / > " +   " < / p > " ) ; 	 	 	 	 	 	 	 	    
 	 	 $ ( " # p r e v i e w " )  
 	 	 	 . c s s ( " t o p " , ( e . p a g e Y   -   x O f f s e t )   +   " p x " )  
 	 	 	 . c s s ( " l e f t " , ( e . p a g e X   +   y O f f s e t )   +   " p x " )  
 	 	 	 . f a d e I n ( " n o r m a l " ) ; 	 	 	 	 	 	  
         } ,  
 	 f u n c t i o n ( ) {  
 	 	 t h i s . t i t l e   =   t h i s . t ; 	  
 	 	 $ ( " # p r e v i e w " ) . r e m o v e ( ) ;  
         } ) ; 	  
 	 $ ( " a . p r e v i e w " ) . m o u s e m o v e ( f u n c t i o n ( e ) {  
 	 	 $ ( " # p r e v i e w " )  
 	 	 	 . c s s ( " t o p " , ( e . p a g e Y   -   x O f f s e t )   +   " p x " )  
 	 	 	 . c s s ( " l e f t " , ( e . p a g e X   +   y O f f s e t )   +   " p x " ) ;  
 	 } ) ; 	 	 	  
 } ;  
  
  
 / /   s t a r t i n g   t h e   s c r i p t   o n   p a g e   l o a d  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( ) {  
 	 i m a g e P r e v i e w ( ) ;  
 	  
 	 $ ( " . b t n - s l i d e " ) . c l i c k ( f u n c t i o n ( ) {  
 	 	 $ ( " # p a n e l " ) . s l i d e T o g g l e ( " s l o w " ) ;  
 	 	 $ ( t h i s ) . t o g g l e C l a s s ( " a c t i v e " ) ;   r e t u r n   f a l s e ;  
 	 } ) ;  
 	  
 	  
  
 	  
  
  
 	  
 } ) ;  
  
  
  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
  
  
 f u n c t i o n   d i v c o l o r _ t r i v i a ( x ) {  
 d d = d o c u m e n t . g e t E l e m e n t B y I d ( ' i s c l i c k ' ) . v a l u 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 ( x ) . s t y l e . b a c k g r o u n d C o l o r   = =   " # e 0 0 0 0 0 "   | |   x   = =   d d   )  
 { }  
 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 ( x ) . s t y l e . b a c k g r o u n d C o l o r   =   " # f 0 0 0 0 0 " ;  
 }  
 }  
 f u n c t i o n   r e s t a r t c o l o r _ t r i v i a ( x ) {  
  
 d d = d o c u m e n t . g e t E l e m e n t B y I d ( ' i s c l i c k ' ) . v a l u 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 ( x ) . s t y l e . b a c k g r o u n d C o l o r   = =   " # e 0 0 0 0 0 "   | |   x   = =   d d   )  
 { }  
 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 ( x ) . s t y l e . b a c k g r o u n d C o l o r   =   " 0 0 0 0 0 0 " ;  
 }  
  
  
 }  
  
   f u n c t i o n   s h o w C o m m e n t 2 ( i d )  
 {  
 	 i f ( d o c u m e n t . g e t E l e m e n t B y I d ( i d ) . 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 ( i d ) . s t y l e . d i s p l a y = " " ;  
  
 	 } 	  
 	 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 ( i d ) . s t y l e . d i s p l a y = " n o n e " ;  
 	  
  
 	 } 	  
 }  
  
  
  
 f u n c t i o n   u p m e n o w ( )  
 {  
  
 $ . g e t ( " c _ f i l e s . a s p " ,   {   a c t i o n 3 :   " n i k u d "   }   ) ;  
  
 }  
  
  
 
