function findDentists()
{
	var czip = document.getElementById("userzip").value;
	var csubzip = czip.substring(0,2);
	var params = "../gmaps/markers.xml";
	var xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET", params, false);
	xmlhttp.send(null);
	var oDom = (new DOMParser()).parseFromString(xmlhttp.responseText, "text/xml");
	var cts = oDom.getElementsByTagName('marker');
	var index = 0;
	var node;
	var df = document.getElementById('dentistlist');
	var attrs = new Object();
	df.innerHTML = "";
	var found = 0;
	while(node = cts.item(index++)){
		idv = document.createElement('div');
		df.appendChild(idv);
		var dsubzip = node.getAttribute("zip").substring(0,2);
		if(dsubzip === csubzip){
			attrs['plain'] = node.getAttribute("plain");
			attrs['address'] = node.getAttribute("address");
			attrs['zip'] = node.getAttribute("zip");
			for(var idx in attrs){
				idv.innerHTML += attrs[idx] + "<br />";
			}
			idv.innerHTML += '<a target="new_page" href="http://maps.google.com/maps?saddr=' + czip + '&daddr=' + escape(attrs['address']+" "+attrs['zip'])+'">Get driving directions </a>';
			idv.innerHTML += "<br /><br />";
			found++;
		}
	}
	if(found < 1){
		df.innerHTML = "<h3>" + found + " dentists found.</h3><br/> <p>If you would like us to contact a dentist about this technique, please fill out the following:</p><div class=\"contactform\"><form action=\"http://www.denturecomfort.com/questions/\" method=\"post\"><br /><label for=\"wpcf_your_name\">Your Name: </label><br /><input type=\"text\" name=\"wpcf_your_name\" id=\"wpcf_your_name\" size=\"30\" maxlength=\"50\" value=\"\" /> (required)<br /><label for=\"wpcf_email\">Your Email:</label><br /><input type=\"text\" name=\"wpcf_email\" id=\"wpcf_email\" size=\"30\" maxlength=\"50\" value=\"\" /> (required)<br /><label for=\"wpcf_website\">Your Website:</label><br /><input type=\"text\" name=\"wpcf_website\" id=\"wpcf_website\" size=\"30\" maxlength=\"100\" value=\"\" /><br /><label for=\"wpcf_msg\">Your Message: </label><textarea name=\"wpcf_msg\" id=\"wpcf_msg\" cols=\"35\" rows=\"8\" ></textarea><input type=\"submit\" name=\"Submit\" value=\"Submit\" id=\"contactsubmit\" /><input type=\"hidden\" name=\"wpcf_stage\" value=\"process\" /></div></form></div>" + df.innerHTML;
	}else{
	df.innerHTML = "<h3>" + found + " dentists found.</h3><br/>" + df.innerHTML;
	}
}
