function checkcaptcha(captchacode,error_msg){
    var url = "/kms/lib/captcha/checkcaptcha.php";
//    var url = "checkcaptcha.php";
    var dataString = "captchacode="+captchacode;
//    alert(dataString); 
    $.ajax({
        url: url,
        data: dataString,
        dataType: "text",
        success: function(msg){
			onCaptcha(msg,error_msg); 
                 },
                error: function (xhr, ajaxOptions, thrownError){
                        return "ko"+setAjaxError("getText", xhr.status, ajaxOptions, thrownError);
                }
    });
}


