
$(document).ready(function(){

$('#newsHome').cycle({ 
	fx:     'scrollVert', 
	speed:   2000,
	cleartype: false
});


//var counter = 0
// var ocounter = 0
//news = $('#slideone, #slidetwo, #slidethree');

//function showNews () {
//	
//	news.slideUp('fast')	
//		.filter(function (index) { return index == counter % 3; }) // figure out correct div to show
//		.slideDown('slow');													   
//		
//	counter++;
//
//}; // 
//
//showNews();// show first div    
//
//setInterval(function () {
//	showNews(); // show next div
//}, 8 * 1000); // do this every 10 seconds 
//			   
	
$(".propertyPhotoThumb").click(function(){
	$(".propertyPhotoPreview").css({backgroundImage:"url(" + this.href + ")"});
	return false;
});

});
	
	
	