ÿþ< ! - -   / /   S T A R T   M E N U   C O D E  
  
 / /   N O T E :   I f   y o u   u s e   a   '   a d d   a   s l a s h   b e f o r e   i t   l i k e   t h i s   \ '  
  
  
 S t a r t M e n u ( )  
  
  
 / /   M E N U   O P T I O N S   -   y o u   w i l l   f i n d   m o r e   o p t i o n s   i n   t h e   c o r p o r a t e s t y l e . c s s  
  
 M F L 	 	 =   0 ;   	 	 	 	 	 / /   M E N U   D I S T A N C E   F R O M   E D G E  
 M F T 	 	 =   1 8 6 ;   	 	 	 	 	 / /   M E N U   D I S T A N C E   F R O M   T O P  
 A L I G N 	 	 =   " l e f t " 	 	 	 	 / /   M E N U   L E F T   O R   R I G H T  
 T M H 	 	 =   2 2 ; 	 	 	 	 	 / /   T O P   M E N U   H E I G H T  
 T M F S 	 	 =   " 8 " ; 	 	 	 	 	 / /   T O P   M E N U   F O N T   S I Z E  
 T M F W 	 	 =   " b o l d " ; 	 	 	 	 / /   T O P   M E N U   F O N T   W E I G H T   b o l d / n o r m a l  
 T M F F 	 	 =   "   a r i a l ,   v e r d a n a ,   h e l v e t i c a ,   s a n s " ; 	 / /   T O P   M E N U   F O N T   F A C E  
 T M C 	 	 =   " F F F F F F " ; 	 	 	 	 / /   T O P   M E N U   O F F   F O N T   C O L O R  
 T M B C 	 	 =   " 9 C B A E 1 " ; 	 	 	 	 / /   T O P   M E N U   O F F   B A C K G R O U N D   C O L O R  
 T M B I 	 	 =   " p i c t s / m e n u . g i f " ; 	 	 	 / /   T O P   M E N U   O F F   B A C K G R O U N D   I M A G E  
 T M H C 	 	 =   " 0 0 0 0 0 0 " ; 	 	 	 	 / /   T O P   M E N U   H O V E R   T E X T   C O L O R  
 T M H B C 	 	 =   " 7 9 A 1 D 6 " ; 	 	 	 	 / /   T O P   M E N U   H O V E R   B A C K G R O U N D   C O L O R  
 T M H B I 	 	 =   " p i c t s / m e n u o n . g i f " ; 	 	 	 / /   T O P   M E N U   H O V E R   B A C K G R O U N D   I M A G E  
 M O 	 	 =   T M H - 2 ; 	 	 	 	 / /   Y   M E N U   O V E R L A P   C H A N G E   N U M B E R   V A L U E  
 S U B s h i f t 	 =   0 ; 	 	 	 	 	 / /   S H I F T   S U B M E N U   R I G H T  
  
  
  
 / /   S T A R T   S U B M E N U   O P T I O N S   -   y o u   w i l l   f i n d   m o r e   o p t i o n s   i n   t h e   c o r p o r a t e s t y l e . c s s  
  
  
 S M H 	 	 =   2 0 ; 	 	 	 	 	 / /   S U B   M E N U   H E I G H T  
 S M F S 	 	 =   " 8 " ; 	 	 	 	 	 / /   S U B   M E N U   F O N T   S I Z E  
 S M F W 	 	 =   " n o r m a l " ; 	 	 	 	 / /   S U B   M E N U   F O N T   W E I G H T   b o l d / n o r m a l  
 S M F F 	 	 =   " a r i a l , M S   S a n s   S e r i f , s a n s - s e r i f " ; 	 / /   S U B   M E N U   F O N T   F A C E  
 S M C 	 	 =   " 0 0 0 0 0 0 " ; 	 	 	 	 / /   S U B   M E N U   O F F   F O N T   C O L O R  
 S M B C 	 	 =   " F F F F F F " ; 	 	 	 	 / /   S U B   M E N U   O F F   B A C K G R O U N D   C O L O R  
 S M H C 	 	 =   " F F F F F F " ; 	 	 	 	 / /   S U B   M E N U   H O V E R   T E X T   C O L O R  
 S M H B C 	 	 =   " 7 9 A 1 D 6 " ; 	 	 	 	 / /   S U B   M E N U   H O V E R   B A C K G R O U N D   C O L O R  
  
  
 S u b M e n u ( )  
  
  
  
  
 / /   S T A R T   M E N U   N U M B E R   1   C O P Y   A N D   P A S T E   A   G R O U P   T O   A D D   A   N E W   T O P   L E V E L   S E E   N O T E   B E L O W  
  
  
 T o p _ W i d t h [ 0 ] = 1 2 5 ;   S u b _ M e n u _ W i d t h [ 0 ] = 1 5 0 ;  
 m [ 0 ] = ' S a m i   B e a c h   H o t e l ' ; n [ 0 ] = ' h o m e . h t m l ' ; s t [ 0 ] = " " ; s [ 0 ] = " " + c  
 + l + " h o m e . h t m l " + r + "    ±Á¿ÅÃ¯±Ã·  " + c  
 + l + " p r o f i l e . h t m " + r + "   —  Ÿ¹º¿³­½µ¹±  ”ÌÁ¹¶±  " + c  
 + l + " g a l l e r y 1 . h t m " + r + "   ¦ÉÄ¿³Á±Æ¯µÂ  " + c  
 + l + " f a q - h o m e . h t m " + r + "   £Å½®¸µ¹Â  •ÁÉÄ®Ãµ¹Â  " + c  
 + l + " i n d e x . h t m l " + r + "   ‘ÁÇ¹º®  £µ»¯´±  " + c  
  
  
 T o p _ W i d t h [ 1 ] = 1 2 5 ;   S u b _ M e n u _ W i d t h [ 1 ] = 1 5 0 ;  
 m [ 1 ] = ' ”¹±¼¿½®' ; n [ 1 ] = ' s t a n d a r d r o o m s . h t m ' ; s t [ 1 ] = " " ; s [ 1 ] = " " + c  
 + l + " s t a n d a r d r o o m s . h t m " + r + "   S t a n d a r d   ”É¼¬Ä¹±  " + c  
 + l + " g a r d e n r o o m s . h t m " + r + "   ”É¼¬Ä¹±  ¼µ  ¸­±  ÃÄ¿½  º®À¿  " + c  
 + l + " r a t e s . h t m " + r + "   ¤¹¼¿º±Ä¬»¿³¿Â  " + c  
 + l + " c o n t a c t . h t m " + r + "   šÁ±Ä®Ãµ¹Â  " + c  
  
 T o p _ W i d t h [ 2 ] = 1 6 0 ;   S u b _ M e n u _ W i d t h [ 2 ] = 1 8 5 ;  
 m [ 2 ] = ' ¥À·ÁµÃ¯µÂ  /   •³º±Ä±ÃÄ¬Ãµ¹Â' ; n [ 2 ] = ' f a c i l i t i e s . h t m ' ; s t [ 2 ] = " " ; s [ 2 ] = " " + c  
 + l + " f a c i l i t i e s . h t m " + r + "   ¥À·ÁµÃ¯µÂ/ •³º±Ä±ÃÄ¬Ãµ¹Â  " + c  
  
  
 T o p _ W i d t h [ 3 ] = 1 2 5 ; S u b _ M e n u _ W i d t h [ 3 ] = 1 5 0 ;  
 m [ 3 ] = ' Ÿ¹  Àµ»¬ÄµÂ  ¼±Â' ; n [ 3 ] = ' o u r g u e s t s . h t m ' ; s t [ 3 ] = " " ; s [ 3 ] = " " + c  
 + l + " o u r g u e s t s . h t m " + r + "    µ»¬ÄµÂ  &   V I P    µ»¬ÄµÂ    " + c  
  
  
 T o p _ W i d t h [ 4 ] = 1 2 5 ;   S u b _ M e n u _ W i d t h [ 4 ] = 1 5 0 ;  
 m [ 4 ] = ' Ÿ´·³ÌÂ   µÁ¹¿Ç®Â' ; n [ 4 ] = ' l o c a t i o n . h t m ' ; s t [ 4 ] = " " ; s [ 4 ] = " " + c  
 + l + " l o c a t i o n . h t m " + r + "   —  £¬¼·  " + c  
 + l + " h o w . h t m " + r + "    ÉÂ  ¸±  ­Á¸µÄµ  " + c  
 + l + " k e f a l o n i a . h t m " + r + "   —  šµÆ±»¿½¹¬  " + c  
 + l + " h i s t o r y . h t m " + r + "   —  ¹ÃÄ¿Á¯±  Ä·Â  " + c  
 + l + " s i g h t s e e i n g . h t m " + r + "   ¤±  ‘¾¹¿¸­±Ä±  Ä·Â  " + c  
  
  
 T o p _ W i d t h [ 5 ] = 1 2 5 ;   S u b _ M e n u _ W i d t h [ 5 ] = 1 5 0 ;  
 m [ 5 ] = ' ”Á±ÃÄ·Á¹ÌÄ·ÄµÂ' ; n [ 5 ] = ' a c t i v i t i e s . h t m ' ; s t [ 5 ] = " " ; s [ 5 ] = " " + c  
 + l + " a c t i v i t i e s . h t m " + r + "   ”Á±ÃÄ·Á¹ÌÄ·ÄµÂ" + c  
  
  
 T o p _ W i d t h [ 6 ] = 1 2 5 ; S u b _ M e n u _ W i d t h [ 6 ] = 1 5 0 ;  
 m [ 6 ] = '   •À¹º¿¹½É½¯±' ; n [ 6 ] = ' c o n t a c t . h t m ' ; s t [ 6 ] = " " ; s [ 6 ] = " " + c  
 + l + " c o n t a c t . h t m " + r + "   •À¹º¿¹½É½¯±  " + c  
 + l + " . . / g b o o k " + r + "   ’¹²»¯¿  µÀ¹ÃºµÀÄÎ½  " + c  
 + l + " l i n k s . h t m " + r + "   §Á®Ã¹¼¿¹  £Í½´µÃ¼¿¹  " + c  
  
  
  
  
 / /   I F   Y O U   A D D   A N O T H E R   T O P   L E V E L   M E N U   Y O U   M U S T   A D D   T O   T H E   B O T T O M   O F   T H I S   L I S T  
  
 A D J [ 0 ] = M F L ;  
 A D J [ 1 ] = ( T o p _ W i d t h [ 0 ] ) + M F L ;  
 A D J [ 2 ] = ( T o p _ W i d t h [ 0 ] + T o p _ W i d t h [ 1 ] ) + M F L ;  
 A D J [ 3 ] = ( T o p _ W i d t h [ 0 ] + T o p _ W i d t h [ 1 ] + T o p _ W i d t h [ 2 ] ) + M F L ;  
 A D J [ 4 ] = ( T o p _ W i d t h [ 0 ] + T o p _ W i d t h [ 1 ] + T o p _ W i d t h [ 2 ] + T o p _ W i d t h [ 3 ] ) + M F L ;  
 A D J [ 5 ] = ( T o p _ W i d t h [ 0 ] + T o p _ W i d t h [ 1 ] + T o p _ W i d t h [ 2 ] + T o p _ W i d t h [ 3 ] + T o p _ W i d t h [ 4 ] ) + M F L ;  
 A D J [ 6 ] = ( T o p _ W i d t h [ 0 ] + T o p _ W i d t h [ 1 ] + T o p _ W i d t h [ 2 ] + T o p _ W i d t h [ 3 ] + T o p _ W i d t h [ 4 ] + T o p _ W i d t h [ 5 ] ) + M F L ;  
  
  
 / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 / /   Y O U   D O   N O T   N E E D   T O   E D I T   B E L O W   T H I S   L I N E   2 0 0 3   A l l w e b c o   D e s i g n  
 / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
  
  
  
  
  
 M E N U = m . l e n g t h  
  
 f o r   ( i = 0 ;   i   <   M E N U ;   i + + ) {  
  
  
 / /   S T A R T   W R I T I N G   T O P   L E V E L   M E N U S  
  
  
 d o c u m e n t . w r i t e ( " < d i v   s t y l e = ' p o s i t i o n : a b s o l u t e ; " + A L I G N + " : " + A D J [ i ] + " ; t o p : " + M F T + " ; w i d t h : " + T o p _ W i d t h [ i ] + " '   o n m o u s e o v e r = ' o [ " + i + " ] . S h o w M e n u ( ) '   o n m o u s e o u t = ' o [ " + i + " ] . H i d e M e n u ( ) ' > " )  
  
 b r o w s e r _ v e r s i o n =   p a r s e I n t ( n a v i g a t o r . a p p V e r s i o n ) ;  
 b r o w s e r _ t y p e   =   n a v i g a t o r . a p p N a m e ;  
 i f   ( b r o w s e r _ t y p e   = =   " N e t s c a p e " )   {  
 d o c u m e n t . w r i t e ( " < a   c l a s s = ' m e n u _ T O P '   s t y l e = ' h e i g h t : " + T M H + " ;   c o l o r : # " + T M C + " ;   b a c k g r o u n d - i m a g e :   u r l ( " + T M B I + " ) ;   b a c k g r o u n d - c o l o r : # " + T M B C + " ;   f o n t - s i z e : " + T M F S + " p t ;   f o n t - w e i g h t : " + T M F W + " ;   f o n t - f a m i l y :   " + T M F F + " ;   " + s p n + " '   h r e f = ' " + n [ i ] + " ' > " + m [ i ] + " < / a > < / d i v > " )  
 }  
 e l s e   {  
  
 d o c u m e n t . w r i t e ( " < a   c l a s s = ' m e n u _ T O P '   s t y l e = ' h e i g h t : " + T M H + " ;   c o l o r : # " + T M C + " ;   b a c k g r o u n d - i m a g e :   u r l ( " + T M B I + " ) ;   b a c k g r o u n d - c o l o r : # " + T M B C + " ;   f o n t - s i z e : " + T M F S + " p t ;   f o n t - w e i g h t : " + T M F W + " ;   f o n t - f a m i l y :   " + T M F F + " ;   " + s p n + " '   o n m o u s e o v e r = \ " t h i s . s t y l e . b a c k g r o u n d C o l o r = ' # " + T M H B C + " ' ; t h i s . s t y l e . c o l o r = ' " + T M H C + " ' ; t h i s . s t y l e . b a c k g r o u n d I m a g e = ' U R L ( " + T M H B I + " ) ' \ "     o n m o u s e o u t = \ " t h i s . s t y l e . b a c k g r o u n d C o l o r = ' # " + T M B C + " ' ; t h i s . s t y l e . c o l o r = ' " + T M C + " ' ; t h i s . s t y l e . b a c k g r o u n d I m a g e = ' U R L ( " + T M B I + " ) ' \ "   h r e f = ' " + n [ i ] + " ' > " + m [ i ] + " < / a > < / d i v > " )  
  
 }  
  
 }  
  
  
 f o r   ( i = 0 ;   i   <   M E N U ;   i + + ) {  
  
 / /   S T A R T   W R I T I N G   S U B   M E N U S  
  
  
 d o c u m e n t . w r i t e ( " < d i v   i d = ' S U B " + i + " '   c l a s s = ' m e n u _ D I V '   s t y l e = ' p o s i t i o n :   a b s o l u t e ;   " + A L I G N + " : " + ( A D J [ i ] + S U B s h i f t ) + " ; t o p : " + ( M F T + M O ) + " ; w i d t h : " + S u b _ M e n u _ W i d t h [ i ] + " ; b a c k g r o u n d - c o l o r : # " + S M B C + " ; '   o n m o u s e o v e r = ' o [ " + i + " ] . S h o w M e n u ( ) '   o n m o u s e o u t = ' o [ " + i + " ] . H i d e M e n u ( ) ' > " + s [ i ] + " < / d i v > " )  
  
  
 }  
  
  
  
 f u n c t i o n   S t a r t M e n u ( )  
 {  
  
 v a r   D 6 = w i n d o w , Y 7 = d o c u m e n t ;  
 f u n c t i o n   D E T E C T ( )  
 {  
 t h i s . v e r = n a v i g a t o r . a p p V e r s i o n ; t h i s . a g e n t = n a v i g a t o r . u s e r A g e n t ; t h i s . d o m = Y 7 . g e t E l e m e n t B y I d ? 1 : 0 ; t h i s . o p e r a 5 = t h i s . a g e n t . i n d e x O f ( " O p e r a   5 " ) > - 1 ; t h i s . i e 5 = ( t h i s . v e r . i n d e x O f ( " M S I E   5 " ) > - 1   & &   t h i s . d o m   & &   ! t h i s . o p e r a 5 ) ? 1 : 0 ; t h i s . i e 6 = ( t h i s . v e r . i n d e x O f ( " M S I E   6 " ) > - 1   & &   t h i s . d o m   & &   ! t h i s . o p e r a 5 ) ? 1 : 0 ; t h i s . i e 4 = ( Y 7 . a l l   & &   ! t h i s . d o m   & &   ! t h i s . o p e r a 5 ) ? 1 : 0 ; t h i s . i e = t h i s . i e 4 | | t h i s . i e 5 | | t h i s . i e 6 ; t h i s . m a c = t h i s . a g e n t . i n d e x O f ( " M a c " ) > - 1 ; t h i s . n s 6 = ( t h i s . d o m   & &   p a r s e I n t ( t h i s . v e r ) > = 5 ) ? 1 : 0 ; t h i s . n s 4 = ( Y 7 . l a y e r s   & &   ! t h i s . d o m ) ? 1 : 0 ; t h i s . B W D = ( t h i s . i e 6 | | t h i s . i e 5 | | t h i s . i e 4 | | t h i s . n s 4 | | t h i s . n s 6 | | t h i s . o p e r a 5 ) ; r e t u r n   t h i s  
 }  
 B W D = n e w   D E T E C T ( ) ; z = 0 ; b = 0 ;  
 s p n = " " ;  
 i f ( B W D . o p e r a 5 | | B W D . n s 6 )  
 {  
 b = 2  
 } ;  
 i f ( B W D . i e )  
 {  
 s p n = "   w i d t h :   1 0 0 % "  
 } e l s e {  
 z = 6  
 }  
  
 }    
  
  
 f u n c t i o n   S u b M e n u ( )  
 {  
  
 d o c u m e n t . w r i t e ( " < 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 '   w i d t h = ' 1 0 0 % '   B G C O L O R = ' # " + T M B C + " ' > < t r > < t d > " ) ;  
 d o c u m e n t . w r i t e ( " < i m g   s r c = ' p i c t s / s p a c e r . g i f '   w i d t h = ' 1 0 0 % '   h e i g h t = ' " + T M H + " ' > < b r > " ) ;  
 d o c u m e n t . w r i t e ( " < / t d > < / t r > < / t a b l e > " ) ;  
  
 d o c u m e n t . w r i t e ( " < d i v   w i d t h = ' 1 0 0 % '   s t y l e = ' h e i g h t : " + T M H + " ; p o s i t i o n : a b s o l u t e ; t o p : " + M F T + " ; w i d t h : 1 0 0 % ; b a c k g r o u n d - i m a g e :   u r l ( " + T M B I + " ) ;   b a c k g r o u n d - c o l o r : # " + T M B C + " ; z - l e v e l : - 2 ' > < / d i v > " )  
  
 b r o w s e r _ v e r s i o n =   p a r s e I n t ( n a v i g a t o r . a p p V e r s i o n ) ;  
 b r o w s e r _ t y p e   =   n a v i g a t o r . a p p N a m e ;  
 i f   ( b r o w s e r _ t y p e   = =   " N e t s c a p e " )   {  
 l = " < a   c l a s s = ' m e n u _ S U B '   s t y l e = ' h e i g h t : " + S M H + " ;   c o l o r : # " + S M C + " ;   b a c k g r o u n d - c o l o r : # " + S M B C + " ;   f o n t - s i z e : " + S M F S + " p t ;   f o n t - w e i g h t : " + S M F W + " ;   f o n t - f a m i l y :   " + S M F F + " ; " + s p n + " '   h r e f = ' " ;  
 }  
 e l s e   {  
 l = " < a   c l a s s = ' m e n u _ S U B '   s t y l e = ' h e i g h t : " + S M H + " ;   c o l o r : # " + S M C + " ;   b a c k g r o u n d - c o l o r : # " + S M B C + " ;   f o n t - s i z e : " + S M F S + " p t ;   f o n t - w e i g h t : " + S M F W + " ;   f o n t - f a m i l y :   " + S M F F + " ; " + s p n + " '   o n m o u s e o v e r = \ " t h i s . s t y l e . b a c k g r o u n d C o l o r = ' # " + S M H B C + " ' ; t h i s . s t y l e . c o l o r = ' " + S M H C + " ' \ "     o n m o u s e o u t = \ " t h i s . s t y l e . b a c k g r o u n d C o l o r = ' # " + S M B C + " ' ; t h i s . s t y l e . c o l o r = ' " + S M C + " ' \ "   h r e f = ' " ;  
 }  
 r = " ' > " ;  
 c = " < / a > " ;  
  
  
 m = n e w   A r r a y ( ) ; n = n e w   A r r a y ( ) ; s = n e w   A r r a y ( ) ; S u b _ M e n u _ W i d t h = n e w   A r r a y ( ) ; s u = n e w   A r r a y ( ) ; s t = n e w   A r r a y ( ) ; T o p _ W i d t h = n e w   A r r a y ( ) ; A D J = n e w   A r r a y ( )  
  
 }  
  
  
 f u n c t i o n   l i b _ o b j ( o b j , n e s t ) { n e s t = ( ! n e s t )   ?   " " : ' d o c u m e n t . ' + n e s t + ' . ' ; t h i s . e v n t = B W D . d o m ?   d o c u m e n t . g e t E l e m e n t B y I d ( o b j ) : B W D . i e 4 ? d o c u m e n t . a l l [ o b j ] : B W D . n s 4 ? e v a l ( n e s t + " d o c u m e n t . l a y e r s . "   + o b j ) : 0 ; t h i s . c s s = B W D . d o m | | B W D . i e 4 ? t h i s . e v n t . s t y l e : t h i s . e v n t ; t h i s . r e f = B W D . d o m | | B W D . i e 4 ? d o c u m e n t : t h i s . c s s . d o c u m e n t ; t h i s . x = p a r s e I n t ( t h i s . c s s . t o p ) | | t h i s . c s s . p i x e l t o p | | t h i s . e v n t . o f f s e t t o p | | 0 ; t h i s . y = p a r s e I n t ( t h i s . c s s . l e f t ) | | t h i s . c s s . p i x e l l e f t | | t h i s . e v n t . o f f s e t l e f t | | 0 ; r e t u r n   t h i s }  
 f u n c t i o n   l i b _ d o c _ s i z e ( ) { t h i s . x = 0 ; t h i s . x 2 = B W D . i e   & &   d o c u m e n t . b o d y . o f f s e t W i d t h - 2 0 | | i n n e r W i d t h | | 0 ; t h i s . y = 0 ; t h i s . y 2 = B W D . i e   & &   d o c u m e n t . b o d y . o f f s e t H e i g h t - 5 | | i n n e r H e i g h t | | 0 ; t h i s . x 5 0 = t h i s . x 2 / 2 ; t h i s . y 5 0 = t h i s . y 2 / 2 ; r e t u r n   t h i s ; }  
 l i b _ o b j . 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 ( ) { t h i s . c s s . v i s i b i l i t y = " v i s i b l e " }  
 l i b _ o b j . p r o t o t y p e . H i d e M e n u   =   f u n c t i o n ( ) { t h i s . c s s . v i s i b i l i t y = " h i d d e n " }  
 f u n c t i o n   l i b i n i t ( ) { p a g e = n e w   l i b _ d o c _ s i z e ( ) ; o = n e w   A r r a y ( ) ; f o r   ( i = 0 ;   i   <   M E N U ;   i + + ) { o [ i ] = n e w   l i b _ o b j ( ' S U B ' + i ) ; o [ i ] . H i d e M e n u ( ) } }  
 l i b i n i t ( )  
  
  
 / /   E N D   M E N U   C O D E   - - >  
 
