
		function changeObjectBlock(s_val) {
			_p1 = document.getElementById("href-object-description");
			if(_p1) {	_p1.style.color = ""; document.getElementById("object-description").style.display = "none";	}
			_p2 = document.getElementById("href-object-price");
			if(_p2) {	_p2.style.color = ""; document.getElementById("object-price").style.display = "none";	}
			_p3 = document.getElementById("href-object-photos");
			if(_p3) {	_p3.style.color = ""; document.getElementById("object-photos").style.display = "none";	}
			_p4 = document.getElementById("href-object-contact");
			if(_p4) {	_p4.style.color = ""; document.getElementById("object-contact").style.display = "none";	}
			_p5 = document.getElementById("href-object-response");
			if(_p5) {	_p5.style.color = ""; document.getElementById("object-response").style.display = "none";	}	
			
			document.getElementById(s_val).style.display = "";
			document.getElementById("href-" + s_val).style.color = "red";
			return true;
		}
		
		function add_favorites(_href) {
			window.open(_href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no');
			return false;
		}

		function PropertyBook() {
			book_window = window.open("/favorites/","book_window","scrollbars=yes,resizable=yes,width=700,height=500,left=150,top=100");
			document.book_form.target = "book_window";
			document.book_form.submit();
			return true;
		}

