rem: $(thisId).style.display = 'none'; 
add: Element.hide(thisId); 
context: function refreshItemClass(theData, r) {	var parsedData = fillDataHash(theData);	var linkId = 'tracklink_' + r.toString();	var table = $('playlist_table');	var playingIds = [ 'pause_', 'playcurrent_', 'playnext_' ];	var otherIds = [ 'remove_', 'play_', 'up_', 'next_', 'down_' ];	var rowId = 'row' + r.toString();	var oddKey = 'odd_' + r.toString();	// this is the current song in the playlist	if (parsedData['currentsongnum'] == r) {		$(rowId).className = 'playing';		$(linkId).className = 'playingitemtext';		for (i=0; i<=otherIds.length; i++) {			var thisId = otherIds[i] + r.toString();			if ($(thisId)) {				$(thisId).style.display = 'none';			}		}		for (i=0; i<=playingIds.length; i++) {			var thisId = playingIds[i] + r.toString();			if ($(thisId)) {				if (r == parseInt(parsedData['last_item']) && playingIds[i] == 'playnext_')  {						$(thisId).style.display = 'none';				} else {					$(thisId).style.display = 'block';				}			}		}	// this is not the current song in the playlist	} else {		if (parsedData[oddKey] == 1) {			$(rowId).className = 'even';		} else {			$(rowId).className = 'odd';		}		$(linkId).className = 'itemtext';		for (i=0; i<=otherIds.length; i++) {			var thisId = otherIds[i] + r.toString();			if ($(thisId)) {				if (	(r == parseInt(parsedData['last_item']) && otherIds[i] == 'down_') ||					(r == parseInt(parsedData['first_item']) && otherIds[i] == 'up_' )				) {						$(thisId).style.display = 'none';				} else {					$(thisId).style.display = 'block';				}			}		}		for (i=0; i<=playingIds.length; i++) {			var thisId = playingIds[i] + r.toString();			if ($(thisId)) {				$(thisId).style.display = 'none';			}		}	}}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/3841beee5b9a840217c366ea805ccb0714852406/playlist.js/buggy/HTML/Nokia770/playlist.js