Wendy thanks but it did not work, however it gave me some ideas the actual encodeURI() did not work, but I did find escape(), this canNOT be put around the whole document.location.href because then all characters were "escaped"
the end fix that did work was
var DealerName=escape(document.form.Name.value);
thanks for the clues, works a treat.
kev
