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