add: } else { names.push(input.name); values.push(""); 
context: Freja._aux.formContents = function(elem) {	if (!elem) v = document;	var names = [];	var values = [];	var inputs = elem.getElementsByTagName("INPUT");	for (var i = 0; i < inputs.length; ++i) {		var input = inputs[i];		if (input.name) {			if (input.type == "radio" || input.type == "checkbox") {				if (input.checked) {					names.push(input.name);					values.push(input.value);				}			} else {				names.push(input.name);				values.push(input.value);			}		}	}	var textareas = elem.getElementsByTagName("TEXTAREA");	for (var i = 0; i < textareas.length; ++i) {		var input = textareas[i];		if (input.name) {			names.push(input.name);			values.push(input.value);		}	}	var selects = elem.getElementsByTagName("SELECT");	for (var i = 0; i < selects.length; ++i) {		var input = selects[i];		if (input.name) {			if (input.selectedIndex >= 0) {				var opt = input.options[input.selectedIndex];				names.push(input.name);				values.push((opt.value) ? opt.value : opt.text);			}		}	}	return [names, values];};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/f73b630e3734da3a09a5647c548916a9bd52fb9c/minimal.js/buggy/trunk/src/auxiliary/minimal.js