rem: playbutton.setState(false); 
context: function initStatusControls() {	statusbackend.addHandler(statusMiscHandler);	playbutton = JXTK.Button().createSimpleButton(statusbackend, "playbutton", "playmode", "play", function() {		if (curPlayMode != "play") {			playbutton.setState(true);			curPlayMode = "play";		} else {			playbutton.setState(false);			curPlayMode = "pause";		}		stopbutton.setState(false);		updatePlayString();		statusbackend.submit("&p0=pause");	});	stopbutton = JXTK.Button().createSimpleButton(statusbackend, "stopbutton", "playmode", "stop", function() {		playbutton.setState(false);		stopbutton.setState(true);		curPlayMode = "stop";		updatePlayString();		progressAt = 0;		updateProgressBar();		statusbackend.submit("&p0=stop");	});	prevbutton = JXTK.Button().createButton("prevbutton");	prevbutton.addClickHandler(function() {		currentSong--;		if (currentSong == 0) currentSong = songCount;		playlistcombo.selectIndex(currentSong-1);		displaySong(playlist[currentSong-1].title, playlist[currentSong-1].artist, playlist[currentSong-1].album);		updatePlayString();		progressAt = 0;		updateProgressBar();		statusbackend.submit("&p0=playlist&p1=jump&p2=-1");	});	nextbutton = JXTK.Button().createButton("nextbutton");	nextbutton.addClickHandler(function() {		currentSong++;		if (currentSong > songCount) currentSong = 1;		playlistcombo.selectIndex(currentSong-1);		displaySong(playlist[currentSong-1].title, playlist[currentSong-1].artist, playlist[currentSong-1].album);		updatePlayString();		progressAt = 0;		updateProgressBar();		statusbackend.submit("&p0=playlist&p1=jump&p2=%2b1");	});	for (var i = 0; i < 3; i++) {		repeatbuttons[i] = JXTK.Button().createSimpleButton(			statusbackend, "repeat" + i, "repeat", i,			makeRepShufClosure(i, repeatbuttons, "&p0=playlist&p1=repeat&p2=")		);	}	for (var i = 0; i < 3; i++) {		shufflebuttons[i] = JXTK.Button().createSimpleButton(			statusbackend, "shuf" + i, "shuffle", i,			makeRepShufClosure(i, shufflebuttons, "&p0=playlist&p1=shuffle&p2=")		);	}	playstringtext = JXTK.Textbox().createTextbox("playstring");	songtext = JXTK.Textbox().createTextbox("song");	artisttext = JXTK.Textbox().createTextbox("artist");	albumtext = JXTK.Textbox().createTextbox("album");	volumebar = JXTK.ButtonBar().createButtonBar("volume");	volumebar.populate("IMG", 11, "html/images/volpixel_t.gif", 4, 2);	volumebar.useXMLValue(statusbackend, function(resp) {		return resp.getTag("volume") / 10;	});	volumebar.addClickHandler(function (button) {		var volindex = button.el.index;		volumebar.setValue(volindex);		statusbackend.submit("&p0=mixer&p1=volume&p2=" + volindex * 10);	});	progressbar = JXTK.ButtonBar().createButtonBar("progressbar");	progressbar.populate("IMG", 50, "html/images/pixel.gif");	progresstext = JXTK.Textbox().createTextbox("progresstext");	statusbackend.addHandler(statusFirstLoad);}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/047ffbe5302215c7aa71c5e88371134466d4f46c/status.js/clean/HTML/ExBrowse2/html/status.js