rem: opacity: { from: 1, to: 0 } 
add: opacity: { from: 1, to: 0 } 
context: function firehose_set_options(name, value) {	var pairs = [		// name		value		curid		newid		newvalue 	title 		["orderby", 	"createtime", 	"popularity",	"time",		"popularity"	],		["orderby", 	"popularity", 	"time",		"popularity",	"createtime"	],		["orderdir", 	"ASC", 		"asc",		"desc",		"DESC"],		["orderdir", 	"DESC", 	"desc",		"asc",		"ASC"],		["mode", 	"full", 	"abbrev",	"full",		"fulltitle"],		["mode", 	"fulltitle", 	"full",		"abbrev",	"full"],	];	var params = [];	params['op'] = 'firehose_set_options';	params['reskey'] = reskey_static;	theForm = document.forms["firehoseform"];	if (name == "firehose_usermode") {		if (value ==  true) {			value = 1;		}		if (value == false) {			value = 0;		}		params['setusermode'] = 1;		params[name] = value;	}	if (name == "nodates" || name == "nobylines" || name == "nothumbs" || name == "nocolors" || name == "mixedmode" || name == "nocommentcnt") {		value = value == true ? 1 : 0;		params[name] = value;		params['setfield'] = 1;		var classname;		if (name == "nodates") {			classname = "date";		} else if (name == "nobylines") {			classname = "nickname";		}		if (classname) {			var els = document.getElementsByClassName(classname, $('firehoselist'));			var classval = classname;			if (value) {				classval = classval + " hide";			}			for (i = 0; i< els.length; i++) {				els[i].className = classval;			}		}	}	if (name == "fhfilter") {		for (i=0; i< theForm.elements.length; i++) {			if (theForm.elements[i].name == "fhfilter") {				params['fhfilter'] = theForm.elements[i].value;			}		}	}	if (name != "color") {	for (i=0; i< pairs.length; i++) {		var el = pairs[i];		if (name == el[0] && value == el[1]) {			params[name] = value;			if ($(el[2])) {				$(el[2]).id = el[3];				if($(el[3])) {					var namenew = el[0];					var valuenew = el[4];					$(el[3]).firstChild.onclick = function() { firehose_set_options(namenew, valuenew); return false;}				}			}		}	}	if (name == "mode" || name == "firehose_usermode" || name == "tab" || name == "mixedmode") {		// blur out then remove items		if (name == "mode") {			fh_view_mode = value;		}		if ($('firehoselist')) {			// set page			page = 0;			var attributes = { 				 opacity: { from: 1, to: 0 }			};			var myAnim = new YAHOO.util.Anim("firehoselist", attributes); 			myAnim.duration = 1;			myAnim.onComplete.subscribe(function() {				$('firehoselist').style.opacity = "1";			});			myAnim.animate();			// remove elements			setTimeout("firehose_remove_all_items()", 600);		}	}	}	if (name == "color" || name == "tab" || name == "pause" || name == "startdate" || name == "duration" || name == "issue" || name == "pagesize") { 		params[name] = value;		if (name == "startdate") {			firehose_startdate = value;		}		if (name == "duration")  {			firehose_duration = value;		}		if (name == "issue") {			firehose_issue = value;			firehose_startdate = value;			duration = 1;			page = 0;			var issuedate = firehose_issue.substr(5,2) + "/" + firehose_issue.substr(8,2) + "/" + firehose_issue.substr(10,2);			if ($('fhcalendar')) {				$('fhcalendar')._widget.setDate(issuedate, "day");			}			if ($('fhcalendar_pag')) {				$('fhcalendar_pag')._widget.setDate(issuedate, "day");			}		}		if (name == "pagesize") {			page = 0;		}	}	var handlers = {		onComplete: function(transport) { 			json_handler(transport);			firehose_get_updates({ oneupdate: 1 });		}	};	ajax_update(params, '', handlers);}
meta: 200	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/200/120c4bf8415e83ccee4db1dad2d49d9b23b8aa7d/common.js/buggy/plugins/Ajax/htdocs/images/common.js