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