ÿþt h i s . w a i t _   =   f u n c t i o n ( ) { 	  
 	 	   $ ( ' # w a i t ' ) . h i d e ( ) ; 	 	    
 / / 	 	   $ ( ' # m a i n ' ) . s h o w ( ) ;  
 	 	   $ ( ' # m a i n ' ) . f a d e I n ( ' s l o w ' ) ;  
 	   }  
    
 t h i s . i m a g e P r e v i e w   =   f u n c t i o n ( ) { 	  
 	 / *   C O N F I G   * /  
 	 	  
 	 	 x O f f s e t   =   1 0 0 ;  
 	 	 y O f f s e t   =   5 0 ;  
 	 	 	 	  
 	 	 / /   t h e s e   2   v a r i a b l e   d e t e r m i n e   p o p u p ' s   d i s t a n c e   f r o m   t h e   c u r s o r  
 	 	 / /   y o u   m i g h t   w a n t   t o   a d j u s t   t o   g e t   t h e   r i g h t   r e s u l t  
 	 	  
 	 / *   E N D   C O N F I G   * /  
 	 $ ( " a . p r e v i e w " ) . h o v e r ( f u n c t i o n ( e ) { 	  
                 i f ( t h i s . r e v ! = ' ' )   $ ( " b o d y " ) . a p p e n d ( " < d i v   i d = ' p r e v i e w '   s t y l e = ' w i d t h : 2 5 0 p x ' > < d i v   i d = ' w a i t '   c l a s s = ' l o a d i n g '   / > < d i v   a l i g n = ' c e n t e r '   s t y l e = ' p a d d i n g : 5 p x ' > "   +   t h i s . r e v   +   " < / d i v > < / d i v > " ) ;  
                 i f ( t h i s . r e l ! = ' ' )   $ ( " b o d y " ) . a p p e n d ( " < d i v   i d = ' p r e v i e w ' > < d i v   i d = ' w a i t '   c l a s s = ' l o a d i n g '   / > < d i v   a l i g n = ' c e n t e r '   s t y l e = ' p a d d i n g : 5 p x ' > < i m g   s r c = ' . . / "   +   t h i s . r e l   +   " '   s t y l e = ' w i d t h : 5 0 0 p x ' / > < / d i v > < / d i v > " ) ;  
 	 	 $ ( " # p r e v i e w " )  
 	 	 	 . c s s ( " t o p " , ( e . p a g e Y   -   x O f f s e t )   +   " p x " )  
 	 	 	 . c s s ( " l e f t " , ( e . p a g e X   +   y O f f s e t )   +   " p x " )  
 	 	 	 . f a d e I n ( " f a s t " ) ;  
 / / 	 	 $ ( " # p r o T y p e " ) . h i d e ( ) ;  
         } ,  
 	 f u n c t i o n ( ) {  
 	 	 / / t h i s . t i t l e   =   t h i s . t ; 	  
 	 	 $ ( " # p r e v i e w " ) . r e m o v e ( ) ;  
 / / 	 	 $ ( " # p r o T y p e " ) . s h o w ( ) ;  
         } ) ; 	  
 	 $ ( " a . p r e v i e w " ) . m o u s e m o v e ( f u n c t i o n ( e ) {  
 	 	 $ ( " # p r e v i e w " )  
 	 	 	 . c s s ( " t o p " , ( e . p a g e Y   -   x O f f s e t )   +   " p x " )  
 	 	 	 . c s s ( " l e f t " , ( e . p a g e X   +   y O f f s e t )   +   " p x " ) ;  
 	 } ) ; 	 	  
 } ;  
  
  
 / /   s t a r t i n g   t h e   s c r i p t   o n   p a g e   l o a d  
 $ ( 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 P r e v i e w ( ) ;  
 } ) ; 
