function deleteRecordingx(_rid, _sname, _layName) {
	if (confirm('Are you sure that you want to delete this recording of "'+_sname+'"?\n All related votes and comments will also be deleted.')) {
		getLayerHTML("/deleterecording2.php?rid="+_rid, null,null, "GET", _layName);
	}
}

function receiveVotes(_rid, _sname, _layName) {
	if (confirm('Are you sure that you want to receive votes for this recording? \n All users of Red Karaoke will be able to assign a score to rate your performance.')) {
		getLayerHTML("/change-vtype2.php?vt=0&rid="+_rid, null,null, "GET", _layName);
	}
}

function receiveComments(_rid, _layName) {
	if (confirm('Are you sure that you want to receive only comments without votes for this recording?\n Any vote received previously will be deleted, with only a comment without a vote remaining, and this song will not be part of the calculation of your average rating.')) {
		getLayerHTML("/change-vtype2.php?vt=1&rid="+_rid, null,null, "GET", _layName);
	}
}
