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