ÿþv a r   s u p p o r t O p e n e d   =   f a l s e ;  
 v a r   s u p p o r t S l i d i n g   =   f a l s e ;  
 v a r   s u p p o r t T i m e r ;  
  
 v a r   S U P P O R T _ S L I D I N G _ S P E E D   =   5 0 0 ;  
 v a r   S U P P O R T _ W A I T _ I N T E R V A L   =   5 0 0 0 ;  
 v a r   S U P P O R T _ C O O K I E _ N A M E   =   " l o c k s e r v i c e _ s u p p o r t _ s h o w e d " ;  
 v a r   S U P P O R T _ C O O K I E _ Y E S _ V A L U E   =   " y e s " ;  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {  
 	 i n i t S u p p o r t ( ) ;  
 } ) ;  
  
 f u n c t i o n   i n i t S u p p o r t ( )   {  
 	 $ ( " b o d y " ) . a p p e n d (  
 	 	 ' < d i v   i d = " s u p p o r t " > '   +  
 	 	 	 ' < d i v   i d = " s u p p o r t - c o n t e n t " > '   +  
 	 	 	 	 ' < h 3   i d = " s u p p o r t - c o n t e n t - t i t l e " > -   "%'!/     "< / h 3 > '   +  
 	 	 	 	 ' < p   i d = " s u p p o r t - c o n t e n t - g r e e t i n g " > -   4@02AB2C9B5,   G5<  <>3C  1KBL  0<  ?>;575=? < / p > '   +  
 	 	 	 	 ' < p   i d = " s u p p o r t - c o n t e n t - l i n k s " > < a   i d = " s u p p o r t - c o n t e n t - l i n k s - a s k "   h r e f = " # a s k " > 040BL  2>?@>A< / a >   /   < a   t a r g e t = " _ b l a n k "   h r e f = " h t t p : / / w w w . f a c e b o o k . c o m / L o c k s e r v i c e " > K  2  F a c e b o o k < / a >   /   < a   i d = " s u p p o r t - c o n t e n t - l i n k s - c l o s e "   h r e f = " # c l o s e " > 0:@KBL< / a > < / p > '   +  
 	 	 	 ' < / d i v > '   +  
 	 	 	 ' < d i v   i d = " s u p p o r t - b u t t o n " > '   +  
 	 	 	 	 ' < d i v   i d = " s u p p o r t - b u t t o n - c a p t i o n - o p e n " > < / d i v > '   +  
 	 	 	 	 ' < d i v   i d = " s u p p o r t - b u t t o n - c a p t i o n - c l o s e " > < / d i v > '   +  
 	 	 	 ' < / d i v > '   +  
 	 	 ' < / d i v > '  
 	 ) ;  
 	 $ ( " # s u p p o r t " ) . c s s ( {   l e f t :   ( s u p p o r t O p e n e d   ?   0   :   - 3 6 0   )   +   " p x "   } ) ;  
 	 $ ( " # s u p p o r t - b u t t o n - c a p t i o n - o p e n " ) . c s s ( {   o p a c i t y :   ( s u p p o r t O p e n e d   ?   0 . 0   :   1 . 0   ) } ) ; 	  
 	 $ ( " # s u p p o r t - b u t t o n - c a p t i o n - c l o s e " ) . c s s ( {   o p a c i t y :   ( s u p p o r t O p e n e d   ?   1 . 0   :   0 . 0   ) } ) ;  
 	 $ ( " # s u p p o r t - b u t t o n " ) . c l i c k ( f u n c t i o n ( )   {   t o g g l e S u p p o r t ( ) ;   } ) ;  
 	 $ ( " # s u p p o r t - c o n t e n t - l i n k s - a s k " ) . c l i c k ( f u n c t i o n ( )   {    
 	 	 w i n d o w . o p e n (  
 	 	 	 " h t t p s : / / s i t e h e a r t . c o m / w e b c o n s u l t a t i o n / 3 3 3 0 4 5 ? s = 1 & v e r s i o n = 1 " ,  
 	 	 	 " s i t e h e a r t _ s i t e w i n d o w _ 3 3 3 0 4 5 " ,  
 	 	 	 " w i d t h = 6 0 0 , h e i g h t = 4 5 0 , t o p = 3 0 , t o p = 3 0 , l e f t = 3 0 , r e s i z a b l e = y e s "  
 	 	 ) ;  
 	 	 h i d e S u p p o r t ( ) ;  
 	 	 r e t u r n   f a l s e ; 	 	  
 	 } ) ;  
 	 $ ( " # s u p p o r t - c o n t e n t - l i n k s - c l o s e " ) . c l i c k ( f u n c t i o n ( )   {  
 	 	 s l i d e S u p p o r t ( f a l s e ) ;  
 	 	 r e t u r n   f a l s e ;  
 	 } ) ;  
 	 i f   ( $ . c o o k i e ( S U P P O R T _ C O O K I E _ N A M E )   ! =   S U P P O R T _ C O O K I E _ Y E S _ V A L U E )   {  
 	 	 s u p p o r t T i m e r   =   s e t T i m e o u t ( s h o w S u p p o r t ,   S U P P O R T _ W A I T _ I N T E R V A L )  
 	 }  
 }  
  
 f u n c t i o n   s l i d e S u p p o r t ( o p e n )   {  
 	 i f   ( ! s u p p o r t S l i d i n g )   {  
 	 	 s u p p o r t S l i d i n g   =   t r u e ;  
 	 	 s u p p o r t O p e n e d   =   o p e n ;  
 	 	 $ ( " # s u p p o r t " ) . a n i m a t e (  
 	 	 	 {   l e f t :   ( o p e n   ?   " 0 p x "   :   " - 3 6 0 p x " )   } ,  
 	 	 	 S U P P O R T _ S L I D I N G _ S P E E D ,  
 	 	 	 " s w i n g " ,  
 	 	 	 f u n c t i o n ( )   {  
 	 	 	 	 s u p p o r t S l i d i n g   =   f a l s e ;  
 	 	 	 }  
 	 	 ) ;  
 	 	 $ ( " # s u p p o r t - b u t t o n - c a p t i o n - c l o s e " ) . a n i m a t e (  
 	 	 	 {   o p a c i t y :   ( o p e n   ?   1 . 0   :   0 . 0 )   } ,  
 	 	 	 S U P P O R T _ S L I D I N G _ S P E E D ,  
 	 	 	 " s w i n g "  
 	 	 ) ;  
 	 	 $ ( " # s u p p o r t - b u t t o n - c a p t i o n - o p e n " ) . a n i m a t e (  
 	 	 	 {   o p a c i t y :   ( o p e n   ?   0 . 0   :   1 . 0 )   } ,  
 	 	 	 S U P P O R T _ S L I D I N G _ S P E E D ,  
 	 	 	 " s w i n g "  
 	 	 ) ; 	 	  
 	 }  
 }  
  
 f u n c t i o n   t o g g l e S u p p o r t ( )   {  
 	 i f   ( ! s u p p o r t O p e n e d )   c l e a r T i m e o u t ( s u p p o r t T i m e r ) ;  
 	 s l i d e S u p p o r t ( ! s u p p o r t O p e n e d ) ;  
 }  
  
 f u n c t i o n   s h o w S u p p o r t ( )   {  
 	 c l e a r T i m e o u t ( s u p p o r t T i m e r ) ;  
 	 $ . c o o k i e ( S U P P O R T _ C O O K I E _ N A M E ,   S U P P O R T _ C O O K I E _ Y E S _ V A L U E ,   {  
 	 	 	 e x p i r e s :   1 ,  
 	 	 	 p a t h :   " / "  
 	 } ) ;  
 	 s l i d e S u p p o r t ( t r u e ) ;  
 }  
  
 f u n c t i o n   h i d e S u p p o r t ( )   {  
 	 s l i d e S u p p o r t ( f a l s e ) ;  
 } 
