PageSourceSearch

https://con-med.ru/js/different.js?17105772813928

js con-med.ru collected 2026-10-01 10:44:10 UTC 3,928 bytes, 102 lines download raw bytes

1$(document).ready(function() {
2	$('#quit-session-button').click(function (event) {
3		$('#session-form').submit();
4	});
5
6	$('#header .login').click(function () {
7		if ($('#socserv-auth').html().length == 0) {
8			$('#socserv-auth').html($('#socserv-reg').html());
9			$('#socserv-reg').html('');
10		}
11	});
12
13	$('#header .register').click(function () {
14		if ($('#socserv-reg').html().length == 0) {
15			$('#socserv-reg').html($('#socserv-auth').html());
16			$('#socserv-auth').html('');
17		}
18	});
19
20	$('#button-filter').click(function () {
21		$('#filter_vacancy').submit();
22	});
23
24	$('#eye-button').click(function () {
25		if ($('#new-password').attr('type') == 'password') {
26			$('#new-password')[0].type = 'text'; 
27			$('#new-password-again')[0].type = 'text'; 
28		} else {
29			$('#new-password')[0].type = 'password';
30			$('#new-password-again')[0].type = 'password';
31		}
32	});
33
34	$('input').focus(function() {
35		if ($(this).hasClass("error-field")) {
36			$(this).removeClass("error-field");
37		          switch($(this).attr("name"))
38		          {
39				       case 'EMAIL': $(this).attr('placeholder', 'E-mail'); break;
40		                       case 'email': $(this).attr('placeholder', 'E-mail'); break;
41		                       case 'REGISTER[LAST_NAME]': $(this).attr('placeholder', 'Фамилия'); break;
42		                       case 'REGISTER[NAME]': $(this).attr('placeholder', 'Имя'); break;
43		                       case 'LAST_NAME': $(this).attr('placeholder', 'Фамилия'); break;
44		                       case 'NAME': $(this).attr('placeholder', 'Имя'); break;
45		                       case 'UF_PLACE_OF_WORK': $(this).attr('placeholder', 'Место работы'); break;
46		                       case 'UF_PLACE_OF_STUDY': $(this).attr('placeholder', 'Место учебы'); break;
47		                       case 'UF_STUD_OTHER': $(this).attr('placeholder', 'Иное'); break;
48				       case 'UF_WORK_OTHER': $(this).attr('placeholder', 'Иное'); break;
49		                       case 'password': $(this).attr('placeholder', 'Пароль'); break;
50		                       case 'confirm-password': $(this).attr('placeholder', 'Повторите пароль'); break;
51		                       case 'captcha-word': $(this).attr('placeholder', 'Введите код с картинки'); break;
52		          }
53		}
54	});
55
56	$('select').change(function() {
57		if($(this).hasClass("error-select")){
58			$(this).removeClass("error-select");
59		}
60	});
61		
62	$(".fav .add-favorite").click(function () {
63		idFavorite = $(this).attr('id').slice(8);
64		typeFavorite = $(this).attr('id').slice(4, 7);
65		temp = $(this);
66		$.post ('/script/ajax.favorite.php', { add_favorite: idFavorite, type: typeFavorite }).done(function(result) { 
67			temp.siblings(".number-favorite").text(result);
68			temp.hide();
69			temp.siblings(".delete-favorite").show();
70		});
71	});		
72					
73	$(".fav .delete-favorite").click(function () {
74		idFavorite = $(this).attr('id').slice(11);
75		typeFavorite = $(this).attr('id').slice(7, 10);
76		temp = $(this);
77		$.post ('/script/ajax.favorite.php', { delete_favorite: idFavorite, type: typeFavorite }).done(function(result) { 
78			temp.siblings(".number-favorite").text(result);
79			temp.hide();
80			temp.siblings(".add-favorite").show();
81		});
82	});	
83
84	$(".add-issue-from-new").click(function () {
85		idAdd = $(this).attr('id').slice(12);
86		temp = $(this);
87		$.post ('/script/ajax.events.php', { add_to_new: idAdd }).done(function(result) { 
88			temp.hide();
89			temp.siblings(".delete-issue-from-new").show();
90		});
91	});			
92					
93	$(".delete-issue-from-new").click(function () {
94		idDelete = $(this).attr('id').slice(15);
95		temp = $(this);
96		$.post ('/script/ajax.events.php', { delete_from_new: idDelete }).done(function(result) { 
97			temp.hide();
98			temp.siblings(".add-issue-from-new").show();
99		});
100	});				
101
102});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.