/**
 * @author dayres
 */

 function getDirections(){
	var street=document.getElementById('street').value;
	var city=document.getElementById('city').value;
	var state=document.getElementById('state').value;
	var zip=document.getElementById('zipcode').value;
 
	var fromAddress = escape(street + ',' + city + ',' + state + ',' + zip);
 	var newURL = "http://maps.yahoo.com/#mvt=s&lat= 40.83381&lon=-74.824699&zoom=16&q1=" + fromAddress + "&q2=40.83451%2C-74.82417";
 	//window.location=newURL;
	window.open(newURL);
  }
 
