function startHome(){
	// set some width depending on the new image
	//$("table#homeContentImageTable").width($("img#mainPropertyImage").width() + 10);
	//$("div#mainPropertyText").width($("img#mainPropertyImage").width());
	
	// start the diashow
	setInterval( "nextDiv()", 7000 );
}

function nextDiv() {
	
	var $active = $('#diaShow div.active');
	
	if ($active.length == 0) $active = $('#diaShow div:last');
	
	var $next =  $active.next().length ? $active.next() : $('#diaShow div:first');

	$active.addClass('inactive');
	
	$active.animate({opacity: 0.0}, 2000);

	$next.css({opacity: 0.0})
		.addClass('active')
		.animate({opacity: 1.0}, 2000, function() {
			$active.removeClass('active');
		});
	
}
