$(document).ready(function(){
	allATags = $('a');
	i = -1;

//Find the "Property search" button in the menu, store it in btnPS
	do{
		i++;
		btnPS = allATags.eq(i);
	}while (btnPS.attr('title') != "Find Property");

//Add click handler to Property Search button
	btnPS.click(function(e) {
		e.preventDefault();

//Programmatically trigger tab
		$('#finder').triggerTab(3);
		
//Wait 1/3 of a sec... then goto #finder anchor.
		setTimeout("document.location.href = '#finder';", 300);
	});
});
