// JavaScript Document
$(document).ready(function()	{

	$('#desc_btn').click(function() {
 		$('#desc').show("slow");
		$('#c_details').hide("slow");
		$('#specs').hide("slow");
		$('#calc').hide("slow");
		$('#agent').hide("slow");
	});
	
	$('#det_btn').click(function() {
 		$('#desc').hide("slow");
		$('#c_details').show("slow");
		$('#specs').hide("slow");
		$('#calc').hide("slow");
		$('#agent').hide("slow");
	});
	
	$('#specs_btn').click(function() {
 		$('#desc').hide("slow");
		$('#c_details').hide("slow");
		$('#specs').show("slow");
		$('#calc').hide("slow");
		$('#agent').hide("slow");
	});
	
	$('#calc_btn').click(function() {
 		$('#desc').hide("slow");
		$('#c_details').hide("slow");
		$('#specs').hide("slow");
		$('#calc').show("slow");
		$('#agent').hide("slow");
	});
	
	$('#agent_btn').click(function() {
 		$('#desc').hide("slow");
		$('#c_details').hide("slow");
		$('#specs').hide("slow");
		$('#calc').hide("slow");
		$('#agent').show("slow");
	});
	

$("#rel_btn").toggle(
	function() 
	{
		$('#re_location').show("slow");
	},
	function()
	{
		$('#re_location').hide("slow");
	}
	);
	
	$("#ret_btn").toggle(
	function() 
	{
		$('#re_type').show("slow");
	},
	function()
	{
		$('#re_type').hide("slow");
	}
	);
	
	$("#pf_btn").toggle(
	function() 
	{
		$('#p_facilities').show("slow");
	},
	function()
	{
		$('#p_facilities').hide("slow");
	}
	);
	
	$("#pcf_btn").toggle(
	function() 
	{
		$('#pc_features').show("slow");
	},
	function()
	{
		$('#pc_features').hide("slow");
	}
	);
	
	$("#np_btn").toggle(
	function() 
	{
		$('#n_permitted').show("slow");
	},
	function()
	{
		$('#n_permitted').hide("slow");
	}
	);
	
	$("#homesearch_btn").toggle(
	function() 
	{
		$('#home_form').show("slow");
	},
	function()
	{
		$('#home_form').hide("slow");
	}
	);
	
	$("#advanced_search").toggle(
	function() 
	{
		$('#advanced_search_table').show("slow");
	},
	function()
	{
		$('#advanced_search_table').hide("slow");
	}
	);
	
	$("#id_label_title").toggle(
	function() 
	{
		$('#id_div_title').show("slow");
	},
	function()
	{
		$('#id_div_title').hide("slow");
	}
	);
	
	$("#id_label_price").toggle(
	function() 
	{
		$('#id_div_price').show("slow");
	},
	function()
	{
		$('#id_div_price').hide("slow");
	}
	);	
	
	$("#id_label_location").toggle(
	function() 
	{
		$('#id_div_location').show("slow");
	},
	function()
	{
		$('#id_div_location').hide("slow");
	}
	);	
	
	$("#id_label_type").toggle(
	function() 
	{
		$('#id_div_type').show("slow");
	},
	function()
	{
		$('#id_div_type').hide("slow");
	}
	);	
	
	$("#id_label_size").toggle(
	function() 
	{
		$('#id_div_size').show("slow");
	},
	function()
	{
		$('#id_div_size').hide("slow");
	}
	);

	$("#id_label_agent").toggle(
	function() 
	{
		$('#id_div_agent').show("slow");
	},
	function()
	{
		$('#id_div_agent').hide("slow");
	}
	);
	
	$("#id_label_bedrooms").toggle(
	function() 
	{
		$('#id_div_bedrooms').show("slow");
	},
	function()
	{
		$('#id_div_bedrooms').hide("slow");
	}
	);
	
	$("#id_label_bathrooms").toggle(
	function() 
	{
		$('#id_div_bathrooms').show("slow");
	},
	function()
	{
		$('#id_div_bathrooms').hide("slow");
	}
	);
	
	});