rem: $("progressBar").src = '[% webroot %]html/images/pixel.green.gif' 
add: if ($("progressBar").src.indexOf('_s') != -1) {$("progressBar").src = '[% webroot %]html/images/pixel.green.gif'} 
context: function refreshPlayControls(theData) {	var parsedData = fillDataHash(theData);	var controls = ['stop', 'play', 'pause'];	var mp = 0;	var curstyle = getActiveStyleSheet();		for (var i=0; i < controls.length; i++) {		var obj = 'playmode';		var objID = $('playCtl' + controls[i]);		var curstyle = '';				if (curstyle && curstyle.indexOf('Tan')) {			objID = $('playCtl' + controls[i]+'tan');			curstyle = '_tan';		}				if (parsedData['playmode'] == i) {			objID.src = '[% webroot %]html/images/'+controls[i]+'_s'+curstyle+'.gif';						if (controls[i] !='play') {				$("progressBar").src ='[% webroot %]html/images/pixel.green_s.gif'			} else {				$("progressBar").src = '[% webroot %]html/images/pixel.green.gif'			}		} else {			objID.src = '[% webroot %]html/images/'+controls[i]+curstyle+'.gif';		}	}		if (parsedData['mute'] == 1) {		$('playCtl' + 'mute').src = '[% webroot %]html/images/mute_s'+curstyle+'.gif';	} else {		$('playCtl' + 'mute').src = '[% webroot %]html/images/mute'+curstyle+'.gif';	}		if (parsedData['playmode'] == 1) {		mp = 1;	}		updateTime(parsedData['songtime'],parsedData['durationseconds']);	//DumperPopup(theData.responseText);}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/4c4eb1d6fe7d646569c38885802e6297be9a0440/ajax.js/clean/HTML/Fishbone/html/ajax.js