add: if(frm.elements[i].type == 'checkbox'){ if(!frm.elements[i].checked)continue; } 
context: function aacp( form_id ){	var j;	var val;	var elem;	var res = '';	if(!form_id)		return res;			var frm = document.getElementById( form_id );	if(frm)		for(var i=0; i<frm.elements.length; i++){			if(res != '')				res+='&';			if(frm.elements[i].type == 'radio'){				elem = frm.elements[frm.elements[i].name];				val = 'null';				for(j=0; j < elem.length; j++){					if(elem[j].checked)						val = elem[j].value;				}				res+=frm.elements[i].name+'='+val;			}			else{				res+=frm.elements[i].name+'='+encodeURIComponent(frm.elements[i].value);			}		}	return res;}
meta: 106	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/106/c4a12b7eba28b5fb229923efb4fbd37576643f0f/ajax.js/clean/templates/shared/ajax.js