ÿþ/ / a l e r t ( ' j s T e m p l a t e B o t t o m P r o c e s s i n g . j s ' ) ;  
 / / U S E A G E :   I n c l u d e   t h i s   f i l e   j u s t   b e f o r e   t h e   < / H E A D >   t a g   i n   a n   H T M L   f i l e .  
 / /     T h i s   f i l e   c o n t a i n s   t h e   f o l l o w i n g   c o d e :  
 / /             1 .   P N G   f i x   f o r   I E 6 .   N o t e :   S o m e   t e m p l a t e s   d o   n o t   a p p e a r   t o   b e   r u n n i n g   t h i s   c o d e  
 / /                                                     i n   t h e   t o p   p r o c e s s i n g   J S   f i l e .  
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / /  
 / /  
 / / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / /  
 / / * * *   I E   P N G   F I X :   c o r r e c t l y   h a n d l e   P N G   t r a n s p a r e n c y   i n   W i n   I E   5 . 5   a n d   6 . x   * * * / /  
 / / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / /  
 i f ( w i n d o w . a t t a c h E v e n t   & &   ( 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 . s p l i t ( " M S I E " ) [ 1 ] ) < 7 ) )  
 {  
         w i n d o w . o n l o a d   =   f u n c t i o n ( )  
         {        
                 i f   ( d o c u m e n t . b o d y . f i l t e r s )  
                 {    
                         v a r   i = d o c u m e n t . i m a g e s . l e n g t h ;    
                         w h i l e ( i - - ) {          
                                 v a r   i m g   =   d o c u m e n t . i m a g e s [ i ] ;  
                                 v a r   i m g N a m e   =   i m g . s r c . t o U p p e r C a s e ( ) ;              
                                 i f   ( i m g N a m e . s u b s t r i n g ( i m g N a m e . l e n g t h - 3 ,   i m g N a m e . l e n g t h )   = =   " P N G " )  
                                 {    
                                         v a r   i m g I D   =   ( i m g . i d )   ?   " i d = ' "   +   i m g . i d   +   " '   "   :   " " ,                  
                                                 i m g C l a s s   =   ( i m g . c l a s s N a m e )   ?   " c l a s s = ' "   +   i m g . c l a s s N a m e   +   " '   "   :   " " ,  
                                                 i m g T i t l e   =   ( i m g . t i t l e )   ?   " t i t l e = ' "   +   i m g . t i t l e   +   " '   "   :   " t i t l e = ' "   +   i m g . a l t   +   " '   " ,  
                                                 i m g S t y l e   =   " d i s p l a y : i n l i n e - b l o c k ; "   +   i m g . s t y l e . c s s T e x t ;  
                                         i f   ( i m g . a l i g n   = =   " l e f t " )   i m a g e . a l i g n = ' l e f t ' ;                  
                                         i f   ( i m g . a l i g n   = =   " r i g h t " ) i m a g e . a l i g n = ' l e f t ' ;                  
                                         i f   ( i m g . p a r e n t E l e m e n t . h r e f )   i m g S t y l e   =   " c u r s o r : p o i n t e r ; "   +   i m g S t y l e                  
                                         i m g . o u t e r H T M L =    
                                         " < d i v   s t y l e = \ " "   +   " w i d t h : "   +   i m g . w i d t h   +   " p x ;   h e i g h t : "   +   i m g . h e i g h t   +   " p x ; "   +   i m g S t y l e   +   " ; "  
                                         +   " f i l t e r : p r o g i d : D X I m a g e T r a n s f o r m . M i c r o s o f t . A l p h a I m a g e L o a d e r "  
                                         +   " ( s r c = \ ' "   +   i m g . s r c   +   " \ ' ,   s i z i n g M e t h o d = ' s c a l e ' ) ; \ " > "    
                                 }    
                         }    
                 }    
         }    
 } ;    
 / / * * *   E N D :   I E   P N G   F I X :   c o r r e c t l y   h a n d l e   P N G   t r a n s p a r e n c y   i n   W i n   I E   5 . 5   a n d   6 . x   * * * / /  
 
