ÿþv a r   d e f a u l t I t e m I c o n   =   " / i m a g e s / n a v l i n k . g i f " ;  
  
 v a r   v M e n u   =   n e w   V M e n u ( ) ;  
 v a r   i t e m G r o u p ;  
  
 v a r   p r e f i x   =   " h t t p : / / "   +   l o c a t i o n . h o s t ;  
  
 i t e m G r o u p   =   v M e n u . a d d I t e m G r o u p ( " C u s t o m s   Z o n e " ,   " / i m a g e s / n a v l i n k . g i f " ,   " / a s p / c u s t o m s / " ) ;   / /  
 i t e m G r o u p . a d d I t e m ( " F i r m s " ,   p r e f i x   +   " / a s p / c u s t o m s / " ) ;  
 i t e m G r o u p . a d d I t e m ( " C a r n e t s " ,   p r e f i x   +   " / a s p / c u s t o m s / t i r . a s p " ) ;  
  
 i t e m G r o u p   =   v M e n u . a d d I t e m G r o u p ( " Z o n a   P r i v a t & # 2 5 9 ; " ,   " / i m a g e s / n a v l i n k . g i f " ,   " / a s p / p r i v a t e / " ) ;   / /  
 i t e m G r o u p . a d d I t e m ( " S t a r t " ,   p r e f i x   +   " / a s p / p r i v a t e / " ) ;  
 i t e m G r o u p . a d d I t e m ( " & # 3 5 0 ; o f e r i " ,   p r e f i x   +   " / a s p / p r i v a t e / b d . a s p ? s " ) ;  
 i t e m G r o u p . a d d I t e m ( " V e h i c u l e " ,   p r e f i x   +   " / a s p / p r i v a t e / b d . a s p ? v " ) ;  
 i t e m G r o u p . a d d I t e m ( " C a r n e t e " ,   p r e f i x   +   " / a s p / p r i v a t e / b d . a s p ? c " ) ;  
 i t e m G r o u p . a d d I t e m ( " & I c i r c ; n c & # 2 5 9 ; l c & # 2 5 9 ; r i " ,   p r e f i x   +   " / a s p / p r i v a t e / i n c a l c a r i . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " L i s t a   n e a g r & # 2 5 9 " ,   p r e f i x   +   " / a s p / p r i v a t e / l i s t b l a c k / d e f a u l t . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " C o n f e r i n & # 3 5 5 ; & # 2 5 9 ; " ,   p r e f i x   +   " / a s p / p r i v a t e / c o n f e r e n t . a s p " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " G h i d u l   A S M A P " ,   " h t t p : / / w w w . a s m a p . r u / s t a r t . p h p 3 ? c = m d & i d = "   +   ( n e w   D a t e ( ) ) . g e t T i m e ( ) ) ;  
 i t e m G r o u p . a d d I t e m ( " C a l c u l a t o r   T I R " ,   p r e f i x   +   " / a s p / p r i v a t e / c a l c . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " C a l c u l a t o r   R u t a " ,   p r e f i x   +   " / a s p / m a p / a s p / d e f a u l t . a s p " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " A d a u g   ^o f e r " ,   p r e f i x   +   " / a s p / p r i v a t e / d r i v e r _ a d d . a s p " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " A d a u g   T r a n s " ,   p r e f i x   +   " / a s p / p r i v a t e / c a r _ a d d . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " I n f o - A I T A " ,   p r e f i x   +   " / P r e s e r v e d / " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " R a p o a r t e " ,   " / a s p / p r i v a t e / r a p o r t . a s p " ) ;  
  
 i t e m G r o u p   =   v M e n u . a d d I t e m G r o u p ( " A c t u a l i t a t e " ,   " / i m a g e s / n a v l i n k . g i f " ,   " / " ) ;  
 i t e m G r o u p . a d d I t e m ( " & # 3 5 0 ; t i r i " ,   " / L i s t s / A n n o u n c e m e n t s / A l l I t e m s . a s p x " ) ;  
 i t e m G r o u p . a d d I t e m ( " E v e n i m e n t e " ,   " / L i s t s / E v e n t s / A l l I t e m s . a s p x " ) ;  
 i t e m G r o u p . a d d I t e m ( " P r o i e c t e " ,   " / L i s t s / T a s k s / A l l I t e m s . a s p x " ) ;  
 i t e m G r o u p . a d d I t e m ( " A d r e s e   u t i l e " ,   " / L i s t s / L i n k s / A l l I t e m s . a s p x " ) ;  
 i t e m G r o u p . a d d I t e m ( " A n u n cu r i   d e   l a   v i z i t a t o r i " ,   " / L i s t s / A n u n t u r i % 2 0 d e % 2 0 l a % 2 0 v i z i t a t o r i / L i s t a . a s p x " ) ;  
  
 i t e m G r o u p   =   v M e n u . a d d I t e m G r o u p ( " D e s p r e   A I T A " ,   " / i m a g e s / n a v l i n k . g i f " ,   " / " ) ;  
 i t e m G r o u p . a d d I t e m ( " G e n e r a l " ,   " / a s p / a i t a / " ) ;  
 i t e m G r o u p . a d d I t e m ( " M i s i u n e a " ,   " / a s p / a i t a / m i s i u n e a . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " S t r u c t u r a " ,   " / a s p / a i t a / s t r u c t u r a . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " C o n s i l i u l " ,   " / a s p / a i t a / c o n s i l i u l . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " M e m b r i " ,   " / a s p / a i t a / m e m b r i i . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " C u m   s & # 2 5 9 ;   d e v i i   m e m b r u ? " ,   " / a s p / a i t a / c u m s a d e v i i m e m b r u . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " P a r t e n e r i " ,   " / a s p / a i t a / p a r t e n e r i . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " S e r v i c i i " ,   " / a s p / a i t a / s e r v i c i i . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " H a r t a   s i t u l u i " ,   " / a s p / a i t a / h a r t a s a i t u l u i . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " C o n t a c t e " ,   " / L i s t s / C o n t a c t s / A l l I t e m s . a s p x " ) ;  
  
 i t e m G r o u p   =   v M e n u . a d d I t e m G r o u p ( " B i b l i o t e c a " ,   " / i m a g e s / n a v l i n k . g i f " ,   " / " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " B u l e t i n   I N F O " ,   " / L i s t s / A n n o u n c e m e n t s / A l l I t e m s . a s p x " ) ;  
 i t e m G r o u p . a d d I t e m ( " A c o r d u r i   i n t e r n a & # 3 5 5 ; i o n a l e " ,   " / S h a r e d   d o c u m e n t s / A c o r d u r i   i n t e r n a & # 3 5 5 ; i o n a l e / " ) ;  
 i t e m G r o u p . a d d I t e m ( " C o n v e n & # 3 5 5 ; i i " ,   " / S h a r e d   d o c u m e n t s / C o n v e n & # 3 5 5 ; i i / " ) ;  
 i t e m G r o u p . a d d I t e m ( " D o c u m e n t e   u t i l e " ,   " / S h a r e d   d o c u m e n t s / D o c u m e n t e   u t i l e / " ) ;  
 i t e m G r o u p . a d d I t e m ( " I n f o r m a & # 3 5 5 ; i i   u t i l e " ,   " / S h a r e d   d o c u m e n t s / I n f o r m a & # 3 5 5 ; i i   u t i l e / " ) ;  
 i t e m G r o u p . a d d I t e m ( " L e g i   a l e   R M " ,   " / S h a r e d   d o c u m e n t s / L e g i   a l e   R M / " ) ;  
 i t e m G r o u p . a d d I t e m ( " P r o t o c o a l e   & # 3 5 1 ; i   D e c l a r a & # 3 5 5 ; i i " ,   " / S h a r e d   d o c u m e n t s / P r o t o c o a l e   & # 3 5 1 ; i   D e c l a r a & # 3 5 5 ; i i / " ) ;  
 i t e m G r o u p . a d d I t e m ( " A I T A   î n   p r e s " ,   " / S h a r e d   d o c u m e n t s / A I T A   î n   p r e s / " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " T a r i f e   o r i e n t a t i v e " ,   " / a s p / p r i c e . a s p " ) ;  
 / / i t e m G r o u p . a d d I t e m ( " T R A N S P R E S " ,   " S h a r e d   d o c u m e n t s / T R A N S P R E S   -   B u l e t i n   I n f o r m a t i v / " ) ;  
 i t e m G r o u p . a d d I t e m ( " I N F R A C bI U N I " ,   " / a s p / I n f r a c t i u n i . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " D e c l a r a ci i   E l e c t r o n i c e " ,   " / S h a r e d   d o c u m e n t s / D e c l a r a ci i   E l e c t r o n i c e / " ) ;  
 i t e m G r o u p . a d d I t e m ( " R e s t r i c ci i   d e   c i r c u l a ci e " ,   " / S h a r e d   d o c u m e n t s / R e s t r i c ci i   d e   c i r c u l a ci e / " ) ;  
 i t e m G r o u p . a d d I t e m ( " M s u r i l e   A n t i c r i z " ,   " / S h a r e d   d o c u m e n t s / M s u r i l e   A n t i c r i z / " ) ;  
 i t e m G r o u p . a d d I t e m ( " C O N F E R I N bE " ,   " / a s p / c o n f e r i n t a . a s p " ) ;  
 i t e m G r o u p . a d d I t e m ( " N u m r   E O R I " ,   " / r u s / E O R I / F o r m s / A l l I t e m s . a s p x " ) ;  
 i t e m G r o u p . a d d I t e m ( " T a h o g r a f e " ,   " / a s p / c o n f e r i n t a . a s p " ) ;  
  
 f u n c t i o n   V M e n u ( )   {  
 	 t h i s . i t e m G r o u p s   =   n e w   A r r a y ( ) ;  
  
 	 t h i s . a d d I t e m G r o u p   =   f u n c t i o n ( c a p t i o n ,   i t e m I c o n ,   p a t h )   {  
 	 	 v a r   n e x t I n d e x   =   t h i s . i t e m G r o u p s . l e n g t h ;  
 	 	 t h i s . i t e m G r o u p s [ n e x t I n d e x ]   =   n e w   I t e m G r o u p ( c a p t i o n ,   i t e m I c o n ,   p a t h ) ;  
 	 	 r e t u r n   t h i s . i t e m G r o u p s [ n e x t I n d e x ]  
 	 }  
 	  
 	 r e t u r n   t h i s  
 }  
  
 f u n c t i o n   I t e m G r o u p ( c a p t i o n ,   i t e m I c o n ,   p a t h )   {  
 	 t h i s . c a p t i o n   =   c a p t i o n ? c a p t i o n : ( " I t e m G r o u p " ) ;  
 	 t h i s . i t e m I c o n   =   i t e m I c o n ? i t e m I c o n : d e f a u l t I t e m I c o n ;  
 	 t h i s . p a t h   =   p a t h ? p a t h : " / " ;  
 	 t h i s . i t e m s   =   n e w   A r r a y ( ) ;  
  
 	 t h i s . a d d I t e m   =   f u n c t i o n ( c a p t i o n ,   h r e f )   {  
 	 	 v a r   n e x t I n d e x   =   t h i s . i t e m s . l e n g t h ;  
 	 	 t h i s . i t e m s [ n e x t I n d e x ]   =   n e w   M e n u I t e m ( c a p t i o n ,   h r e f )  
 	 }  
 	  
 	 r e t u r n   t h i s  
 }  
  
 f u n c t i o n   M e n u I t e m ( c a p t i o n ,   h r e f )   {  
 	 t h i s . c a p t i o n   =   c a p t i o n ? c a p t i o n : " D e f a u l t   c a p t i o n " ;  
 	 t h i s . h r e f   =   h r e f ? h r e f : " j a v a s c r i p t : a l e r t ( ' D e f a u l t   h r e f ' ) " ;  
  
 	 r e t u r n   t h i s  
 }  
  
 d o c u m e n t . w r i t e ( " < t a b l e   h e i g h t = \ " 1 0 0 % \ "   b o r d e r = \ " 0 \ "   c e l l p a d d i n g = \ " 2 \ "   c e l l s p a c i n g = \ " 0 \ "   "  
 +   " c l a s s = \ " m s - n a v f r a m e \ "   s t y l e = \ " b a c k g r o u n d : # e 1 e c f c ; w i d t h : 1 2 5 p x ; b o r d e r - r i g h t : s o l i d   1 p x   # d d d d d d ; p a d d i n g - t o p : 1 5 p x \ "   i d = \ " t a b l e 1 \ " > "  
 +   " < t r > "  
 +   " < t d   v a l i g n = \ " t o p \ "   i d = \ " o n e t i d W a t e r m a r k \ "   c l a s s = \ " m s - n a v w a t e r m a r k \ "   s t y l e = \ " w i d t h : 1 8 p x ; p a d d i n g - t o p :   4 p x ; p a d d i n g - r i g h t :   0 p x ; b a c k g r o u n d - i m a g e : u r l ( / i m a g e s / w w w . a i t a . m d . g i f ) ; b a c k g r o u n d - r e p e a t : r e p e a t - y \ " > < / t d > "  
 +   " < t d   v a l i g n = \ " t o p \ "   s t y l e = \ " p a d d i n g - t o p : 8 p x ; p a d d i n g - r i g h t : 0 p x ; p a d d i n g - l e f t : 0 p x \ " > "  
 +   " < t a b l e   c e l l p a d d i n g = \ " 1 \ "   c e l l s p a c i n g = \ " 0 \ "   b o r d e r = \ " 0 \ "   s t y l e = \ " m a r g i n - r i g h t : 3 p x \ " > " ) ;  
  
 f o r ( i = 0 ;   i < v M e n u . i t e m G r o u p s . l e n g t h ;   i + + )   {  
 	 v a r   i t e m P a t h   =   v M e n u . i t e m G r o u p s [ i ] . p a t h ;  
 	 v a r   v i z i b i l ;  
 	 i f ( i t e m P a t h )   {  
 	 	 v a r   p r i v a t e I t e m   =   t r u e ;  
 	 	 v a r   p a t h F o l d e r   =   v M e n u . i t e m G r o u p s [ i ] . p a t h ;  
 	 	 v i z i b i l   =   p a t h F o l d e r   = =   l o c a t i o n . p a t h n a m e . s u b s t r i n g ( 0 ,   p a t h F o l d e r . l e n g t h )  
 	 }   e l s e   {  
 	 	 v i z i b i l   =   t r u e ;  
 	 }  
  
 	 i f ( v i z i b i l )   {  
 	 	 d o c u m e n t . w r i t e ( " < t r > < t h   s t y l e = ' f o n t :   b o l d   1 1 p x   V e r d a n a , s a n s - s e r i f ;   c o l o r :   # 0 0 3 3 9 9 ; ' > "   +   v M e n u . i t e m G r o u p s [ i ] . c a p t i o n   +   " < / t h < / t r > "  
 	 	 	 +   " < t r > < t d > < t a b l e   b o r d e r = \ " 0 \ "   c e l l p a d d i n g = \ " 0 \ "   c e l l s p a c i n g = \ " 0 \ " > "  
 	 	 	 +   " < c o l   s p a n = \ " 2 \ "   v a l i g n = \ " t o p \ "   s t y l e = \ " p a d d i n g - b o t t o m : 4 p x \ " > " ) ;  
  
 	 	 f o r ( j   =   0 ;   j   <   v M e n u . i t e m G r o u p s [ i ] . i t e m s . l e n g t h ;   j + + )   {  
 	 	 	 d o c u m e n t . w r i t e ( " < t r > "  
 	 	 	 	 +   " < t d > < i m g   s r c = \ " "   +   v M e n u . i t e m G r o u p s [ i ] . i t e m I c o n   +   " \ " > & n b s p ; < / t d > "  
 	 	 	 	 +   " < t d > < a   h r e f = \ " "   +   v M e n u . i t e m G r o u p s [ i ] . i t e m s [ j ] . h r e f   +   " \ " > "   +   v M e n u . i t e m G r o u p s [ i ] . i t e m s [ j ] . c a p t i o n   +   " < / a > < / t d > "  
 	 	 	 	 +   " < / t r > " )  
 	 	 }  
 	 	 d o c u m e n t . w r i t e ( " < / t a b l e > < / t d > < / t r > " )  
 	 }  
 }  
  
 d o c u m e n t . w r i t e ( " < / t a b l e > < / t d > < / t r > < / t a b l e > " ) ; 
