
function sk_resetPassword() {
	$("#msg").html("").attr('class', '');
	
    var callback = function(response) {
    	if (response.result) {
    		$('#msg').html(response.msg).attr('class', 'ok');
    		$('#div-reset').hide();
    	} else {
    		$('#msg').html(response.msg).attr('class', 'error');
    	}
    }
    
    sk_ajaxSubmit('form-reset', callback, 'resetPassword');
    return false;
}
