ÿþ/ *  
 C o m b o - B o x   V i e w e r   s c r i p t -   C r e a t e d   b y   a n d   ©   D y n a m i c d r i v e . c o m  
 V i s i t   h t t p : / / w w w . d y n a m i c d r i v e . c o m /   f o r   t h i s   s c r i p t   a n d   m o r e  
 T h i s   n o t i c e   M U S T   s t a y   i n t a c t   f o r   l e g a l   u s e  
 * /  
  
 i f   ( d o c u m e n t . g e t E l e m e n t B y I d ) {  
 d o c u m e n t . w r i t e ( ' < s t y l e   t y p e = " t e x t / c s s " > \ n ' )  
 d o c u m e n t . w r i t e ( ' . d r o p c o n t e n t { d i s p l a y : n o n e ;   p a d d i n g : 4 p x   0   0   0 ; } \ n ' )  
 d o c u m e n t . w r i t e ( ' < / s t y l e > \ n ' )  
 }  
  
  
 f u n c t i o n   c o n t r a c t a l l ( ) {  
 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   i n c = 0  
 w h i l e   ( d o c u m e n t . g e t E l e m e n t B y I d ( " d r o p m s g " +   i n c ) ) {  
 d o c u m e n t . g e t E l e m e n t B y I d ( " d r o p m s g " + i n c ) . s t y l e . d i s p l a y = " n o n e "  
 i n c + +  
 }  
 }  
 }  
  
 f u n c t i o n   e x p a n d o n e ( ) {  
 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   s e l e c t e d I t e m = d o c u m e n t . d r o p m s g f o r m . d r o p m s g o p t i o n . v a l u e  
 c o n t r a c t a l l ( )  
 d o c u m e n t . g e t E l e m e n t B y I d ( " d r o p m s g " + s e l e c t e d I t e m ) . s t y l e . d i s p l a y = " b l o c k "  
 }  
 }  
  
 i f   ( w i n d o w . a d d E v e n t L i s t e n e r )  
 w i n d o w . a d d E v e n t L i s t e n e r ( " l o a d " ,   e x p a n d o n e ,   f a l s e )  
 e l s e   i f   ( w i n d o w . a t t a c h E v e n t )  
 w i n d o w . a t t a c h E v e n t ( " o n l o a d " ,   e x p a n d o n e )  
 
