function dislikeSms(elem) {
	var sms_id = $(elem).parents('.sms').eq(0).attr('id').replace('sms', '');
	$.ajax({
		type: 'POST',
		url: location.href,
		data: 'ajax=1&action=dislike&sms_id=' + sms_id,
		success: function(response) {
			if (0 != response.indexOf('OK')) {
				alert('FAIL: ' + response);
				return false;
			}
			$(elem).parent().empty().text('Kiitos ilmoituksesta');
		}
	});
}


