function funViewCinoHistory()
{
$('#history_cnr').show();
var cino = $("#cino").val();
$('#history_cnr').html('');
var fcaptcha_code=$('#fcaptcha_code').val();
if(fcaptcha_code=='')
{
errorAlert(alerts_array[475]);
return false;
}
var cinolen=cino.length;
if(cinolen !=16 )
{
errorAlert(alerts_array[262]);
return false;
}
var cino = cino.toUpperCase();
if(cino=='0000000000000000')
{
errorAlert("Enter valid CNR Number");
return false;
}
if(cino!="")
{
if (!cino.match(/^[a-zA-Z0-9]+$/) && cino!="")
{
errorAlert(alerts_array[263]);
return false;
}
}
var url="cnr_status/searchByCNR/";
var postdata = "cino="+ cino+"&fcaptcha_code="+fcaptcha_code ;
ajaxCall({url:url,postdata:postdata,callback:callbackEST});
$('#cnr_div').hide();
$('#help_cnr').hide();
$('#main_back_cnr').show();
function callbackEST(result)
{
$('#history_cnr').html('');
$('#div_captcha_cnr').html(result.div_captcha);
if(result.status)
{
$('#history_cnr').html(result.casetype_list);
$('#main_back_cnr').show();
$('#cnr_div').hide();
}else{
$('#history_cnr').html(result.casetype_list);
}
/* if(result.casetype_list=='' || result.casetype_list==null)
{
$('#history_cnr').html('<div align="center"><br><br><span>This Case Code does not exists</span></div>');
}else{
$('#history_cnr').html(result.casetype_list);
$('#main_back_cnr').show();
$('#cnr_div').hide();
}*/
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}