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