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