PageSourceSearch

https://navbul.com/en/wLayout/structure/js/functions.js

js navbul.com collected 2026-10-02 12:20:53 UTC 9,468 bytes, 335 lines download raw bytes

1jQuery(document).ready(function(){
2	
3	$('#ex_d').click(function() {
4		$("#ex_d_h").slideToggle("slow");
5	});
6
7	$('#ex_s').click(function() {
8		$("#ex_s_h").slideToggle("slow");
9	});
10
11	$('#ex_m').click(function() {
12		$("#ex_m_h").slideToggle("slow");
13	});
14
15	$('#ex_pub').click(function() {
16		$("#ex_pub_h").slideToggle("slow");
17	});
18
19	$('#ex_fd').click(function() {
20		$("#ex_fd_h").slideToggle("slow");
21	});
22
23	$('#ex_ch').click(function() {
24		$("#ex_ch_h").slideToggle("slow");
25	});
26
27	$('#ex_cha').click(function() {
28		$("#ex_cha_h").slideToggle("slow");
29	});
30
31	$('#ex_chb').click(function() {
32		$("#ex_chb_h").slideToggle("slow");
33	});
34
35	$('#ex_chc').click(function() {
36		$("#ex_chc_h").slideToggle("slow");
37	});
38
39	$('#ex_td').click(function() {
40		$("#ex_td_h").slideToggle("slow");
41	});
42
43	$('#ex_tda').click(function() {
44		$("#ex_tda_h").slideToggle("slow");
45	});
46
47	$('#ex_tdb').click(function() {
48		$("#ex_tdb_h").slideToggle("slow");
49	});
50
51	$('#ex_tdc').click(function() {
52		$("#ex_tdc_h").slideToggle("slow");
53	});
54
55	$('#ex_it').click(function() {
56		$("#ex_it_h").slideToggle("slow");
57	});
58
59	$('#ex_ferry').click(function() {
60		$("#ex_ferry_h").slideToggle("slow");
61	});
62
63	$('#ex_sp').click(function() {
64		$("#ex_sp_h").slideToggle("slow");
65	});
66
67	$('#ex_icd').click(function() {
68		$("#ex_icd_h").slideToggle("slow");
69	});
70
71	$('#ex_at').click(function() {
72		$("#ex_at_h").slideToggle("slow");
73	});
74	
75	$('#ex_tow').click(function() {
76		$("#ex_tow_h").slideToggle("slow");
77	});
78
79	$('#ex_lsa').click(function() {
80		$("#ex_lsa_h").slideToggle("slow");
81	});
82
83	$('#ex_pro').click(function() {
84		$("#ex_pro_h").slideToggle("slow");
85	});
86
87	$('#ex_bul').click(function() {
88		$("#ex_bul_h").slideToggle("slow");
89	});
90
91	$('#ex_cd').click(function() {
92		$("#ex_cd_h").slideToggle("slow");
93	});
94
95	$('#ex_hd').click(function() {
96		$("#ex_hd_h").slideToggle("slow");
97	});
98	
99	$('#ex_tcd').click(function() {
100		$("#ex_tcd_h").slideToggle("slow");
101	});
102	
103	$('#ex_pd').click(function() {
104		$("#ex_pd_h").slideToggle("slow");
105	});
106
107	$('#ex_asp').click(function() {
108		$("#ex_asp_h").slideToggle("slow");
109	});
110
111	$('#ex_ld').click(function() {
112		$("#ex_ld_h").slideToggle("slow");
113	});
114
115	$('#ex_ohs').click(function() {
116		$("#ex_ohs_h").slideToggle("slow");
117	});
118
119$('#ex_bdd').click(function() {
120		$("#ex_bdd_h").slideToggle("slow");
121	});
122
123	$('#ex_sgd').click(function() {
124		$("#ex_sgd_h").slideToggle("slow");
125	});
126
127	$('#gdpr_a').click(function() {
128		$("#gdpr_a_h").slideToggle("slow");
129	});
130	
131	$('#gdpr_b').click(function() {
132		$("#gdpr_b_h").slideToggle("slow");
133	});
134	
135	$('#gdpr_c').click(function() {
136		$("#gdpr_c_h").slideToggle("slow");
137	});
138	
139	$('#gdpr_d').click(function() {
140		$("#gdpr_d_h").slideToggle("slow");
141	});
142	
143	$('#gdpr_e').click(function() {
144		$("#gdpr_e_h").slideToggle("slow");
145	});
146	
147	$('#gdpr_f').click(function() {
148		$("#gdpr_f_h").slideToggle("slow");
149	});
150	
151	$('#gdpr_g').click(function() {
152		$("#gdpr_g_h").slideToggle("slow");
153	});
154	
155	$('#gdpr_i').click(function() {
156		$("#gdpr_i_h").slideToggle("slow");
157	});
158	
159	$('#tr_c').click(function() {
160		$("#tr_c_h").slideToggle("slow");
161	});
162	$('#tr_c1').click(function() {
163		$("#tr_c1_h").slideToggle("slow");
164	});
165	$('#tr_c2').click(function() {
166		$("#tr_c2_h").slideToggle("slow");
167	});
168	$('#tr_c3').click(function() {
169		$("#tr_c3_h").slideToggle("slow");
170	});
171	$('#tr_c4').click(function() {
172		$("#tr_c4_h").slideToggle("slow");
173	});
174	$('#tr_c5').click(function() {
175		$("#tr_c5_h").slideToggle("slow");
176	});
177	$('#tr_c6').click(function() {
178		$("#tr_c6_h").slideToggle("slow");
179	});
180	$('#tr_c7').click(function() {
181		$("#tr_c7_h").slideToggle("slow");
182	});
183	$('#tr_c8').click(function() {
184		$("#tr_c8_h").slideToggle("slow");
185	});
186	$('#tr_c9').click(function() {
187		$("#tr_c9_h").slideToggle("slow");
188	});
189	$('#tr_c10').click(function() {
190		$("#tr_c10_h").slideToggle("slow");
191	});
192	$('#tr_c11').click(function() {
193		$("#tr_c11_h").slideToggle("slow");
194	});
195	$('#tr_c12').click(function() {
196		$("#tr_c12_h").slideToggle("slow");
197	});
198	
199	$(".gallery").colorbox({rel:'group', transition:"none", width:"75%", height:"75%"});
200	
201	$(function() {
202		$(".slider").jCarouselLite({
203			btnNext: ".slideArrowRight",
204			btnPrev: ".slideArrowLeft",
205			visible: 6,
206			auto: 3000,
207			speed: 1000
208		});
209	});
210	$("#image").change(function() {  var ext = $('#image').val().split('.').pop().toLowerCase(); var allow = new Array('jpg','jpeg'); if(jQuery.inArray(ext, allow) == -1) {  $("#errorImage").html("Invalid file format!").show(); $("#image").val(''); } else $("#errorImage").html("Invalid file format!").hide()  }   );
211	$("#pdf").change(function() {  var ext = $('#pdf').val().split('.').pop().toLowerCase(); var allow = new Array('pdf'); if(jQuery.inArray(ext, allow) == -1) {  $("#errorPdf").html("Invalid file format!").show(); $("#pdf").val(''); } else $("#errorPdf").html("Invalid file format!").hide()  }   );
212	$("#doc").change(function() {  var ext = $('#doc').val().split('.').pop().toLowerCase(); var allow = new Array('doc','docx'); if(jQuery.inArray(ext, allow) == -1) {  $("#errorDoc").html("Invalid file format!").show(); $("#doc").val(''); } else $("#errorDoc").html("Invalid file format!").hide()  }   );
213
214	$("#image_1").change(function() {  var ext = $('#image_1').val().split('.').pop().toLowerCase(); var allow = new Array('jpg','jpeg'); if(jQuery.inArray(ext, allow) == -1) {  $("#errorImage_1").html("Invalid file format!").show(); $("#image_1").val(''); } else $("#errorImage_1").html("Invalid file format!").hide()  }   );
215	
216	$("#del_image_1").click(function() {$("#image_1").val(''); });
217	$("#del_image_2").click(function() {$("#image_2").val(''); });
218	$("#del_image_3").click(function() {$("#image_3").val(''); });
219	$("#del_image_4").click(function() {$("#image_4").val(''); });
220	$("#del_image_5").click(function() {$("#image_5").val(''); });
221
222	$("#Capacity").keypress(function (e) { 
223			  //if the letter is not digit then display error and don't type anything
224			  if( e.which!=8 && e.which!=0 && e.which!=44 && e.which!=46 && (e.which<48 || e.which>57))
225			  {
226				//display error message
227				$("#capacity_error").html("Само цифри").show().fadeOut("slow"); 
228				return false;
229			  }	
230	});
231
232	$("#IMO").keypress(function (e) { 
233			  //if the letter is not digit then display error and don't type anything
234			  if( e.which!=8 && e.which!=0 && e.which!=44 && e.which!=46 && (e.which<48 || e.which>57))
235			  {
236				//display error message
237				$("#IMO_error").html("Само цифри").show().fadeOut("slow"); 
238				return false;
239			  }	
240	});
241
242	$("#DWT").keypress(function (e) { 
243			  //if the letter is not digit then display error and don't type anything
244			  if( e.which!=8 && e.which!=0 && e.which!=44 && e.which!=46 && (e.which<48 || e.which>57))
245			  {
246				//display error message
247				$("#DWT_error").html("Само цифри").show().fadeOut("slow"); 
248				return false;
249			  }	
250	});
251
252	$("#Draft").keypress(function (e) { 
253			  //if the letter is not digit then display error and don't type anything
254			  if( e.which!=8 && e.which!=0 && e.which!=44 && e.which!=46 && (e.which<48 || e.which>57))
255			  {
256				//display error message
257				$("#Draft_error").html("Само цифри").show().fadeOut("slow"); 
258				return false;
259			  }	
260	});
261
262	$("#Loa").keypress(function (e) { 
263			  //if the letter is not digit then display error and don't type anything
264			  if( e.which!=8 && e.which!=0 && e.which!=44 && e.which!=46 && (e.which<48 || e.which>57))
265			  {
266				//display error message
267				$("#Loa_error").html("Само цифри").show().fadeOut("slow"); 
268				return false;
269			  }	
270	});
271
272	$("#Breadth").keypress(function (e) { 
273			  //if the letter is not digit then display error and don't type anything
274			  if( e.which!=8 && e.which!=0 && e.which!=44 && e.which!=46 && (e.which<48 || e.which>57))
275			  {
276				//display error message
277				$("#Breadth_error").html("Само цифри").show().fadeOut("slow"); 
278				return false;
279			  }	
280	});
281
282	$("#refreshimg").click(function(){ $.post('/en/wLayout/structure/captcha/newsession.php'); $("#refreshimg").load('/en/wLayout/structure/captcha/image_req.php'); return false; });
283
284	$("#booking-form-1").validate({ 
285		errorLabelContainer: $(".error_div"),
286		errorClass: 'error',
287		errorElement: 'div',
288		focusInvalid: false,
289		rules: {
290			"Company": "required",
291			"Contact-person": "required",
292			"email": { required: true, email: true },
293			"phone": "required"
294		},
295		messages: {
296			"Company": "Anrede bitte wählen!",
297			"Contact-person": "Anrede bitte wählen!",
298			"email": { required: "E-Mail-Adresse bitte vervollständigen!", email: "Keine gültige E-Mail-Adresse!" },
299			"phone": "Bitte Checkbox bestätigen."
300		}
301		});
302
303	$("#booking-form-2").validate({ 
304		errorLabelContainer: $(".error_div"),
305		errorClass: 'error',
306		errorElement: 'div',
307		focusInvalid: false,
308		rules: {
309			"Фирма": "required",
310			"Лице-за-контакти": "required",
311			"Mail": { required: true, email: true },
312			"Телефон": "required"
313		},
314		messages: {
315			"Фирма": "Anrede bitte wählen!",
316			"Лице-за-контакти": "Anrede bitte wählen!",
317			"Mail": { required: "E-Mail-Adresse bitte vervollständigen!", email: "Keine gültige E-Mail-Adresse!" },
318			"Телефон": "Bitte Checkbox bestätigen."
319		}
320		});
321
322		$('ul.topMenu > li').each(function(i) {
323			i = i + 1;
324			$(this).addClass('clli'+i);
325		}); 
326
327
328});
329$(function() {
330	$("#datepicker").datepicker({
331		changeMonth: true,
332		changeYear: true,
333		dateFormat: 'yy-mm-dd'
334	});
335});

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.