ÿþ/ / s t a r t   d i s p l a y   d a y / d a t e   c o d e  
  
 D a y s o f W e e k   =   n e w   A r r a y ( )  
 D a y s o f W e e k [ 0 ] = " C N "  
 D a y s o f W e e k [ 1 ] = " T 2 "  
 D a y s o f W e e k [ 2 ] = " T 3 "  
 D a y s o f W e e k [ 3 ] = " T 4 "  
 D a y s o f W e e k [ 4 ] = " T 5 "  
 D a y s o f W e e k [ 5 ] = " T 6 "  
 D a y s o f W e e k [ 6 ] = " T 7 "  
  
 M o n t h s   =   n e w   A r r a y ( )  
 M o n t h s [ 0 ] = " 0 1 "  
 M o n t h s [ 1 ] = " 0 2 "  
 M o n t h s [ 2 ] = " 0 3 "  
 M o n t h s [ 3 ] = " 0 4 "  
 M o n t h s [ 4 ] = " 0 5 "  
 M o n t h s [ 5 ] = " 0 6 "  
 M o n t h s [ 6 ] = " 0 7 "  
 M o n t h s [ 7 ] = " 0 8 "  
 M o n t h s [ 8 ] = " 0 9 "  
 M o n t h s [ 9 ] = " 1 0 "  
 M o n t h s [ 1 0 ] = " 1 1 "  
 M o n t h s [ 1 1 ] = " 1 2 "  
  
  
 f u n c t i o n   f i x N u m b e r ( t h e _ n u m b e r ) {  
 	 i f   ( t h e _ n u m b e r   <   1 0 ) {  
 	 	 t h e _ n u m b e r   =   " 0 "   +   t h e _ n u m b e r ;  
 	 	 }  
 	 r e t u r n   t h e _ n u m b e r ;  
 }  
  
 f u n c t i o n   f i x P M H o u r s ( t h e _ n u m b e r ) {  
 	 i f   ( t h e _ n u m b e r > 1 2 ) {  
 	 	 t h e _ n u m b e r   =   t h e _ n u m b e r   -   1 2 ;  
 	 	 }  
 	 r e t u r n   t h e _ n u m b e r ;  
 }    
  
 	  
 	 v a r   d a y V a l ;  
 	 v a r   t i m e V a l = n e w   D a t e ( )  
 	 v a r   m = t i m e V a l . g e t M i n u t e s ( )  
 	 v a r   h = t i m e V a l . g e t H o u r s ( )  
 	 v a r   f i x e d _ h o u r   =   f i x P M H o u r s ( h ) ;  
 	 v a r   d a = t i m e V a l . g e t D a t e ( )  
 	 v a r   m o = t i m e V a l . g e t M o n t h ( )  
 	 v a r   y e a r = t i m e V a l . g e t Y e a r ( )  
 	 v a r   s h o w D a y = D a y s o f W e e k [ t i m e V a l . g e t D a y ( ) ]  
 	 v a r   s h o w M o n t h = M o n t h s [ t i m e V a l . g e t M o n t h ( ) ]  
 	 v a r   f i x e d _ m i n u t e   =   f i x N u m b e r ( m ) ;  
 	 v a r   t h e _ t i m e   =   f i x e d _ h o u r   +   " : "   +   f i x e d _ m i n u t e ;  
 	 v a r   t h e _ d a t e   =   ( s h o w D a y + " ,   " + d a + " / " + s h o w M o n t h + " / " + y e a r )  
  
 f u n c t i o n   s h o w T i m e ( ) {  
 	 v a r   t i m e V a l u e   =   t h e _ d a t e ;  
 	 / / t i m e V a l u e   + = ( h   > =   1 2 )   ?   "   p . m . "   :   "   a . m . " ;  
 	 / / d o c u m e n t . w r i t e ( t i m e V a l u e ) ;  
 	 r e t u r n   t i m e V a l u e ;  
 }  
  
 v a r   s D T = s h o w T i m e ( ) ;  
  
 / / e n d   d i s p l a y   d a y / d a t e   c o d e  
  
  
 / / 	 M o d i f y   f o l l o w i n g   f o u r   l i n e s   t o   c u s t o m i z e   y o u r   m e n u  
 v a r   t d C o l o r = " # F F F F F F " ; 	 	 / /   m e n u   i t e m   t e x t   c o l o r  
 v a r   t d B g C o l o r = " # 0 0 4 a 8 9 " ; 	 / /   m e n u   i t e m   b a c k g r o u n d   c o l o r  
 v a r   h l C o l o r = " # F F F F B B " ; 	 	 / /   h i g h l i g h t   t e x t   c o l o r  
 v a r   h l B g C o l o r = " # 6 C 9 1 D 3 " ; 	 / /   h i g h l i g h t   b a c k g r o u n d   c o l o r  
 / / 	 A f t e r   c h a n g e ,   m o d i f y   s a m e   v a l u e s   i n   y o u r   * . c s s   f i l e  
  
 f u n c t i o n   d o M o u s e O v e r ( t d ) {  
 	 t d . s t y l e . b a c k g r o u n d C o l o r = h l B g C o l o r ;  
 	 t d . s t y l e . c o l o r = h l C o l o r ; 	  
 }  
 f u n c t i o n   d o M o u s e O u t ( t d ) {  
 	 t d . s t y l e . b a c k g r o u n d C o l o r = t d B g C o l o r ;  
 	 t d . s t y l e . c o l o r = t d C o l o r ;  
 }  
 f u n c t i o n   d o C l i c k ( u r l ) {  
 	 l o c a t i o n . h r e f = u r l ; 	  
 }  
  
  
 v a r   s H = " < t a b l e   b o r d e r = \ " 0 \ "   i d = \ " n a v m e n u \ "   c e l l p a d d i n g = \ " 0 \ "   c e l l s p a c i n g = \ " 0 \ "   w i d t h = \ " 1 0 0 % \ " > " ;  
             s H + = " < t r > " ;  
             s H + = " < t d   c l a s s = \ " n a v b a r \ "   s t y l e = \ " c o l o r : c y a n \ "   a l i g n = \ " c e n t e r \ "   n o w r a p   w i d t h = \ " 1 3 % \ " > " ;  
             s H + =   s D T ;  
             s H + = " < / t d > " ;  
             s H + = " < t d   c l a s s = \ " n a v b a r \ "   n o w r a p   w i d t h = \ " 7 2 % \ " > " ;  
             s H + = " < m a r q u e e   b g c o l o r = \ " # F F 0 0 0 0 \ "   s c r o l l d e l a y = \ " 1 1 0 \ "     s t y l e = \ " c o l o r : y e l l o w ;   f o n t - f a m i l y :   T a h o m a ;   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 \ " > " ;  
             s H + = " C h à o   m ën g   ¿n   v Ûi   C Õn g   t h ô n g   t i n   B Q L   c á c   K C N   Ón g   N a i   ( D I Z A   P o r t a l ) .   M Íi   ý   k i ¿n   ó n g   g ó p ,   x i n   v u i   l ò n g   v à o   m åc   L i ê n   h Ç  h o ·c   g íi   e m a i l   v Á  Ëa   c h É  i n f o @ d i z a t i s . c o m . v n < / m a r q u e e > " ;  
             s H + = " < / t d > " ;  
       s H + = " < t d   c l a s s = \ " n a v b a r \ "   s t y l e = \ " c u r s o r : h a n d \ "   a l i g n = \ " c e n t e r \ "   w i d t h = \ " 7 % \ "   n o w r a p   o n c l i c k = \ " d o C l i c k ( ' t r a n g c h u . a s p ' ) \ "   o n m o u s e o v e r = \ " d o M o u s e O v e r ( t h i s ) \ "   o n m o u s e o u t = \ " d o M o u s e O u t ( t h i s ) \ " > T r a n g   c h ç< / t d > " ;  
             s H + = " < t d   c l a s s = \ " n a v b a r \ "   s t y l e = \ " c u r s o r : h a n d \ "   a l i g n = \ " c e n t e r \ "   w i d t h = \ " 7 % \ "   n o w r a p   o n m o u s e o v e r = \ " d o M o u s e O v e r ( t h i s ) \ "   o n m o u s e o u t = \ " d o M o u s e O u t ( t h i s ) \ " > S ¡  Ó  s i t e < / t d > " ;  
           s H + = " < t d   c l a s s = \ " n a v b a r \ "   s t y l e = \ " c u r s o r : h a n d \ "   a l i g n = \ " c e n t e r \ "   w i d t h = \ " 7 % \ "   n o w r a p   o n c l i c k = \ " d o C l i c k ( ' t u y e n d u n g . a s p ' ) \ "   o n m o u s e o v e r = \ " d o M o u s e O v e r ( t h i s ) \ "   o n m o u s e o u t = \ " d o M o u s e O u t ( t h i s ) \ " > T u y Ãn   d ån g < / t d > " ;        
             s H + = " < t d   c l a s s = \ " n a v b a r \ "   s t y l e = \ " c u r s o r : h a n d \ "   a l i g n = \ " c e n t e r \ "   w i d t h = \ " 7 % \ "   n o w r a p   o n m o u s e o v e r = \ " d o M o u s e O v e r ( t h i s ) \ "   o n m o u s e o u t = \ " d o M o u s e O u t ( t h i s ) \ " > E n g l i s h < / t d > " ;  
             s H + = " < / t r > " ;  
             s H + = " < / t a b l e > " ;  
  
 d o c u m e n t . w r i t e ( s H ) ;  
 d o c u m e n t . g e t E l e m e n t B y I d ( " n a v 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 " ;  
 
