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