// JavaScript Document
// JavaScript Document
var $j = jQuery.noConflict();

$j(document).ready(function(){
	//$j('#IDX-resultsMLSRights').hide();
	//$j('.IDX-detailsFooter').hide();
	$j("select#city option[value='32882']").attr("selected", "selected");

/*	var myText = $j('#IDX-main div:contains("Data services provided by IDX Broker")').html();
	if(myText != null) {
	myText = myText.replace('Data services provided by <a href="http://www.idxbroker.com/" target="blank">IDX Broker</a>','');
	$j('#IDX-main div:contains("Data services provided by IDX Broker")').html(myText);
	}*/
	
	var removeImage = 0;
	$j('.IDX-showcaseDetails').each(function() {
		removeImage++;
	});

	var tempCounter = 0;
	$j('.IDX-showcaseDetails').each(function(index) {
		tempCounter++;
		if(tempCounter == removeImage) {
			$j(this).css('background','none');	
		}
	});		

	$j('.float_box').css("opacity",0.9);

	$j('.quick_link').click(function() {
		$j('.float_box').hide();
		$j('#'+this.name).slideDown(600);
		$j(".quick_link_close span").css("color","blue");
		return false;
	})
		
	$j('.quick_link_close').click(function() {
		$j('#'+this.title).css("display","none");
		return false;
	})

	$j(".quick_link_close").hover(function() {
		$j(".quick_link_close span").css("color","#000");
	  }, function() {
		$j(".quick_link_close span").css("color","blue");
	  });
	
	//$j("#IDX-officeDisplayName").html('Stavros Property Group').show();
	//$j("#IDX-officeAddressNumber").html('1445 Bounty Way<br />Laguna Beach, CA 92651').show();
	//$j("#IDX-officeAddressExtra").html('Direct: 949-290-0139 ').show();
	
	//$j("#IDX-officePhone").html('Fax: 949-606-9414').show();
	
});