(function(){ document.write('
Directory Plus

Search Directory Plus

Find:
Where:
Search
'); document.getElementById("dpSearchSubmit").addEventListener("click",function(){ var what=document.getElementById("dpSearchWhat").value.replace(/[\']/g,"").replace(/[^A-Za-z0-9-]/g,"-").replace(/-{1,}/g,"-").replace(/^\-/,"").replace(/\-$/,""), where=document.getElementById("dpSearchWhere").value.replace(/,\s([a-zA-Z]{2})$/, ',$1').replace(/\s([a-zA-Z]{2})$/, ',$1').replace(/\s{1,}$/g, "").replace(/\s{1,}/g,"-").replace(/[^A-Za-z0-9-,]/g,"-"); if(!what){alert("Please enter what you are looking for.");return false;} else if(!where){alert("Please enter a valid Address, City, or Zip Code.");return false;} window.open("https://directoryplus.com/"+where+"/"+what, "_blank"); return; }); })();