/* 
Agent scripts

Contents
- FEATURED PROPERTY IMAGE HOVER
- FEATURED PROPERTY DIV HOVER
- PROPERTY RESULTS IMAGE HOVER
- PROPERTY IMAGE HOVER

/*  FEATURED PROPERTY IMAGE HOVER
------------------------------------*/

 function showFeaturedHover()
 {  
      jQuery('.featured-property .featured-property-image').each(function(){
            var el = jQuery(this);
            el.hover(function(){
                 el.children('.pics').show();
            },function(){
                el.children('.pics').hide();
            })
      });
 }

/*  FEATURED PROPERTY DIV HOVER
------------------------------------*/
$(document).ready(function(){
	$('.featured-property').hover( 
		function(){$(this).addClass('hover')}
		,
		function(){$(this).removeClass('hover')}
	);
 });

/* PROPERTY RESULTS IMAGE HOVER
------------------------------------*/
$(document).ready(function(){
	//$('.pics-small').hide();
	//$('.featured-property-small-bar').hide();
	
	$('.featured-property-small').hover( 
		function(){
		  $(this).addClass('hover')
          jQuery(this).children('.featured-property-small-image').children('.pics-small').show();
          jQuery(this).children('.featured-property-small-bar').show();
         }
		,
		function(){
		  $(this).removeClass('hover')
          jQuery(this).children('.featured-property-small-image').children('.pics-small').hide();;
          jQuery(this).children('.featured-property-small-bar').hide();
        }
	);
	
 });


/*  PROPERTY IMAGE HOVER
------------------------------------*/
$(document).ready(function(){
	$('.pt-pics').hide();
	$('.pt-image').hover( 
		function(){$('.pt-pics').show();}
		,
		function(){$('.pt-pics').hide();}
	);
 });


