// Este es un ejemplo de recopilador de formularios en javascript.
var cadena=document.location.search;
// Le quitamos el interrogante
cadena=cadena.substring(1,cadena.length);
// Separamos los distintos &
var parametros=cadena.split("&");
// Separamos los =
var valores=new Array;
var nombres=new Array;
var valores_legibles=new Array;
var temporal= new Array;
var posicion=null;
var total=null;
for (var i=0; i<parametros.length;i++){
	temporal=parametros[i].split("=");
	valores[i]=temporal[1];
	nombres[i]=temporal[0];
	// para presentarlos en pantalla quitamos los signos +
	// que en realidad son espacios y "unescapamos" los 
	// caracteres no convencionales (acentos etc)
	valores_legibles[i]=unescape(valores[i]);
	posicion=valores_legibles[i].indexOf("+");
	while (posicion > -1){
		total=valores_legibles[i].length;
		valores_legibles[i]=valores_legibles[i].substring(0,posicion)+" "+valores_legibles[i].substring(posicion+1,total);
		posicion=valores_legibles[i].indexOf("+");
	}
}