rem:  if (refresh != 0) { refreshPlaylist(); }   doc.location.hash = parsedData['currentsongnum']; 
add:   if (currentID != found) { refresh = 1; } } else { first = parsedData['first_item']; playlistChecker(first); }  if (refresh != 0) { refreshPlaylist(); } else { doc.location.hash = parsedData['currentsongnum']; } 
context: function currentSong(theData) {	var parsedData = fillDataHash(theData);	var doc = parent.playlist.document;	var found = 0;	var refresh = 0;		//if (parsedData['playlistTime'] >= int(new Date().getTime() / 1000) - 2) {	//	refreshPlaylist();	//} else {		if (first == null || first == parsedData['first_item']) {			first = parsedData['first_item'];									for (var i = parsedData['first_item']; i <= parsedData['last_item']; i++) {					if (i == parsedData['currentsongnum']) {						doc.getElementById('playlistitem' + i).className = "currentListItem";						found = parsedData['item_'+i];					} else {						doc.getElementById('playlistitem' + i).className = "browsedbListItem";					}										var myString = new String(doc.getElementById('playlistitem' + i).innerHTML);					var rExp= new RegExp("item=(.*?)&amp;player","i");					if (rExp.exec(myString) == null) {rExp= new RegExp("item=(.*?)&player","i");}					var a = rExp.exec(myString);										if (a[1] != parsedData['item_'+i]) {						//alert([a[1],i,parsedData['item_'+i]]);						refresh = 1;					}			}			if (currentID != found) {				refreshPlaylist();			} 		} else {			first = parsedData['first_item'];			playlistChecker(first);		}				if (refresh != 0) {			refreshPlaylist();		}	//}		doc.location.hash = parsedData['currentsongnum'];}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/9962f8a45823b1ef0b527bb59cb575f432fb8644/ajax.js/buggy/HTML/Fishbone/html/ajax.js