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