add: if (parsedData['cansave']) { showElements(['saveplaylist'],'inline'); } else { hideElements(['saveplaylist']); }  
context: function refreshState(theData) {	var parsedData = fillDataHash(theData);		var controls = ['repeat', 'shuffle'];	var power = ['on', 'off'];		for (var i=0; i < controls.length; i++) {		var obj = controls[i];		for (var j=0; j <= 2; j++) {			var objID;						objID = $('playlist' + controls[i]+j);						if (parsedData[obj] == j) {				objID.className = 'button';			} else {				objID.className = 'darkbutton';			}		}	}		for (var j=0;j < power.length; j++) {		objID = $('power' + j);		if (parsedData['mode'] == power[j]) {			objID.className = 'button';			hideElements(['sleeplink']);		} else {			objID.className = 'darkbutton';			showElements(['sleeplink'],'inline');		}	}		if (parsedData['sync']) {		showElements(['unsync'],'inline');	} else {		hideElements(['unsync']);	}		return true;}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/4aea93a03625e65c6ea06683ee97497b6631dbdf/ajax.js/buggy/HTML/Fishbone/html/ajax.js