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