Приветствую, кто подскажет как реализовать брут? Сильно не пинайте сильно, я пока нуб вот так оно там выглядит var OriBtnText_Validate = false; $(document).ready(function(){ CHECK.initGameBoard("#UNL_KENO_GAME", 'super_loto'); $("#ticket_check_num").mask("999-99999999-9999999"); $("#sms_ticket").mask("(999) 999-99-99"); // $("#ticket_guard_num").mask("99999999"); }); function CheckTicket() { if (!OriBtnText_Validate) OriBtnText_Validate = $('#check_ticket_btn').html(); $("#Ticket_Validation_Inf").html('').removeClass('win').removeClass('lose'); $('#check_ticket_btn').stop().fadeTo(100,0.3).html(LOADER_ROUND); var object_params = new Object(); object_params.action = 'inf_check_ticket'; object_params.ticket_num = $('#ticket_check_num').val(); // object_params.ticket_gcode = $('#ticket_guard_num').val(); object_params.lottery_type = 'sloto'; object_params.draw = $('#tirazh_select').val(); ajax_load({'type':'module', 'name':'lottery', 'need_overlay':false, 'send_params'bject_params,initCallback:valid_ticket_inf_update}); } function valid_ticket_inf_update(response) { $('#check_ticket_btn').stop().fadeTo(50,1).html(OriBtnText_Validate); if (response.result == 'ok') { var rootLocation = document.location.href, rootLoc = rootLocation.split("lottery/"), rootLocaRes = rootLoc[0]+"/get_my_win/#Validation"; $('#Ticket_Validation_Inf').addClass('win'); document.ticket_processing.action ="//unl.ua/uk/get_my_win#Validation"; // $('.btns_ch_cont').find(".check_ticket_btn").fadeOut(0).parents(".btns_ch_cont").find(".take_my_win_page_link").attr('href', rootLocaRes).fadeIn(150); $('.btns_ch_cont').find(".check_ticket_btn").fadeOut(0).parents(".btns_ch_cont").find(".take_my_win_page_link").fadeIn(150); $('#sms_ticket_div').removeClass('hide_this'); } else { $('#Ticket_Validation_Inf').addClass('lose'); $('#sms_ticket_div').addClass('hide_this'); } $('#Ticket_Validation_Inf').html('<div class="check_res_cont_label">'+response.text +'</div><div class="check_res_cont_pic"></div>'); }