/ /   l     Htǌ 
    
 f u n c t i o n   b l u r i n g ( ) {    
 i f ( e v e n t . s r c E l e m e n t . t a g N a m e = = " A " | | e v e n t . s r c E l e m e n t . t a g N a m e = = " I M G " )   d o c u m e n t . b o d y . f o c u s ( ) ;    
 }    
 d o c u m e n t . o n f o c u s i n = b l u r i n g ;    
  
 / /   |t)  Tt   
  
 v a r   i s D O M   =   ( d o c u m e n t . g e t E l e m e n t B y I d   ?   t r u e   :   f a l s e ) ;  
 v a r   i s I E 4   =   ( ( d o c u m e n t . a l l   & &   ! i s D O M )   ?   t r u e   :   f a l s e ) ;  
 v a r   i s N S 4   =   ( d o c u m e n t . l a y e r s   ?   t r u e   :   f a l s e ) ;  
 f u n c t i o n   g e t R e f ( i d )   {  
 	 i f   ( i s D O M )   r e t u r n   d o c u m e n t . g e t E l e m e n t B y I d ( i d ) ;  
 	 i f   ( i s I E 4 )   r e t u r n   d o c u m e n t . a l l [ i d ] ;  
 	 i f   ( i s N S 4 )   r e t u r n   d o c u m e n t . l a y e r s [ i d ] ;  
 }  
 v a r   i s N S   =   n a v i g a t o r . a p p N a m e   = =   " N e t s c a p e " ;  
 f u n c t i o n   m o v e R i g h t E d g e ( )   {  
 	 v a r   y M e n u F r o m ,   y M e n u T o ,   y O f f s e t ,   t i m e o u t N e x t C h e c k ;  
 	 i f   ( i s N S 4 )   {  
 	 	 y M e n u F r o m       =   d i v M e n u . t o p ;  
 	 	 y M e n u T o           =   w i n d o w s . p a g e Y O f f s e t   +   1 5 5 ;       / /   ǽ  X 
 	 }   e l s e   i f   ( i s D O M )   {  
 	 	 y M e n u F r o m       =   p a r s e I n t   ( d i v M e n u . s t y l e . t o p ,   1 0 ) ;  
 	 	 y M e n u T o           =   ( i s N S   ?   w i n d o w . p a g e Y O f f s e t   :   d o c u m e n t . b o d y . s c r o l l T o p )   +   1 5 5 ;       / /   ǽ  X 
 	 }  
 	 t i m e o u t N e x t C h e c k   =   5 0 0 ;  
 	 i f   ( y M e n u F r o m   ! =   y M e n u T o )   {  
 	 	 y O f f s e t   =   M a t h . c e i l ( M a t h . a b s ( y M e n u T o   -   y M e n u F r o m )   /   2 0 ) ;  
 	 	 i f   ( y M e n u T o   <   y M e n u F r o m )  
 	 	 	 y O f f s e t   =   - y O f f s e t ;  
 	 	 i f   ( i s N S 4 )  
 	 	 	 d i v M e n u . t o p   + =   y O f f s e t ;  
 	 	 e l s e   i f   ( i s D O M )  
 	 	 	 d i v M e n u . s t y l e . t o p   =   p a r s e I n t   ( d i v M e n u . s t y l e . t o p ,   1 0 )   +   y O f f s e t ;  
 	 	 	 t i m e o u t N e x t C h e c k   =   1 0 ;  
 	 }  
 	 s e t T i m e o u t   ( " m o v e R i g h t E d g e ( ) " ,   t i m e o u t N e x t C h e c k ) ;  
 }  
 f u n c t i o n   w i n p o p ( u r l , w i d t h , h e i g h t , s c r o l l b a r )   {  
         w i n d o w . o p e n ( u r l , ' s m a l l w i n d o w ' ,   ' w i d t h = ' + w i d t h + ' , h e i g h t = ' + h e i g h t + ' , s c r o l l b a r s = ' + s c r o l l b a r ) ;  
 }  
  
 f u n c t i o n   q u e s t i o n ( ) {  
 	 v a r   f r m   =   d o c u m e n t . m _ f o r m ;  
 	 i f   ( ! v a l i d a t e ( f r m ) )   r e t u r n ;  
 	 e l s e   {  
  
 	 	 f r m . a c t i o n = " p r o _ e x e . a s p ? k i n d = p r o m o t i o n " ;  
  
 	 	 f r m . s u b m i t ( ) ;  
 	 }  
 }  
  
  
 / / r o l l o v e r   i m a g e  
  
 f u n c t i o n   M M _ p r e l o a d I m a g e s ( )   {   / / v 3 . 0  
     v a r   d = d o c u m e n t ;   i f ( d . i m a g e s ) {   i f ( ! d . M M _ p )   d . M M _ p = n e w   A r r a y ( ) ;  
         v a r   i , j = d . M M _ p . l e n g t h , a = M M _ p r e l o a d I m a g e s . a r g u m e n t s ;   f o r ( i = 0 ;   i < a . l e n g t h ;   i + + )  
         i f   ( a [ i ] . i n d e x O f ( " # " ) ! = 0 ) {   d . M M _ p [ j ] = n e w   I m a g e ;   d . M M _ p [ j + + ] . s r c = a [ i ] ; } }  
 }  
  
 f u n c t i o n   M M _ s w a p I m g R e s t o r e ( )   {   / / v 3 . 0  
     v a r   i , x , a = d o c u m e n t . M M _ s r ;   f o r ( i = 0 ; a & & i < a . l e n g t h & & ( x = a [ i ] ) & & x . o S r c ; i + + )   x . s r c = x . o S r c ;  
 }  
  
 f u n c t i o n   M M _ f i n d O b j ( n ,   d )   {   / / v 4 . 0  
     v a r   p , i , x ;     i f ( ! d )   d = d o c u m e n t ;   i f ( ( p = n . i n d e x O f ( " ? " ) ) > 0 & & p a r e n t . f r a m e s . l e n g t h )   {  
         d = p a r e n t . f r a m e s [ n . s u b s t r i n g ( p + 1 ) ] . d o c u m e n t ;   n = n . s u b s t r i n g ( 0 , p ) ; }  
     i f ( ! ( x = d [ n ] ) & & d . a l l )   x = d . a l l [ n ] ;   f o r   ( i = 0 ; ! x & & i < d . f o r m s . l e n g t h ; i + + )   x = d . f o r m s [ i ] [ n ] ;  
     f o r ( i = 0 ; ! x & & d . l a y e r s & & i < d . l a y e r s . l e n g t h ; i + + )   x = M M _ f i n d O b j ( n , d . l a y e r s [ i ] . d o c u m e n t ) ;  
     i f ( ! x   & &   d o c u m e n t . g e t E l e m e n t B y I d )   x = d o c u m e n t . g e t E l e m e n t B y I d ( n ) ;   r e t u r n   x ;  
 }  
  
 f u n c t i o n   M M _ s w a p I m a g e ( )   {   / / v 3 . 0  
     v a r   i , j = 0 , x , a = M M _ s w a p I m a g e . a r g u m e n t s ;   d o c u m e n t . M M _ s r = n e w   A r r a y ;   f o r ( i = 0 ; i < ( a . l e n g t h - 2 ) ; i + = 3 )  
       i f   ( ( x = M M _ f i n d O b j ( a [ i ] ) ) ! = n u l l ) { d o c u m e n t . M M _ s r [ j + + ] = x ;   i f ( ! x . o S r c )   x . o S r c = x . s r c ;   x . s r c = a [ i + 2 ] ; }  
 }  
  
 f u n c t i o n   o p e n S a m p l e ( u r l ) {  
     w i n d o w . o p e n ( u r l , ' S e r v i c e ' )  
 }  
  
  
 / /  
 f u n c t i o n   M M _ r e l o a d P a g e ( i n i t )   {   / / r e l o a d s   t h e   w i n d o w   i f   N a v 4   r e s i z e d  
     i f   ( i n i t = = t r u e )   w i t h   ( n a v i g a t o r )   { i f   ( ( a p p N a m e = = " N e t s c a p e " ) & & ( p a r s e I n t ( a p p V e r s i o n ) = = 4 ) )   {  
         d o c u m e n t . M M _ p g W = i n n e r W i d t h ;   d o c u m e n t . M M _ p g H = i n n e r H e i g h t ;   o n r e s i z e = M M _ r e l o a d P a g e ;   } }  
     e l s e   i f   ( i n n e r W i d t h ! = d o c u m e n t . M M _ p g W   | |   i n n e r H e i g h t ! = d o c u m e n t . M M _ p g H )   l o c a t i o n . r e l o a d ( ) ;  
 }  
  
 M M _ r e l o a d P a g e ( t r u e ) ;  
  
 f u n c t i o n   M M _ s h o w H i d e L a y e r s ( )   {   / / v 6 . 0  
     v a r   i , p , v , o b j , a r g s = M M _ s h o w H i d e L a y e r s . a r g u m e n t s ;  
     f o r   ( i = 0 ;   i < ( a r g s . l e n g t h - 2 ) ;   i + = 3 )   i f   ( ( o b j = M M _ f i n d O b j ( a r g s [ i ] ) ) ! = n u l l )   {   v = a r g s [ i + 2 ] ;  
         i f   ( o b j . s t y l e )   {   o b j = o b j . s t y l e ;   v = ( v = = ' s h o w ' ) ? ' v i s i b l e ' : ( v = = ' h i d e ' ) ? ' h i d d e n ' : v ;   }  
         o b j . v i s i b i l i t y = v ;   }  
 }  
  
  
 / / 8tٳ 
  
 v a r   x   =   0 ;  
 v a r   m o v e _ x   =   0 ;  
 v a r   d e s t   =   0 ;  
 v a r   d i s t a n c e   =   0 ;  
 v a r   s t e p   =   0 ;  
 v a r   d e s t i n a t i o n   =   0 ;  
  
 f u n c t i o n   s c r o l l i t ( d e s t i n a t i o n )   {  
 i f ( d e s t i n a t i o n   >   0 )    
 {  
 m o v e _ x   =   m o v e _ x   +   1 0 6 ;  
 }  
 e l s e  
 {  
 	 i f   ( m o v e _ x - 1 0 6   <   0 )    
 	 {  
 	 m o v e _ x   =   0 ;  
 	 }  
 	 e l s e  
 	 {  
 	 m o v e _ x   =   m o v e _ x   -   1 0 6 ;  
 	 }  
 }  
  
 s t e p   =   2 ;  
 d e s t   =   m o v e _ x ;  
 i f   ( x < d e s t )   {  
 w h i l e   ( x < d e s t )   {  
 s t e p   + =   ( s t e p   /   5 0 ) ;  
 x   + =   s t e p ;  
 t h i s . f r a m e s . i s c r o l l x . s c r o l l ( x , 0 ) ;  
 }    
 t h i s . f r a m e s . i s c r o l l x . s c r o l l ( d e s t , 0 ) ;  
 x   =   d e s t ;  
 }  
  
 i f   ( x   >   d e s t )   {  
 w h i l e   ( x > d e s t )   {  
 s t e p   + =   ( s t e p   /   5 0 ) ;  
 i f ( x   > =   ( 0 + s t e p ) )  
 {  
 x   - =   s t e p ;    
 t h i s . f r a m e s . i s c r o l l x . s c r o l l ( x , 0 ) ;  
 }  
 e l s e   {   b r e a k ;   }  
 }    
 i f ( d e s t   > =   0 )   {   t h i s . f r a m e s . i s c r o l l x . s c r o l l ( d e s t , 0 ) ;   }  
 x   =   d e s t ;  
 }    
 i f   ( x < 1 )   { x = 1 }  
 i f   ( x > 5 0 0 0 )   { x = 4 5 0 0 }    
 }  
  
 / / Dt  ٳ  t  p 
  
 f u n c t i o n   d o R e s i z e ( )  
 {  
 c o n t a i n e r . h e i g h t   =   a u t h o r . d o c u m e n t . b o d y . s c r o l l H e i g h t ;  
 c o n t a i n e r . w i d t h   =   a u t h o r . d o c u m e n t . b o d y . s c r o l l W i d t h ;  
 }  
  
 / / < e m b e d >   i n c l u d e   X 
 f u n c t i o n   e m b e d ( s r c 2 , w i d t h 2 , h e i g h t 2 ) {  
 	 d o c u m e n t . w r i t e ( ' < e m b e d   s r c = " ' + s r c 2 + ' "   W I D T H = " ' + w i d t h 2 + ' "   H E I G H T = " ' + h e i g h t 2 + ' " > ' ) ;  
 }  
  
 / / < o b j e c t >   i n c l u d e   X 
 f u n c t i o n   m o v i e _ v i e w e r ( ) {  
 	 d o c u m e n t . w r i t e ( ' < o b j e c t   c l a s s i d = " C L S I D : 2 2 d 6 f 3 1 2 - b 0 f 6 - 1 1 d 0 - 9 4 a b - 0 0 8 0 c 7 4 c 7 e 9 5 "   c o d e b a s e = " h t t p : / / a c t i v e x . m i c r o s o f t . c o m / a c t i v e x / c o n t r o l s / m p l a y e r / e n / n s m p 2 i n f . c a b # V e r s i o n = 5 , 1 , 5 2 , 7 0 1 "   t y p e = " a p p l i c a t i o n / x - o l e o b j e c t "   w i d t h = " 3 2 0 "   h e i g h t = " 2 4 0 "   s t a n d b y = " L o a d i n g   M i c r o s o f t ? W i n d o w s ? M e d i a   P l a y e r   c o m p o n e n t s . . . "   i d = " M e d i a P l a y e r 1 " > ' ) ;  
 	 	 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " F i l e N a m e "   v a l u e = " h t t p : / / w w w . s e i l w e l d . c o m / m o v i e / a r i _ a l l _ i n _ o n e . w m v " > ' ) ;  
 	 	 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " t r a n s p a r e n t A t S t a r t "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " t r a n s p a r e n t A t S t o p "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A n i m a t i o n A t S t a r t "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A u t o S t a r t "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A u t o R e w i n d "   v a l u e = " t r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S e n d M o u s e C l i c k E v e n t s "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " D i s p l a y S i z e "   v a l u e = " 4 8 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A u t o S i z e "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w D i s p l a y "   v a l u e = " F a l s e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w C o n t r o l s "   v a l u e = " f a l s e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w T r a c k e r "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " F i l e N a m e "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e d "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e C o n t e x t M e n u "   v a l u e = " 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e P o s i t i o n C o n t r o l s "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e F u l l S c r e e n C o n t r o l s "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w P o s i t i o n C o n t r o l s "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " M u t e "   v a l u e = " 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " R a t e "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S A M I L a n g "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S A M I S t y l e "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S A M I F i l e N a m e "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " C l i c k T o P l a y "   v a l u e = " 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " C u r s o r T y p e "   v a l u e = " 1 " > ' ) ;  
             d o c u m e n t . w r i t e ( ' < / o b j e c t > ' ) ;  
 }  
 f u n c t i o n   m o v i e _ v i e w e r 1 ( ) {  
 	 d o c u m e n t . w r i t e ( ' < o b j e c t   c l a s s i d = " C L S I D : 2 2 d 6 f 3 1 2 - b 0 f 6 - 1 1 d 0 - 9 4 a b - 0 0 8 0 c 7 4 c 7 e 9 5 "   c o d e b a s e = " h t t p : / / a c t i v e x . m i c r o s o f t . c o m / a c t i v e x / c o n t r o l s / m p l a y e r / e n / n s m p 2 i n f . c a b # V e r s i o n = 5 , 1 , 5 2 , 7 0 1 "   t y p e = " a p p l i c a t i o n / x - o l e o b j e c t "   w i d t h = " 4 8 0 "   h e i g h t = " 3 6 0 "   s t a n d b y = " L o a d i n g   M i c r o s o f t ? W i n d o w s ? M e d i a   P l a y e r   c o m p o n e n t s . . . "   i d = " M e d i a P l a y e r 1 " > ' ) ;  
 	 	 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " F i l e N a m e "   v a l u e = " h t t p : / / w w w . s e i l w e l d . c o m / e n g / m o v i e / w e b _ e n g . w m v " > ' ) ;  
 	 	 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " t r a n s p a r e n t A t S t a r t "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " t r a n s p a r e n t A t S t o p "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A n i m a t i o n A t S t a r t "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A u t o S t a r t "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A u t o R e w i n d "   v a l u e = " t r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S e n d M o u s e C l i c k E v e n t s "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " D i s p l a y S i z e "   v a l u e = " 4 8 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " A u t o S i z e "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w D i s p l a y "   v a l u e = " F a l s e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w C o n t r o l s "   v a l u e = " f a l s e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w T r a c k e r "   v a l u e = " T r u e " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " F i l e N a m e "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e d "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e C o n t e x t M e n u "   v a l u e = " 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e P o s i t i o n C o n t r o l s "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " E n a b l e F u l l S c r e e n C o n t r o l s "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S h o w P o s i t i o n C o n t r o l s "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " M u t e "   v a l u e = " 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " R a t e "   v a l u e = " 1 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S A M I L a n g "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S A M I S t y l e "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " S A M I F i l e N a m e "   v a l u e = " " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " C l i c k T o P l a y "   v a l u e = " 0 " > ' ) ;  
                 d o c u m e n t . w r i t e ( ' < p a r a m   n a m e = " C u r s o r T y p e "   v a l u e = " 1 " > ' ) ;  
             d o c u m e n t . w r i t e ( ' < / o b j e c t > ' ) ;  
 } 
