	$(document).ready(function(){
	
		$(".propertyPhotoThumb").click(function(){
			$(".propertyPhotoPreview").css({backgroundImage:"url(" + this.href + ")"});
			return false;
		});
		
	
//	$(function() {
//		setInterval( "slideSwitch()", 5000 );
//	});

});
	
		
//function slideSwitch() {
//    var $active = $('#homeshow div.active');
//
//    if ( $active.length == 0 ) $active = $('#homeshow div:last');
//
//    var $next =  $active.next().length ? $active.next()
//        : $('#homeshow div:first');
//
//    $active.addClass('last-active');
//
//    $next.css({opacity: 0.0})
//        .addClass('active')
//        .animate({opacity: 1.0}, 1000, function() {
//            $active.removeClass('active last-active');
//        });
//}
//
//	
	