function Player(){
	this._state = "on";
	this._node = dojo.byId("playerButton");
	this.play = function(){
	        var dewplayer = document.getElementById("player");
		dewplayer.dewplay();
		this._node.innerHTML = "off";
	}

	this.stop = function(){
		var dewplayer = document.getElementById("player");
		dewplayer.dewstop();
		this._node.innerHTML = "on";
	}

	this.change= function(){
		if (this._state == "on"){
			this.stop();
			this._state = "off";
		}
		else{
			this.play();
			this._state = "on";
		}
	}
}

