function map_directory_entry(streetaddress,zip,width,height) {

  // Check for additional querystring values (added as an 'arguements[]' parameter to avoid upsetting existing pages.
  var extraQuery = '';
  if (arguments.length == 5) {
    extraQuery = arguments[4];
  }

  //mapURL = 'http://acorn.rgj.com/cgi-bin/mqinterconnect?' + 
  //    'streetaddress=' + escape(streetaddress) + '&' +
  //    'zip=' + escape(zip) + '&' +
  //    'width=' + (width - 200) + '&' +
  //    'height=' + (height - 100);
  
  //mapURL = '/include/mappage.php?' + 
  mapURL = 'http://acorn.rgj.com/include/mappage.php?' + 
    'streetaddress=' + escape(streetaddress) + '&' +
    'zipcode=' + escape(zip) + '&' +
    'width=' + (width - 200) + '&' +
    'height=' + (height - 100) +
    extraQuery;
  
  mapwindow = open(mapURL,
    "mapwindow",
    'scrollbars=yes,' +
    'toolbar=no,' +
    'directories=no,' + 
    'menubar=no,' +
    'resizable=yes,' + 
    'status=yes,' + 
    'width=' + width + ',' + 
    'height=' + height
    );
}

