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