$.Destaques = function () {

	var me = this;

	//$element.pontoscroll();
	
	this.chamaDestaque = function() {
		var $menu = $("#abas div");
		$("#load-imoveis").empty().html("<div class='box'><p>carregando...</p></div>").load("ajax.imoveis-lancamentos", function() { $(this).find('.col').pontoscroll() });
		
		$menu.find('a').bind('click', function(e) {
			e.preventDefault();
			$menu.removeClass('aba-ativo');
			$(this).parent().addClass('aba-ativo');
			$("#load-imoveis").empty().html("<div class='box'><div style='width:700px;text-align:center;padding-top:90px;'><p><img src='../img/preloader.gif' alt='' /></p>Carregando dados...</div></div>").load($(this).attr('href'), function() { $(this).parents("#imoveis").find('.box .col').pontoscroll() });
		});
	};
	
	this.chamaDestaque();
};

(function($){
	$(function (){

		var destaques = new $.Destaques();

	});
})(jQuery);