if (qs.length > 0) qs += "&"; qs += elem.name + "=" + encodeURIComponent (elem.value); 
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) + "&"; } 
function WebForm_getFormData (theForm){	var qs = "";	var len = theForm.elements.length;	for (n=0; n<len; n++) {		var elem = theForm.elements [n];		if (qs.length > 0) qs += "&";		qs += elem.name + "=" + encodeURIComponent (elem.value);	}	return qs;}
7338	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7338/18af3d73947ae39f750b13dd9220826463dfd911/webform.js/clean/mcs/class/System.Web/resources/webform.js