// RealPlayer buttons	
function rpPlay() {
	document.rp.DoPlayPause();
}
function rpPause() {
	if (document.rp.CanStop()) document.rp.DoPlayPause();
}
function rpStop() {
	if (document.rp.CanStop()) document.rp.DoStop();
}
function rpSetVolume(v){
	volume = document.rp.GetVolume();
	volume += v;
	volume = volume < 0 ? 0 : volume;
	volume = volume > 100 ? 100 : volume;
	document.rp.SetVolume(volume);
}
