function filterPhones() {

	var phoneMan = document.phonebrowser.Manufacturer.options[document.phonebrowser.Manufacturer.selectedIndex].value;
	var phoneFeature = document.phonebrowser.Feature.options[document.phonebrowser.Feature.selectedIndex].value;
	

		if(phoneMan == "All Handsets" && phoneFeature == "All Features") {
			//Return everything
			//document.write("Return everything");
			//This will send the page to a page with a complete listing of all phones
			window.location = "/mobile-phone-solutions/handsets/";
		}
		
		else {  
		if(phoneMan !== "All Handsets" && phoneFeature == "All Features" ){
			//Get any phoneMan and send to page
			//document.write("Get any phoneMan and send to page");
			//This sends it to a page with specific manufacturer
			window.location = "/mobile-phone-solutions/handsets/manufacturers/?phoneMan=" + phoneMan;
		}
		
		else { 
		if (phoneMan == "All Handsets" && phoneFeature != "All Features"){
			//Get any handset with a specific feature
			//document.write("Get any handset with a specific feature");
			//This sends it to a page with specific feature
			window.location = "/mobile-phone-solutions/handsets/features/?phoneFeature=" + phoneFeature;
		}
		else { 
		if (phoneMan !== "All Handsets" && phoneFeature !== "All Features"){
			//Get specific phone man and feature
			//document.write("Get specific phone man and feature");
			//This will send to a page sorting specific phone and feature
			window.location = "/mobile-phone-solutions/handsets/manufacturers-and-features/?phoneMan=" + phoneMan + "&phoneFeature=" + phoneFeature;
		}
		
	}
}	
}

}
