Removing %20 on output
<p>I use this code from aweber that passes user information from signup to the next page, 
here is the code from aweber </p>

<pre><code>&lt;script type="text/javascript"&gt; var formData = function(){var query_string = (location.search)?((location.search.indexOf('#') != -1) ? location.search.substring(1, location.search.indexOf('#')) : location.search.substring(1)) : '';var elements = [];
if(query_string){var pairs = query_string.split("&amp;");
for(i in pairs) { if (typeof pairs[i] == 'string') {var tmp = pairs[i].split("="); var queryKey = unescape(tmp[0]);
queryKey = (queryKey.charAt(0) == 'c') ? queryKey.replace(/\s/g, "_") : queryKey;elements[queryKey] = unescape(tmp[1]);
}
}
}
return{display: function(key){if(elements[key]){document.write(elements[key]);
}else {document.write("&lt;!--If desired, replace everything between these quotes with a default in case there is no data in the query string.--&gt;");}}}}();&lt;/script&gt;
</code></pre>

<p>then this is the code on the page to display name</p>

<p><code>&lt;script type="text/javascript"&gt;formData.display("fullname")&lt;/script&gt;</code></p>

<p>The example output will be FirstName%20LastName</p>

<p>Is there a way that %20 will be removed?</p>

<p>Im new to javascript. I really dont know about this.</p>

<p>Thanks</p>
