ÿþ/ /   F u n c t i o n   t o   k e e p   t h e   f o o t e r   a t   t h e   b o t t o m   o f   t h e   p a g e .  
 / * f u n c t i o n   g e t W i n d o w H e i g h t ( )   {  
 	 v a r   w i n d o w H e i g h t   =   0 ;  
 	 i f   ( t y p e o f ( w i n d o w . i n n e r H e i g h t )   = =   ' n u m b e r ' )   {  
 	 	 w i n d o w H e i g h t   =   w i n d o w . i n n e r H e i g h t ;  
 	 }  
 	 e l s e   {  
 	 	 i f   ( d o c u m e n t . d o c u m e n t E l e m e n t   & &   d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t )   {  
 	 	 	 w i n d o w H e i g h t   =   d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t ;  
 	 	 }  
 	 	 e l s e   {  
 	 	 	 i f   ( d o c u m e n t . b o d y   & &   d o c u m e n t . b o d y . c l i e n t H e i g h t )   {  
 	 	 	 	 w i n d o w H e i g h t   =   d o c u m e n t . b o d y . c l i e n t H e i g h t ;  
 	 	 	 }  
 	 	 }  
 	 }  
 	 r e t u r n   w i n d o w H e i g h t ;  
 }  
 f u n c t i o n   s e t F o o t e r ( )   {  
 	 i f   ( d o c u m e n t . g e t E l e m e n t B y I d )   {  
 	 	 v a r   w i n d o w H e i g h t   =   g e t W i n d o w H e i g h t ( ) ;  
 	 	 i f   ( w i n d o w H e i g h t   >   0 )   {  
 	 	 	 v a r   c o n t e n t H e i g h t   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' p a g e ' ) . o f f s e t H e i g h t ;  
 	 	 	 v a r   f o o t e r E l e m e n t   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' f o o t e r ' ) ;  
 	 	 	 v a r   f o o t e r H e i g h t     =   f o o t e r E l e m e n t . o f f s e t H e i g h t ;  
 	 	 	 i f   ( w i n d o w H e i g h t   -   ( c o n t e n t H e i g h t   +   f o o t e r H e i g h t )   > =   0 )   {  
 	 	 	 	 f o o t e r E l e m e n t . s t y l e . p o s i t i o n   =   ' r e l a t i v e ' ;  
 	 	 	 	 f o o t e r E l e m e n t . s t y l e . t o p   =   ( w i n d o w H e i g h t   -   ( c o n t e n t H e i g h t   +   f o o t e r H e i g h t ) )   +   ' p x ' ;  
 	 	 	 }  
 	 	 	 e l s e   {  
 	 	 	 	 f o o t e r E l e m e n t . s t y l e . p o s i t i o n   =   ' s t a t i c ' ;  
 	 	 	 }  
 	 	 }  
 	 }  
 }  
 w i n d o w . o n r e s i z e   =   f u n c t i o n ( )   {  
 	 s e t F o o t e r ( ) ;  
 }  
 w i n d o w . o n l o a d   =   f u n c t i o n   ( )   {  
 	 s e t F o o t e r ( ) ;  
 }  
 * /  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( ) {  
 	 $ ( " t e x t a r e a # i n d e x _ t x t m s g " ) . f o c u s ( f u n c t i o n ( ) {  
 	 	 $ ( t h i s ) . e m p t y ( ) ;  
 	 } ) ;  
 } ) ; 
