rem: var button		= button_id.obj(); var checkbox	= span_object.getTagsByName('input'); 
add: var button		= FA.getObj(button_id); var checkbox	= FA.tagsByName(span_object, 'input'); 
context: function select_topic(span_object, button_id, post_id) {	try {		if(span_object) {			var button		= button_id.obj();			var checkbox	= span_object.getTagsByName('input');			button_regex	= new RegExp("\(([0-9]+?)\)", "g");						if(button && checkbox) {								match			= button.value.match(button_regex);								try {					if(match) {												if(checkbox[0].checked == true) {														var new_value = parseInt(parseInt(match[0])+1) < 0 ? 0 : parseInt(parseInt(match[0])+1);														d.array_push(topics, post_id);							button.value = button.value.replace(match[0], new_value);						} else {														var new_value = parseInt(parseInt(match[0])-1) < 0 ? 0 : parseInt(parseInt(match[0])-1);														d.unset(topics, post_id);							button.value = button.value.replace(match[0], new_value);						}						collect_topics('topics');					}				} catch(e) { alert(e.message); }			}		}	} catch(e) { alert(e.message); }}
meta: 8193	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8193/d55368118dec4a8f237e8e432dd97304d21083d6/javascript.js/clean/trunk/upload/js/javascript.js