ÿþ	 	       v a r   m e n u 1 = n e w   A r r a y ( )  
 	       	 	 	     / /   m e n u 1 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = b & a r t i c l e = 1 2 1 " > N Ùi   d u n g   D ñ  á n < \ / a > '  
 	           	       	     / /   m e n u 1 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = b & a r t i c l e = 1 2 1 " > N Ùi   d u n g   c h °¡n g   t r ì n h   Ú c < \ / a > '  
     	       	       v a r   m e n u 2 = n e w   A r r a y ( )  
 	       	 	 	       m e n u 2 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = b & a r t i c l e = 1 1 8 " > A t l a n t i c - Ëa   c h É  d u   h Íc   t i n   c ­y < \ / a > '  
 	           	       	       m e n u 2 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = b & a r t i c l e = 1 2 0 " > T ô n   c h É  h à n h   Ùn g   c ça   A t l a n t i c < \ / a > '  
 	       	 	 	       m e n u 2 [ 2 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = b & a r t i c l e = 1 1 9 " > K h á c h   h à n g   n ó i   v Á  c h ú n g   t ô i < \ / a > '  
     	       	       v a r   m e n u 3 = n e w   A r r a y ( )  
 	       	 	 	       m e n u 3 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = c 1 " > C á c   d ñ  á n   l Ûn < \ / a > '  
 	           	       	       m e n u 3 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = c 2 " > H Íc   b Õn g < \ / a > '  
 	       	 	 	       m e n u 3 [ 2 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = c 3 " > K h u y ¿n   h Íc < \ / a > '  
 	       	 	 	       m e n u 3 [ 3 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = c 4 " > C h °¡n g   t r ì n h   v ëa   h Íc   v ëa   l à m < \ / a > '  
 	       	 	 	       m e n u 3 [ 4 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = c 5 " > à o   t ¡o   n g ô n   n g ï< \ / a > '  
     	       	       v a r   m e n u 4 = n e w   A r r a y ( )  
 	       	 	 	       m e n u 4 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = d 1 " > V i s a   d u   h Íc < \ / a > '  
 	           	       	       m e n u 4 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = d 2 " > V i s a   t h m   t h â n   v à   d u   l Ëc h < \ / a > '  
 	       	 	 	       m e n u 4 [ 2 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = d 3 " > V i s a   n h ­p   c °< \ / a > '  
     	       	       v a r   m e n u 5 = n e w   A r r a y ( )  
 	       	 	 	       m e n u 5 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = e 1 " > L ê n   d ñ  t o á n   c h i   p h í < \ / a > '  
 	           	       	       m e n u 5 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = e 2 " > M ¹o   c ¯t   g i £m   c h i   p h í < \ / a > '  
     	       	       v a r   m e n u 6 = n e w   A r r a y ( )  
 	       	 	 	       m e n u 6 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = f 1 " > T ¡i   S y d n e y < \ / a > '  
 	           	       	       m e n u 6 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = f 2 " > T ¡i   M e l b o u r n e < \ / a > '  
 	       	 	 	       m e n u 6 [ 2 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = f 3 " > T ¡i   A d e l a i d e < \ / a > '  
 	       	 	 	       m e n u 6 [ 3 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = f 4 " > T ¡i   B r i s b a n e < \ / a > '  
 	       	 	 	       m e n u 6 [ 4 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = f 5 " > T ¡i   G o l d C o a s t < \ / a > '  
       	       	 	 	       m e n u 6 [ 5 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = f 6 " > T ¡i   P e r t h < \ / a > '  
 	 	 	 v a r   m e n u 7 = n e w   A r r a y ( )  
 / / 	       	 	 	       m e n u 7 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g 1 " > T ¡i   s a o   l ¡i   c ó   d ñ  á n < \ / a > '  
 / / 	           	       	       m e n u 7 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g 2 " > L ãi   í c h   t ë  d ñ  á n < \ / a > '  
 / / 	       	 	 	       m e n u 7 [ 2 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g 3 " > i Áu   k i Çn   h Íc   s i n h < \ / a > '  
 / / 	       	 	 	       m e n u 7 [ 3 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g 4 " > C á c   t r °Ýn g   t h e o   d ñ  á n < \ / a > '  
 / / 	       	 	 	       m e n u 7 [ 4 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g 5 " > Q u y   t r ì n h   v à   t h ç  t åc < \ / a > '  
 	       	 	 	       m e n u 7 [ 0 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g & a r t i c l e = 1 4 5 " > T ¡i   s a o   l ¡i   c ó   d ñ  á n < \ / a > '  
 	           	       	       m e n u 7 [ 1 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g & a r t i c l e = 1 4 6 " > L ãi   í c h   t ë  d ñ  á n < \ / a > '  
 	       	 	 	       m e n u 7 [ 2 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g & a r t i c l e = 1 4 4 " > i Áu   k i Çn   h Íc   s i n h < \ / a > '  
 	       	 	 	       m e n u 7 [ 3 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g & a r t i c l e = 1 4 3 " > C á c   t r °Ýn g   t h e o   d ñ  á n < \ / a > '  
 	       	 	 	       m e n u 7 [ 4 ] = ' < a     h r e f = " i n d e x . p h p ? m o d = a r t i c l e & c a t = g & a r t i c l e = 1 4 2 " > Q u y   t r ì n h   v à   t h ç  t åc < \ / a > '  
 v a r   d i s a p p e a r d e l a y = 5 0 0     / / m e n u   d i s a p p e a r   s p e e d   o n M o u s e o u t   ( i n   m i l i s e c o n d s )  
 v a r   h o r i z o n t a l o f f s e t = 1   / / h o r i z o n t a l   o f f s e t   o f   m e n u   f r o m   d e f a u l t   l o c a t i o n .   ( 0 - 5   i s   a   g o o d   v a l u e )  
  
 / / / / / N o   f u r t h e r   e d i t t i n g   n e e d e d  
  
 v a r   i e 4 = d o c u m e n t . a l l  
 v a r   n s 6 = d o c u m e n t . g e t E l e m e n t B y I d & & ! d o c u m e n t . a l l  
  
 i f   ( i e 4 | | n s 6 )  
 d o c u m e n t . w r i t e ( ' < d i v   i d = " d r o p m e n u d i v "   s t y l e = " v i s i b i l i t y : h i d d e n ; w i d t h :   1 5 0 p x "   o n M o u s e o v e r = " c l e a r h i d e m e n u ( ) "   o n M o u s e o u t = " d y n a m i c h i d e ( e v e n t ) " > < \ / d i v > ' )  
  
 f u n c t i o n   g e t p o s O f f s e t ( w h a t ,   o f f s e t t y p e ) {  
 v a r   t o t a l o f f s e t = ( o f f s e t t y p e = = " l e f t " ) ?   w h a t . o f f s e t L e f t   :   w h a t . o f f s e t T o p ;  
 v a r   p a r e n t E l = w h a t . o f f s e t P a r e n t ;  
 w h i l e   ( p a r e n t E l ! = n u l l ) {  
 t o t a l o f f s e t = ( o f f s e t t y p e = = " l e f t " ) ?   t o t a l o f f s e t + p a r e n t E l . o f f s e t L e f t   :   t o t a l o f f s e t + p a r e n t E l . o f f s e t T o p ;  
 p a r e n t E l = p a r e n t E l . o f f s e t P a r e n t ;  
 }  
 r e t u r n   t o t a l o f f s e t ;  
 }  
  
 f u n c t i o n   s h o w h i d e ( o b j ,   e ,   v i s i b l e ,   h i d d e n ,   m e n u w i d t h ) {  
 i f   ( i e 4 | | n s 6 )  
 d r o p m e n u o b j . s t y l e . l e f t = d r o p m e n u o b j . s t y l e . t o p = - 4 0 0  
 d r o p m e n u o b j . w i d t h o b j = d r o p m e n u o b j . s t y l e  
 d r o p m e n u o b j . w i d t h o b j . w i d t h = m e n u w i d t h  
 i f   ( e . t y p e = = " c l i c k "   & &   o b j . v i s i b i l i t y = = h i d d e n   | |   e . t y p e = = " m o u s e o v e r " )  
 o b j . v i s i b i l i t y = v i s i b l e  
 e l s e   i f   ( e . t y p e = = " c l i c k " )  
 o b j . v i s i b i l i t y = h i d d e n  
 }  
  
 f u n c t i o n   i e c o m p a t t e s t ( ) {  
 r e t u r n   ( d o c u m e n t . c o m p a t M o d e   & &   d o c u m e n t . c o m p a t M o d e ! = " B a c k C o m p a t " ) ?   d o c u m e n t . d o c u m e n t E l e m e n t   :   d o c u m e n t . b o d y  
 }  
  
 f u n c t i o n   c l e a r b r o w s e r e d g e ( o b j ,   w h i c h e d g e ) {  
 v a r   e d g e o f f s e t = 0  
 i f   ( w h i c h e d g e = = " r i g h t e d g e " ) {  
 v a r   w i n d o w e d g e = i e 4   & &   ! w i n d o w . o p e r a ?   i e c o m p a t t e s t ( ) . s c r o l l L e f t + i e c o m p a t t e s t ( ) . c l i e n t W i d t h - 1 5   :   w i n d o w . p a g e X O f f s e t + w i n d o w . i n n e r W i d t h - 1 5  
 d r o p m e n u o b j . c o n t e n t m e a s u r e = d r o p m e n u o b j . o f f s e t W i d t h  
 i f   ( w i n d o w e d g e - d r o p m e n u o b j . x - o b j . o f f s e t W i d t h   <   d r o p m e n u o b j . c o n t e n t m e a s u r e )  
 e d g e o f f s e t = d r o p m e n u o b j . c o n t e n t m e a s u r e + o b j . o f f s e t W i d t h  
 }  
 e l s e {  
 v a r   t o p e d g e = i e 4   & &   ! w i n d o w . o p e r a ?   i e c o m p a t t e s t ( ) . s c r o l l T o p   :   w i n d o w . p a g e Y O f f s e t  
 v a r   w i n d o w e d g e = i e 4   & &   ! w i n d o w . o p e r a ?   i e c o m p a t t e s t ( ) . s c r o l l T o p + i e c o m p a t t e s t ( ) . c l i e n t H e i g h t - 1 5   :   w i n d o w . p a g e Y O f f s e t + w i n d o w . i n n e r H e i g h t - 1 8  
 d r o p m e n u o b j . c o n t e n t m e a s u r e = d r o p m e n u o b j . o f f s e t H e i g h t  
 i f   ( w i n d o w e d g e - d r o p m e n u o b j . y   <   d r o p m e n u o b j . c o n t e n t m e a s u r e ) {   / / m o v e   m e n u   u p ?  
 e d g e o f f s e t = d r o p m e n u o b j . c o n t e n t m e a s u r e - o b j . o f f s e t H e i g h t  
 i f   ( ( d r o p m e n u o b j . y - t o p e d g e ) < d r o p m e n u o b j . c o n t e n t m e a s u r e )   / / u p   n o   g o o d   e i t h e r ?   ( p o s i t i o n   a t   t o p   o f   v i e w a b l e   w i n d o w   t h e n )  
 e d g e o f f s e t = d r o p m e n u o b j . y  
 }  
 }  
 r e t u r n   e d g e o f f s e t  
 }  
  
 f u n c t i o n   p o p u l a t e m e n u ( w h a t ) {  
 i f   ( i e 4 | | n s 6 )  
 d r o p m e n u o b j . i n n e r H T M L = w h a t . j o i n ( " " )  
 }  
  
  
 f u n c t i o n   d r o p d o w n m e n u ( o b j ,   e ,   m e n u c o n t e n t s ,   m e n u w i d t h ) {  
 i f   ( w i n d o w . e v e n t )   e v e n t . c a n c e l B u b b l e = t r u e  
 e l s e   i f   ( e . s t o p P r o p a g a t i o n )   e . s t o p P r o p a g a t i o n ( )  
 c l e a r h i d e m e n u ( )  
 d r o p m e n u o b j = d o c u m e n t . g e t E l e m e n t B y I d ?   d o c u m e n t . g e t E l e m e n t B y I d ( " d r o p m e n u d i v " )   :   d r o p m e n u d i v  
 p o p u l a t e m e n u ( m e n u c o n t e n t s )  
  
 i f   ( i e 4 | | n s 6 ) {  
 s h o w h i d e ( d r o p m e n u o b j . s t y l e ,   e ,   " v i s i b l e " ,   " h i d d e n " ,   m e n u w i d t h )  
 d r o p m e n u o b j . x = g e t p o s O f f s e t ( o b j ,   " l e f t " )  
 d r o p m e n u o b j . y = g e t p o s O f f s e t ( o b j ,   " t o p " )  
 d r o p m e n u o b j . s t y l e . l e f t = d r o p m e n u o b j . x - c l e a r b r o w s e r e d g e ( o b j ,   " r i g h t e d g e " ) + o b j . o f f s e t W i d t h + h o r i z o n t a l o f f s e t + " p x "  
 d r o p m e n u o b j . s t y l e . t o p = d r o p m e n u o b j . y - c l e a r b r o w s e r e d g e ( o b j ,   " b o t t o m e d g e " ) + " p x "  
 }  
  
 r e t u r n   c l i c k r e t u r n v a l u e ( )  
 }  
  
 f u n c t i o n   c l i c k r e t u r n v a l u e ( ) {  
 i f   ( i e 4 | | n s 6 )   r e t u r n   f a l s e  
 e l s e   r e t u r n   t r u e  
 }  
  
 f u n c t i o n   c o n t a i n s _ n s 6 ( a ,   b )   {  
 w h i l e   ( b . p a r e n t N o d e )  
 i f   ( ( b   =   b . p a r e n t N o d e )   = =   a )  
 r e t u r n   t r u e ;  
 r e t u r n   f a l s e ;  
 }  
  
 f u n c t i o n   d y n a m i c h i d e ( e ) {  
 i f   ( i e 4 & & ! d r o p m e n u o b j . c o n t a i n s ( e . t o E l e m e n t ) )  
 d e l a y h i d e m e n u ( )  
 e l s e   i f   ( n s 6 & & e . c u r r e n t T a r g e t ! =   e . r e l a t e d T a r g e t & &   ! c o n t a i n s _ n s 6 ( e . c u r r e n t T a r g e t ,   e . r e l a t e d T a r g e t ) )  
 d e l a y h i d e m e n u ( )  
 }  
  
 f u n c t i o n   h i d e m e n u ( e ) {  
 i f   ( t y p e o f   d r o p m e n u o b j ! = " u n d e f i n e d " ) {  
 i f   ( i e 4 | | n s 6 )  
 d r o p m e n u o b j . 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   d e l a y h i d e m e n u ( ) {  
 i f   ( i e 4 | | n s 6 )  
 d e l a y h i d e = s e t T i m e o u t ( " h i d e m e n u ( ) " , d i s a p p e a r d e l a y )  
 }  
  
 f u n c t i o n   c l e a r h i d e m e n u ( ) {  
 i f   ( t y p e o f   d e l a y h i d e ! = " u n d e f i n e d " )  
 c l e a r T i m e o u t ( d e l a y h i d e )  
 }  
 