rem: var tagbox = $(tagboxid); 
add: var tagbox = $(tagboxid); 
context: function tagsShowBody(id, is_admin, newtagspreloadtext, type) {	type = type || "stories";	if (type == "firehose") {		setFirehoseAction();		if (fh_is_admin) {			firehose_get_admin_extras(id);		}	}	//alert("Tags show body / Type: " + type );		// Toggle the button to show the click was received	var tagsbuttonid = 'toggletags-button-' + id;        var tagsbutton = $(tagsbuttonid);	tagsbutton.innerHTML = "[-]";	// Make the tagbox change to the slashbox class	var tagboxid = 'tagbox-' + id;        var tagbox = $(tagboxid);	tagbox.className = "tags";	// Make the title of the tagbox change to white-on-green	var titleid = 'tagbox-title-' + id;        var title = $(titleid);	title.className = "tagtitleopen";	// Make the body of the tagbox visible	var tagsbodyid = 'toggletags-body-' + id;        var tagsbody = $(tagsbodyid);		tagsbody.className = "tagbody";		// If the tags-user div hasn't been filled, fill it.	var tagsuserid = 'tags-user-' + id;	var tagsuser = $(tagsuserid);	if (tagsuser.innerHTML == "") {		// The tags-user-123 div is empty, and needs to be		// filled with the tags this user has already		// specified for this story, and a reskey to allow		// the user to enter more tags.		tagsuser.innerHTML = "Retrieving...";		var params = [];		if (type == "stories") {			params['op'] = 'tags_get_user_story';			params['sidenc'] = id;		} else if (type == "urls") {			//alert('getting user urls ' + id);			params['op'] = 'tags_get_user_urls';			params['id'] = id;		} else if (type == "firehose") {			params['op'] = 'tags_get_user_firehose';			params['id'] = id;		}		params['newtagspreloadtext'] = newtagspreloadtext;		var handlers = {			onComplete: function() { 				var textid = 'newtags-' + id;				var input = $(textid);				input.focus();			}		}		ajax_update(params, tagsuserid, handlers);		//alert('after ajax_update ' + tagsuserid);		// Also fill the admin div.  Note that if the user		// is not an admin, this call will not actually		// return the necessary form (which couldn't be		// submitted anyway).  The is_admin parameter just		// saves us an ajax call to find that out, if the		// user is not actually an admin.		if (is_admin) {			var tagsadminid = 'tags-admin-' + id;			params = [];			if (type == "stories") {				params['op'] = 'tags_get_admin_story';				params['sidenc'] = id;			} else if (type == "urls") {				params['op'] = 'tags_get_admin_url';				params['id'] = id;			} else if (type == "firehose") {				params['op'] = 'tags_get_admin_firehose';				params['id'] = id;			}			ajax_update(params, tagsadminid);		}	} else {		if (newtagspreloadtext) {			// The box was already open but it was requested			// that we append some text to the user text.			// We can't do that by passing it in, so do it			// manually now.			var textinputid = 'newtags-' + id;			var textinput = $(textinputid);			textinput.value = textinput.value + ' ' + newtagspreloadtext;			textinput.focus();		}	}}
meta: 200	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/200/120c4bf8415e83ccee4db1dad2d49d9b23b8aa7d/common.js/buggy/plugins/Ajax/htdocs/images/common.js