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