ÿþ/ / z m i e n n e  
 v a r   A n d r e w   =   " " ;  
 v a r   s t r H T M L   =   " " ;  
 v a r   s t r H T M L 2   =   " " ;  
 v a r   s t r M a r q u e e T e x t   =   " " ;  
 v a r   s t r M a k e L i s t   =   " " ;  
 v a r   s t r L i s t   =   " " ;  
 v a r   s t r L i s t 2   =   " " ;  
 v a r   s t r W i d g e t   =   " " ;  
 v a r   s t r A d v e r t   =   " " ;  
 v a r   N a v i g a t e   =   " _ b l a n k " ;  
 v a r   p r o f i l e N a m e   =   d o c u m e n t . g e t E l e m e n t B y I d ( " c o m b o " ) . g e t A t t r i b u t e ( " s r c " ) ;  
 p r o f i l e N a m e   =   p r o f i l e N a m e . r e p l a c e ( " h t t p : / / i n t e r i a _ g e n c t r . e u r o t i c k e t . p l / g e n c t r / " , " " ) ;  
 p r o f i l e N a m e   =   p r o f i l e N a m e . r e p l a c e ( " h t t p : / / s a l e . e u r o t i c k e t . p l / g e n c t r / " , " " ) ;  
 p r o f i l e N a m e   =   p r o f i l e N a m e . r e p l a c e ( " . j s " , " " ) ;  
  
 v a r   c o m b o 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 ( " p a r a m s " ) . g e t A t t r i b u t e ( " x m l : s p a c e " ) ;  
 v a r   t e s t _ t e s t   =   d o c u m e n t . l o c a t i o n . h r e f ;  
         i f   ( t e s t _ t e s t . i n d e x O f ( " t e s t t e s t " )   ! =   - 1 )  
                 {  
                         t e s t _ s w i t c h ( ) ;  
                 }  
  
 v a r   s t r M a r q T i t l e   =   " Z a p r a s z a m y   d o   z a k u p & o a c u t e ; w   b i l e t & o a c u t e ; w " ;  
 v a r   s t r F r o m   =   " K r a j   w y j a z d o w y : "  
 v a r   s t r T o   =   " K r a j   d o c e l o w y : " ;  
 v a r   s t r B u t t o n   =   " & n b s p ; & n b s p ; & n b s p ; & n b s p ; D a l e j " ;  
 v a r   s t r L o g   =   " T w & o a c u t e ; j   b i l e t " ;  
 v a r   s t r U R L   =   " h t t p : / / s a l e . e u r o t i c k e t . p l / s t a r t . p h p ? p r o f i l e = " ;  
 v a r   s t r C h a n g e   =   " Z m i a n y   n a   b i l e c i e " ;  
 v a r   s t r D e f a u l t F r o m   =   " 6 3 6 " ;  
 v a r   s t r D e f a u l t T o   =   " 2 3 7 4 2 " ;  
  
 / / o b r a z k i  
 v a r   l e f t I m g   =   " h t t p : / / p o d r o z u j . n e t / i m a g e s / t . p n g " ;  
 v a r   m i d I m g   =   " h t t p : / / p o d r o z u j . n e t / i m a g e s / m . p n g " ;  
 v a r   r i g h t I m g   =   " h t t p : / / p o d r o z u j . n e t / i m a g e s / b . p n g " ;  
  
 v a r   a r r o w I m g   =   " h t t p : / / s a l e . e u r o t i c k e t . p l / c o m b o / i m g / a r r o w _ h _ "   +   c o m b o C o l o r   +   " . p n g " ;  
 v a r   b u t t o n I m g   =   " h t t p : / / p o d r o z u j . n e t / i m a g e s / b u t . g i f " ;  
  
 v a r   t _ w i d t h   =   " 4 5 0 p x " ;  
 v a r   t _ h e i g h t   =   " 2 0 0 p x "  
 v a r   B o t t o m H e i g h t   =   " 1 7 1 p x " ;  
 d o c u m e n t . w r i t e ( ' < s c r i p t   i d = " l i s t a "   s r c = " h t t p : / / s a l e . e u r o t i c k e t . p l / c o m b o / c o m b o _ p r o m o _ l i s t _ p l . j s "   t y p e = " t e x t / j a v a s c r i p t " > < / s c r i p t > ' ) ;  
 / / k o l o r y   f o n t ó w  
 v a r   F o n t 1 ;  
 v a r   F o n t 2 ;  
 v a r   F o n t 3 ;  
 v a r   M a r q 1 ;  
 v a r   M a r q 2 ;  
 v a r   M a r q 3 ;  
         i f   ( c o m b o C o l o r   = =   " d b l u e " )  
                 {  
                 F o n t 1   =   " Y e l l o w " ;  
                 F o n t 2   =   " W h i t e " ;  
                 F o n t 3   =   " W h i t e " ;  
                 M a r q 1   =   " Y e l l o w " ;  
                 M a r q 2   =   " W h i t e " ;  
                 M a r q 3   =   " R e d " ;  
                 }  
         i f   ( c o m b o C o l o r   = =   " l b l u e " )  
                 {  
                 F o n t 1   =   " D a r k B l u e " ;  
                 F o n t 2   =   " D a r k B l u e " ;  
                 F o n t 3   =   " W h i t e " ;  
                 M a r q 1   =   " D a r k B l u e " ;  
                 M a r q 2   =   " R e d " ;  
                 M a r q 3   =   " D a r k B l u e " ;  
                 }  
         i f   ( c o m b o C o l o r   = =   " s t e e l " )  
                 {  
                 F o n t 1   =   " B l a c k " ;  
                 F o n t 2   =   " D a r k B l u e " ;  
                 F o n t 3   =   " W h i t e " ;  
                 M a r q 1   =   " R e d " ;  
                 M a r q 2   =   " B l a c k " ;  
                 M a r q 3   =   " R e d " ;  
                 }  
         i f   ( c o m b o C o l o r   = =   " y e l l o w " )  
                 {  
                 F o n t 1   =   " B l a c k " ;  
                 F o n t 2   =   " B l a c k " ;  
                 F o n t 3   =   " W h i t e " ;  
                 M a r q 1   =   " D a r k B l u e " ;  
                 M a r q 2   =   " B l a c k " ;  
                 M a r q 3   =   " D a r k B l u e " ;  
                 }                                        
  
                  
 / /   w y g l ¹ d  
 v a r   l _ s t r i n g   =   " " ;  
 v a r   l _ g r i d 1   =   " " ;  
 v a r   l _ g r i d 2   =   " " ;  
  
 / /   w e x  l i s t ê   d o   r e k l a m  
 M a r q u e e T e x t ( )  
  
 / /   A n d r e w :     s t y l e   d l a   k l a s  
 l _ s t r i n g   =   l _ s t r i n g   +   ' < s t y l e > ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ c o n t a i n e r   { m a r g i n - l e f t :   0 e m ;   m a r g i n - r i g h t :   0 e m ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ t o p   { b a c k g r o u n d - i m a g e :   u r l ( '   +   l e f t I m g   +   ' ) ;   b a c k g r o u n d - r e p e a t :   n o - r e p e a t ;   h e i g h t :   1 2 p x ;   w i d t h :   1 8 7 p x ;   p o s i t i o n :   a b s o l u t e ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ t o p a   { b a c k g r o u n d - i m a g e :   u r l ( '   +   m i d I m g   +   ' ) ;   b a c k g r o u n d - r e p e a t :   r e p e a t - y ;   h e i g h t :   1 3 % ;   w i d t h :   1 8 7 p x ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ m i d   { b a c k g r o u n d - i m a g e :   u r l ( '   +   m i d I m g   +   ' ) ;   b a c k g r o u n d - r e p e a t :   r e p e a t - y ;   w i d t h :   1 8 7 p x ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ m i d   { v e r t i c a l - a l i g n :   m i d d l e ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ m i d a   { b a c k g r o u n d - i m a g e :   u r l ( '   +   m i d I m g   +   ' ) ;   b a c k g r o u n d - r e p e a t :   r e p e a t - y ;   h e i g h t :   1 3 % ;   w i d t h :   1 8 7 p x ;   } ' ;  
  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . c _ b o t   { b a c k g r o u n d - i m a g e :   u r l ( '   +   r i g h t I m g   +   ' ) ;   b a c k g r o u n d - r e p e a t :   n o - r e p e a t ;   h e i g h t :   ' +   B o t t o m H e i g h t   +   ' ;   w i d t h :   1 8 7 p x ;   h e i g h t :   1 7 1 p x ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . t _ t o p   { } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . t _ m i d   { } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . t _ b o t   { } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c o n t a i n e r   { m a r g i n - l e f t :   1 5 p x ;   w i d t h :   1 6 0 p x ; } '  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c 1   { f o n t - s i z e :   1 2 p x ;   c o l o r :   '   +   F o n t 2   +   ' ;   f o n t - w e i g h t :   b o l d ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c 2   { f o n t - s i z e :   1 2 p x ;   c o l o r :   '   +   F o n t 2   +   ' ;   f o n t - w e i g h t :   b o l d ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c 0   a   { f o n t - s i z e :   1 4 p x ;   c o l o r :   '   +   F o n t 1   +   ' ;   f o n t - w e i g h t :   b o l d ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c 0   a   { t e x t - d e c o r a t i o n :   n o n e ;   c u r s o r :   t e x t ;   } '  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 1   { f o n t - s i z e :   1 1 . 3 5 5 5 p x ;   c o l o r :   '   +   M a r q 1   +   ' ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 1   a   { f o n t - s i z e :   1 1 . 3 5 5 5 p x ;   c o l o r :   '   +   M a r q 1   +   ' ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 1   a   { t e x t - d e c o r a t i o n :   n o n e ;   c o l o r :   '   +   M a r q 1   +   ' ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 2   { f o n t - s i z e :   1 4 p x ;   c o l o r :   '   +   M a r q 2   +   ' ;   f o n t - w e i g h t :   b o l d ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 2   a { f o n t - s i z e :   1 4 p x ;   c o l o r :   '   +   M a r q 2   +   ' ;   f o n t - w e i g h t :   b o l d ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 2   a   { t e x t - d e c o r a t i o n :   n o n e ;   c o l o r :   '   +   M a r q 2   +   ' ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 3   { f o n t - s i z e :   1 1 . 3 5 5 5 p x ;   c o l o r :   '   +   M a r q 3   +   ' ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 3   a { f o n t - s i z e :   1 1 . 3 5 5 5 p x ;   c o l o r :   '   +   M a r q 3   +   ' ;   f o n t - f a m i l y :   A r i a l ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m a r q u e e 3   a { t e x t - d e c o r a t i o n :   n o n e ;   c o l o r :   '   +   M a r q 3   +   ' ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c 1 b u t t o n   { c u r s o r :   p o i n t e r ;   c u r s o r :   h a n d ;   t e x t - a l i g n :   l e f t ;   c o l o r :   '   +   F o n t 3   +   ' ;   f o n t - w e i g h t :   b o l d ;   f o n t - f a m i l y :   A r i a l ;   f o n t - s i z e :   1 4 p x ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . m i d _ c 1 b u t t o n   { b a c k g r o u n d - i m a g e :   u r l ( '   +   b u t t o n I m g   +   ' ) ;   b a c k g r o u n d - r e p e a t :   n o - r e p e a t ;   h e i g h t :   2 7 p x ;   w i d t h :   9 0 p x ;   v e r t i c a l - a l i g n :   m i d d l e ;   } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' . b r e a k A   { c o l o r :   W h i t e ; } ' ;  
 l _ s t r i n g   =   l _ s t r i n g   +   ' < / s t y l e > ' ;  
  
  
 / /   A n d r e w :   l a y o u t   d l a   g a d ¿ e t u  
 l _ g r i d 1   =   ' < f o r m   n a m e = " E T X "   a c t i o n = " '   +   s t r U R L   +   p r o f i l e N a m e   +   ' & c n t = c t s "   m e t h o d = " P O S T "   t a r g e t = " _ b l a n k " > ' ;  
 l _ g r i d 1   =   l _ g r i d 1   +   ' < t a b l e   c e l l p a d d i n g = 0   c e l l s p a c i n g = 0   b o r d e r = 0   c l a s s = " c _ c o n t a i n e r "   i d = " t _ m a i n "   > ' ;  
 l _ g r i d 1   =   l _ g r i d 1   +   ' < t r   c l a s s = " t _ t o p " > < t d   c l a s s = " c _ t o p "   > < / t d > < / t r > ' ;  
 l _ g r i d 1   =   l _ g r i d 1   +   ' < t r   c l a s s = " t _ t o p a " > < t d   c l a s s = " c _ t o p a "   > < / t d > < / t r > ' ;  
 l _ g r i d 1   =   l _ g r i d 1   +   ' < t r   c l a s s = " t _ m i d " > < t d   c l a s s = " c _ m i d " > ' ;  
 l _ g r i d 1   =   l _ g r i d 1   +   ' < t a b l e   b o r d e r = 0   c l a s s = " m i d _ c o n t a i n e r " > ' ;  
 l _ g r i d 1   =   l _ g r i d 1   +   ' < t r > < t d   c l a s s = " m i d _ c 0 "   c o l s p a n = 2 > < a   t a r g e t = " '   +   N a v i g a t e   +   ' "   h r e f = " '   +   s t r U R L   +   p r o f i l e N a m e   +   ' " > ' ;  
  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / a > < b r   / > < b r   / > < / t d > < t d   c l a s s = " m i d _ c 2 " > < / t d > < / t r > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ c 1 "   c o l s p a n = 2 > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   s t r F r o m ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / t d > < t d   c l a s s = " m i d _ c 2 " > < / t d > < / t r > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ c 1 "   c o l s p a n = 2 > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < s c r i p t   l a n g u a g e = " j a v a s c r i p t " > S h o w T o p C o m b o ( ) < / s c r i p t > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < b r   / > < b r   / > < / t d > < t d   c l a s s = " m i d _ c 2 " > < / t d > < / t r > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ c 1 "   c o l s p a n = 2 > '   +   s t r T o   +   ' < / t d > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < t d   c l a s s = " m i d _ c 2 " > < / t d > < / t r > < t r > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < t d   c l a s s = " m i d _ c 1 "   c o l s p a n = 2 > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < s c r i p t   l a n g u a g e = " j a v a s c r i p t " > S h o w B o t t o m C o m b o ( ) ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / s c r i p t > < b r / > & n b s p ; < / t d > < t d   c l a s s = " m i d _ c 2 " > < / t d > < / t r > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ c 1 b u t t o n "   c o l s p a n = 2   a l i g n = " c e n t e r " ' ;  
 / / l _ g r i d 2   =   l _ g r i d 2   +   ' < i m g   s r c = " '   +   b u t t o n I m g   +   ' "   o n m o u s e o v e r = " " ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   '   o n c l i c k = " d o c u m e n t . E T X . s u b m i t ( ) ; "   / > '   +   s t r B u t t o n   +   ' < b r   / > < b r   / > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / t d > < t d   c l a s s = " m i d _ c 2 b u t t o n " > < / t d > < / t r > ' ;  
  
          
          
 v a r   S e l W i d t h   =   " 1 5 0 p x "        
        
 f u n c t i o n   s h o w T o p ( )   {  
 d o F i n a l i z e ( ) ;  
 d o c u m e n t . w r i t e ( l _ g r i d 1 ) ;  
  
 }          
  
 f u n c t i o n   s h o w B o t t o m ( )   {  
 d o c u m e n t . w r i t e ( l _ g r i d 2 ) ;  
  
 d o c u m e n t . g e t E l e m e n t B y I d ( " e t _ d c t r " ) . s t y l e . w i d t h = S e l W i d t h ;  
 d o c u m e n t . g e t E l e m e n t B y I d ( " e t _ a c t r " ) . s t y l e . w i d t h = S e l W i d t h ;  
 }  
  
 f u n c t i o n   s h o w D e f a u l t s ( )   {  
 d o c u m e n t . g e t E l e m e n t B y I d ( " e t _ d c t r " ) . v a l u e   =   s t r D e f a u l t F r o m ;  
 S e t B o t t o m C o m b o ( d o c u m e n t . g e t E l e m e n t B y I d ( " e t _ d c t r " ) ) ;  
 d o c u m e n t . g e t E l e m e n t B y I d ( " e t _ a c t r " ) . v a l u e   =   s t r D e f a u l t T o ;  
  
 }  
 d o c u m e n t . w r i t e ( l _ s t r i n g ) ;  
  
  
 f u n c t i o n   M a r q u e e T e x t ( )  
 {  
  
 / / s t r M a k e L i s t   =   " d o c u m e n t . w r i t e l n ( \ " "   +   s t r M a k e L i s t   +   " \ " ) ; " ;  
 / / d o c u m e n t . w r i t e l n ( s t r M a r q u e e T e x t ) ;  
 s t r L i s t 2   =   " & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; " ;  
 s t r L i s t 2   =   s t r L i s t 2   +   s t r M a k e L i s t ;  
 }  
                                  
 f u n c t i o n   d o F i n a l i z e ( )  
 {  
 s t r M a k e L i s t   =   s t r M a k e L i s t   +   s t r L i s t ;  
 s t r M a k e L i s t   =   s t r M a k e L i s t . r e p l a c e ( / F u l l L i n k / g ,   s t r U R L   +   p r o f i l e N a m e   +   " & c n t = s w r " ) ;  
 s t r L i s t   =   s t r M a k e L i s t . r e p l a c e ( / < b r \ / > < b r \ / > / g ,   " & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; " ) ;  
  
 s t r M a k e L i s t   =   s t r L i s t 2 ;  
 s t r M a k e L i s t   =   s t r M a k e L i s t . r e p l a c e ( / F u l l L i n k / g ,   s t r U R L   +   p r o f i l e N a m e   +   " & c n t = s w r " ) ;  
 s t r L i s t 2   =   s t r M a k e L i s t . r e p l a c e ( / < b r \ / > < b r \ / > / g ,   " & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; " ) ;  
  
 i f   ( s t r L i s t . l e n g t h   ! =   0 )  
         {  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ m a r q u e e 1 "   c o l s p a n = 2 > ' ;  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < m a r q u e e   c l a s s = " m a r q u e e 1 "   o n m o u s e o v e r = " t h i s . s t o p ( ) ; "   o n m o u s e o u t = " t h i s . s t a r t ( ) ; " > '   +   s t r L i s t   +   ' < / m a r q u e e > ' ;  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < / t d > < t d   c l a s s = " m i d _ c 2 b u t t o n " > < / t d > < / t r > ' ;      
          
         }  
          
         i f   ( s t r A d v e r t . l e n g t h   ! =   0 )  
         {  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ m a r q u e e 1 "   c o l s p a n = 2 > ' ;  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < m a r q u e e   c l a s s = " m a r q u e e 2 "   o n m o u s e o v e r = " t h i s . s t o p ( ) ; "   o n m o u s e o u t = " t h i s . s t a r t ( ) ; " > '   +   s t r A d v e r t   +   ' < / m a r q u e e > ' ;  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < / t d > < t d   c l a s s = " m i d _ c 2 b u t t o n " > < / t d > < / t r > ' ;      
          
         }  
         i f   ( s t r L i s t 2 . l e n g t h   ! =   0 )  
         {  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < t r > < t d   c l a s s = " m i d _ m a r q u e e 1 "   c o l s p a n = 2 > ' ;  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < m a r q u e e   c l a s s = " m a r q u e e 1 "   o n m o u s e o v e r = " t h i s . s t o p ( ) ; "   o n m o u s e o u t = " t h i s . s t a r t ( ) ; " > '   +   s t r L i s t 2   +   ' < / m a r q u e e > ' ;  
     l _ g r i d 2   =   l _ g r i d 2   +   ' < / t d > < t d   c l a s s = " m i d _ c 2 b u t t o n " > < / t d > < / t r > ' ;      
          
         }  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / t a b l e > < / t d > < / t r > < t r   c l a s s = " t _ m i d a " > < t d   c l a s s = " c _ m i d a " > < / t d > < / t r > < t r   c l a s s = " t _ b o t " > < t d   c l a s s = " c _ b o t " > < / t d > < / t r > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / t a b l e > ' ;  
 l _ g r i d 2   =   l _ g r i d 2   +   ' < / f o r m > ' ;  
 }              
 f u n c t i o n   s e t S i z e ( i l e )  
 {  
 d o c u m e n t . g e t E l e m e n t B y I d ( " t _ m a i n " ) . s t y l e . h e i g h t   =   i l e ;  
 }                
  
 f u n c t i o n   t e s t _ s w i t c h ( )  
 {  
 i f   ( t e s t _ t e s t . i n d e x O f ( " d b l u e " )   ! =   - 1 )  
         {  
                 c o m b o C o l o r   =   " d b l u e " ;  
         }  
 i f   ( t e s t _ t e s t . i n d e x O f ( " l b l u e " )   ! =   - 1 )  
         {  
                 c o m b o C o l o r   =   " l b l u e " ;  
         }          
 i f   ( t e s t _ t e s t . i n d e x O f ( " s t e e l " )   ! =   - 1 )  
         {  
                 c o m b o C o l o r   =   " s t e e l " ;  
         }          
   i f   ( t e s t _ t e s t . i n d e x O f ( " y e l l o w " )   ! =   - 1 )  
         {  
                 c o m b o C o l o r   =   " y e l l o w " ;  
         }          
 }               
