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