} else if (tagName == "select") { 
} else if (tagName == "select") { 
function WebForm_getFormData (currForm){	var qs = "";	var len = currForm.elements.length;	for (n=0; n<len; n++) {		var elem = currForm.elements [n];		var tagName = elem.tagName.toLowerCase();		if (tagName == "input") {			var type = elem.type;			if ((type == "text" || type == "hidden" || type == "password" ||				((type == "checkbox" || type == "radio") && elem.checked)) &&				(elem.id != "__EVENTVALIDATION")) {				qs += elem.name + "=" + encodeURIComponent (elem.value) + "&";			}		}		else if (tagName == "select") {			var selectCount = elem.options.length;			for (var j = 0; j < selectCount; j++) {				var selectChild = elem.options[j];				if (selectChild.selected == true) {					qs += elem.name + "=" + encodeURIComponent (elem.value) + "&";				}			}		}		else if (tagName == "textarea") {			qs += elem.name + "=" + encodeURIComponent (elem.value) + "&";		}	}	return qs;}
7338	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7338/58b8182d65d8c4e2ea8388fa124fdcda4a81a23b/webform.js/buggy/mcs/class/System.Web/resources/webform.js