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