	/*
	* File: features.js
	* Custom logic for the page: special features
	*/

	$(document).ready(function () {

		$("#f_category").change(filterSubmit);
		$("#f_category2").change(function() { $("#f_category").val( $("#f_category2").val() ); filterSubmit(); });

	});



	////
	// filter submit
	//
	function filterSubmit()
	{
		var filterCategory = $("#f_category").val() || "all";

		var listingURL = "/underwater-photography-special-features/category/" + filterCategory;
		window.location = listingURL;

		return false;
	} // /filterSubmit
