$(document).ready(
	function() {
	
		// BEGIN configuring superfish menu
		$("#navigation").superfish({
			hoverClass: 'sfhover', 
			pathClass: 'overideThisToUse',
			delay: 250,
			animation: {opacity:'show'},
			speed: 'fast',
			autoArrows: false,
			dropShadows: false
		});
		// END configuring superfish menu
	
		// BEGIN handling login form fields
		$("#search").focus(
			function() {
				$(this).val("");
			}
		);
		
		$("#search").blur(
			function() {
				$(this).val("Search...");
		});
		// END handling login form fields
		
		// BEGIN homepage spotlights
		$('#homepage_photos').cycle();
		// END homepage spotlights
		
		// BEGIN property map tooltips
		$("#properties_map li a.main").tooltip({
			relative: true
		});
		// END property map tooltips
		
		// BEGIN toggling Property select menu on contact form
		$("input:radio[@name=recipient_email]").click(function() { 
			if ($(this).attr("id") == "recipient2"){ 
				$("#uv_property_select").show();
			} else { 
				$("#uv_property_select").hide();
			}
		});
		// END toggling Property select menu on contact form
		
	}
);
