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