PageSourceSearch

https://www.deinehrenamt.de/js/script.js?v=1

js deinehrenamt.de collected 2026-10-02 17:34:40 UTC 22,341 bytes, 737 lines download raw bytes

1var gewinnerScrollMore = 1; //unterbindet das Nachladen von Suchergebnissen, wenn es keine mehr gibt
2var offset = 0;
3
4function gewinnerLoadMore(jahr) {
5	offset = offset + 6;
6	$("#bisherige_gewinnerMore").remove();
7	$.ajax({
8		url: "frontend/bisherige_gewinner.cfm",
9		dataType: "html",
10		data: jQuery.param({ more: "1", offset: offset, jahr: jahr, dsfilenameqs: "1" }),
11		contentType: "application/x-www-form-urlencoded; charset=UTF-8",
12		processData: true,
13		cache: false,
14		type: "POST",
15		success: function (html) {
16			$("#vote_intern_container").append(html);
17			$("#bisherige_gewinnerMore").show();
18		},
19	});
20}
21
22function filterTermin(ajaxloader, dsmid) {
23	var ort = $("#wosuchstdu option:selected").text();
24	//var umkreis = $( "#umkreis option:selected" ).text();
25	var stichwortsuche = $("#Stichwortsuche").val();
26
27	$.ajax({
28		url: "frontend/ajax.cfm?filterTermin=1&ort=" + encodeURI(ort) + "&Stichwortsuche=" + encodeURI(stichwortsuche), //+'&umkreis='+umkreis+
29		dataType: "html",
30		processData: true,
31		cache: false,
32		success: function (html) {
33			$("#TBSErgebnis").html(html);
34		},
35	});
36	if (ajaxloader == 1) {
37		$.ajax({
38			url: "frontend/ajax.cfm?newstermine=1&dssid=9071&NEWSTYP=termin&OFFSET=0&Stichwortsuche=" + encodeURI(stichwortsuche) + "&ort=" + encodeURI(ort) + "&dsmid=" + dsmid,
39			dataType: "html",
40			processData: true,
41			cache: false,
42			success: function (html) {
43				$("#NewsTermineBoxes").html(html);
44			},
45		});
46	}
47}
48
49function filterTerminNew(ajaxloader, dsmid) {
50	var ort = $("#wosuchstdu option:selected").text();
51	var stichwortsuche = $("#Stichwortsuche").val();
52	var newstyp = $("#typeDetailsuche").val();
53	var catid = $("#catidDetailsuche").val();
54	$.ajax({
55		url: "frontend/ajax.cfm?filterTerminNew=1&ort=" + encodeURI(ort) + "&Stichwortsuche=" + encodeURI(stichwortsuche) + "&dsmid=" + dsmid + "&catid=" + catid + "&newstyp=" + newstyp,
56		dataType: "html",
57		processData: true,
58		cache: false,
59		success: function (html) {
60			$("#TBSErgebnis").html(html);
61		},
62	});
63	if (ajaxloader == 1) {
64		$.ajax({
65			url: "frontend/ajax.cfm?newstermine=1&dssid=9071&newstyp=" + newstyp + "&OFFSET=0&Stichwortsuche=" + encodeURI(stichwortsuche) + "&ort=" + encodeURI(ort) + "&dsmid=" + dsmid + "&catid=" + catid,
66			dataType: "html",
67			processData: true,
68			cache: false,
69			success: function (html) {
70				$("#NewsTermineBoxes").html(html);
71			},
72		});
73	}
74}
75
76function searchNewsTermine() {
77	$("#NewsTermineSubmit").click(function (e) {
78		e.preventDefault();
79	});
80	$("#loading").show();
81	$("#NewsTermineBoxes").html("");
82	$("#NewsTermineMore").remove();
83	offset = 0;
84	$.ajax({
85		type: "GET",
86		dataType: "html",
87		processData: true,
88		url: "frontend/ajax.cfm?newstermine=1&offset=" + offset,
89		data: $("#NewsTermineForm").serialize(), // serializes the form's elements.
90
91		success: function (html) {
92			offset = offset + 12;
93
94			$("#NewsTermineBoxes").append(html);
95			$("#NewsTermineMore").show();
96
97			$("#loading").hide();
98		},
99	});
100}
101
102function sucheTermine() {
103	var ort = $("#wosuchstdu option:selected").text();
104	//var umkreis = $( "#umkreis option:selected" ).text();
105	var stichwortsuche = $("#Stichwortsuche").val();
106
107	window.location.href = "https://www.deinehrenamt.de/termine?ort=" + encodeURI(ort) + "&Stichwortsuche=" + encodeURI(stichwortsuche) + "#dsmain";
108}
109
110function LoadNews(newstyp, CatID, dssid, dsmid, offset) {
111	$("#loading").show();
112	var datum = $("#datum").val();
113	var datum2 = $("#datum2").val();
114
115	if (datum === undefined) {
116		datum = "";
117	}
118	if (datum2 === undefined) {
119		datum2 = "";
120	}
121	//var CatID = $('#CatID').val();
122	$("#NewsTermineMore").remove();
123	$.ajax({
124		url: "frontend/ajax.cfm?newstermine=1&offset=" + offset + "&dssid=" + dssid + "&newstyp=" + newstyp + "&dsmid=" + dsmid + "&datum=" + datum + "&datum2=" + datum2 + "&CatID=" + CatID,
125		dataType: "html",
126		processData: true,
127		cache: false,
128		success: function (html) {
129			$("#NewsTermineBoxes").append(html);
130			$("#NewsTermineMore").show();
131
132			$("#loading").hide();
133			offset = offset + 12;
134			//console.log(offset)
135		},
136	});
137}
138
139function loadModalGesichter(id) {
140	$("#GesichterModal .modal-title").html($("#" + id + " h4").html());
141	$("#GesichterModal .modal-body").html($("#" + id + " .text-detail").html());
142	$("#GesichterModal").modal({ show: true });
143}
144
145//TypeError: $.browser Repair Start//
146var matched, browser;
147jQuery.uaMatch = function (ua) {
148	ua = ua.toLowerCase();
149	var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || /(msie) ([\w.]+)/.exec(ua) || (ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)) || [];
150	return {
151		browser: match[1] || "",
152		version: match[2] || "0",
153	};
154};
155matched = jQuery.uaMatch(navigator.userAgent);
156browser = {};
157if (matched.browser) {
158	browser[matched.browser] = true;
159	browser.version = matched.version;
160}
161// Chrome is Webkit, but Webkit is also Safari.
162if (browser.chrome) {
163	browser.webkit = true;
164} else if (browser.webkit) {
165	browser.safari = true;
166}
167jQuery.browser = browser;
168//TypeError: $.browser Repair End//
169
170function searchPartnerAll(dsmid) {
171	$("#PartnerAllSubmit").click(function (e) {
172		e.preventDefault();
173	});
174	$("#loading").show();
175	$("#PartnerAllBoxes").html("");
176
177	$.ajax({
178		type: "Post",
179		dataType: "html",
180		processData: true,
181		url: "frontend/ajax.cfm?PartnerAll=1&dsmid=" + dsmid,
182		data: $("#PartnerAllForm").serialize(), // serializes the form's elements.
183		success: function (html) {
184			$("#PartnerAllBoxes").append(html);
185			$("#loading").hide();
186		},
187	});
188}
189
190function searchBestellen() {
191	$("#BestellenSubmit").click(function (e) {
192		e.preventDefault();
193	});
194	$("#loading").show();
195	$("#Bestellen").html("");
196	$("#BestellenMore").remove();
197	offset = 0;
198	$.ajax({
199		type: "GET",
200		dataType: "html",
201		processData: true,
202		url: "frontend/ajax.cfm?Bestellen=1&offset=" + offset,
203		data: $("#BestellenForm").serialize(), // serializes the form's elements.
204		success: function (html) {
205			offset = offset + 12;
206			$("#Bestellen").append(html);
207			$("#BestellenMore").show();
208			$("#loading").hide();
209		},
210	});
211}
212
213function searchAnsprechpartnerAll(dssid) {
214	$("#AnsprechpartnerAllSubmit").click(function (e) {
215		e.preventDefault();
216	});
217	$("#loading").show();
218	$("#AnsprechpartnerAll").html("");
219	$.ajax({
220		type: "GET",
221		dataType: "html",
222		processData: true,
223		url: "frontend/ajax.cfm?AnsprechpartnerAll=1",
224		data: $("#AnsprechpartnerAllForm").serialize(), // serializes the form's elements.
225		success: function (html) {
226			$("#AnsprechpartnerAll").html(html);
227			$("#loading").hide();
228		},
229	});
230}
231
232function LoadBestellen(dssid, dsmid) {
233	$("#loading").show();
234	offset = offset + 20;
235
236	var CatID = $("#CatID").val();
237	$("#BestellenMore").remove();
238	$.ajax({
239		url: "frontend/ajax.cfm?Bestellen=1&offset=" + offset + "&dssid=" + dssid + "&dsmid=" + dsmid + "&CatID=" + CatID,
240		dataType: "html",
241		processData: true,
242		success: function (html) {
243			$("#Bestellen").append(html);
244			$("#BestellenMore").show();
245
246			$("#loading").hide();
247			//offset = offset+20;
248		},
249	});
250}
251
252function toggleDetailPublikation(pubid) {
253	//close
254	if ($("#pubDetail" + pubid).is(":visible")) {
255		$(".BestellenProduktdetails").hide();
256		$("#pubArrow" + pubid).html("keyboard_arrow_down");
257	}
258	//open
259	else {
260		$("#pubDetail" + pubid).show();
261		$("#pubArrow" + pubid).html("keyboard_arrow_up");
262	}
263}
264
265function setWarenkorb(dssid, pubid, itemName, div) {
266	if (div == 1) {
267		var quantity = $("#Warenkorb_" + pubid + " option:selected").val();
268		$("#Warenkorb2_" + pubid).val(quantity);
269	} else {
270		var quantity = $("#Warenkorb2_" + pubid + " option:selected").val();
271		$("#Warenkorb_" + pubid).val(quantity);
272	}
273
274	$.ajax({
275		type: "GET",
276		dataType: "html",
277		processData: true,
278		url: "frontend/ajax.cfm?setWarenkorb=1&dssid=" + dssid + "&quantity=" + quantity + "&pubid=" + pubid + "&itemName=" + itemName,
279		success: function (data) {
280			$("#Warenkorb").html(data);
281			$("#Warenkorb").show();
282		},
283	});
284	$.ajax({
285		type: "GET",
286		dataType: "html",
287		processData: true,
288		url: "frontend/ajax.cfm?setMiniWarenkorb=1&dssid=" + dssid + "&quantity=" + quantity + "&pubid=" + pubid + "&itemName=" + itemName,
289		success: function (data) {
290			$("#MiniWarenkorb").html(data);
291			$("#MiniWarenkorb").addClass("showWK");
292			$("#MiniWarenkorb").show();
293		},
294	});
295}
296
297function VerteilerLinkMore(dsaid) {
298	$("#dsarticle_accordion_" + dsaid).show();
299	//$('#dsarticle_'+dsaid+' .dstitledesign_container_1').hide();
300	$("#dsarticlebody_" + dsaid).append('<a href="#" id="VerteilerLinkLess" onclick="VerteilerLinkLess(' + dsaid + ');return false;">weniger anzeigen</a>');
301	$("#VerteilerLinkMore").remove();
302	return false;
303}
304
305function VerteilerLinkLess(dsaid) {
306	$("#dsarticle_accordion_" + dsaid).hide();
307	$("#dsarticle_" + dsaid + " .dstitledesign_container_1").show();
308	$("#dstitlebox_" + dsaid).append('<a href="#" id="VerteilerLinkMore" onclick="VerteilerLinkMore(' + dsaid + ');return false;">mehr anzeigen</a>');
309	$("#VerteilerLinkLess").remove();
310	return false;
311}
312
313function openModalStreamShare(id, streamurl, typ, opener, title) {
314	$("#VideoModalTeilen").hide();
315	$("#VideoModalEinbetten").hide();
316	if (opener == "Teilen") {
317		$("#VideoModalTeilen").show();
318		$("#VideoModalTitel").html("Teilen");
319		$("#ViMoElEinbetten").click(function () {
320			$("#vBEinbetten" + id).click();
321			return false;
322		});
323		$("#ViMoElFacebook").prop("href", "https://www.facebook.com/sharer/sharer.php?u=https://redaktion.hessen-agentur.de/share/?vid=" + id + "&amp;t=" + title);
324		$("#ViMoElTwitter").prop("href", "https://twitter.com/intent/tweet?url=https://redaktion.hessen-agentur.de/share/?vid==" + id + "&amp;text=" + title + "&amp;hashtags=");
325		$("#ViMoElMail").prop("href", "mailto:?Subject=Interessantes%20Video&Body=Dieses%20interessante%20Video%20habe%20ich%20gefunden%3A%20%0A" + title + "%0Ahttps%3A//redaktion.hessen-agentur.de/share/%3Fvid%3D=" + id);
326		$("#ViMoLink").val("https://redaktion.hessen-agentur.de/share/?vid=" + id);
327	} else {
328		$("#VideoModalEinbetten").show();
329		$("#VideoModalTitel").html("Video einbetten");
330		if (typ == "stream") {
331			$("#VideoModalEinbetten").html('<textarea id="ViMoCode" ><iframe width="720" height="405" src="https://streaming.hessen-agentur.de/vod/getVideo.php?id=' + streamurl + '&mode=iframe" frameborder="0" scrolling="no" allowTransparency="true" webkitAllowFullScreen mozallowfullscreen allowFullScreen	allow="autoplay; fullscreen"></iframe></textarea><br><a href=""  OnClick="copyModalStreamCode(); return false;">Kopieren</a>');
332		} else {
333			$("#VideoModalEinbetten").html('<textarea id="ViMoCode"><iframe  width="560" height="315" src="https://www.youtube-nocookie.com/embed/' + streamurl + '" frameborder="0" allow="encrypted-media" allowfullscreen></iframe></textarea><br><a href=""  OnClick="copyModalStreamCode(); return false;">Kopieren</a>');
334		}
335	}
336
337	$("#VideoModal").modal({ show: true });
338}
339
340function copyModalStreamCode() {
341	$("#ViMoCode").select();
342	document.execCommand("copy");
343}
344
345function copyModalStreamLink() {
346	$("#ViMoLink").select();
347	document.execCommand("copy");
348}
349
350function showYoutube() {
351	/*$url = $('#videoLink'+id).attr('href').replace('watch?v=', 'embed/');
352    $url =$url+'?rel=0';
353    $url = $url.replace('youtube','youtube-nocookie');
354    $('#video-player-con'+id).hide();
355    $('#click2video'+id).html('<iframe class="video-player-movie" id="video-player-movie" frameborder="0" allowfullscreen="1" title="YouTube video player" width="853" height="480" src="' + $url + '"></iframe>');*/
356	$(".MedienYoutube").each(function (index, value) {
357		id = $(this).attr("id");
358		myurl = $(this).data("youtube");
359		$("#" + id).html('<iframe class="youtubeIframe" width="560" height="315" src="https://www.youtube-nocookie.com/embed/' + myurl + '" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>');
360
361		//	console.log('div' + index + ':' + $(this).attr('id')  + 'id:' + $(this).data('youtube'));
362	});
363}
364
365$(document).ready(function () {
366	$(".i_dssubmenu_inactive").click(function (event) {
367		var target = getEventTarget(event);
368		i = target.id;
369		li = target.parentElement.id;
370		ul = target.parentElement.children[2].getAttribute("id");
371		$("i").removeClass("Inaviopen");
372		if ($("#" + ul).hasClass("naviopen")) {
373			$(".naviopen").hide("blind");
374			$("#dsmenus ul").removeClass("naviopen");
375		} else {
376			$(".naviopen").hide("blind");
377			$("#dsmenus ul").removeClass("naviopen");
378			$("#" + ul).addClass("naviopen");
379			$("#" + ul).show("blind");
380			$("#" + i).addClass("Inaviopen");
381		}
382	});
383});
384
385function getEventTarget(e) {
386	e = e || window.event;
387	return e.target || e.srcElement;
388}
389///////////////////////////////////////////////////////////////////////////////////////////
390///
391///showAP
392///
393///////////////////////////////////////////////////////////////////////////////////////////
394mapMarkers = Array();
395var markers;
396
397function showAP(mydata) {
398	//$('#myloader').show();
399	//entfernt die Marker
400	for (var i = 0; i < this.mapMarkers.length; i++) {
401		// MyLayerGroup.removeLayer(this.mapMarkers[i]);
402		this.map.removeLayer(this.mapMarkers[i]);
403	}
404	//entfernt die Cluster
405	if (markers) {
406		map.removeLayer(markers);
407	}
408
409	// MyLayerGroup.clearLayers() ;
410
411	//map.removeLayer(MyLayerGroup);
412	//MyLayerGroup.addTo(map);
413	if (mydata.length > 0) {
414		markers = L.markerClusterGroup({ maxClusterRadius: 50 });
415		for (var i = 0; i < mydata.length; ++i) {
416			//try{
417			var markerOptions = {
418				title: mydata[i].modaltitel,
419				content: mydata[i].orga,
420			};
421			var marker = L.marker(new L.LatLng(mydata[i].lat, mydata[i].lon), markerOptions);
422			markers.addLayer(marker);
423			mapMarkers.push(marker);
424
425			try {
426			} catch (err) {
427				console.log("Error in");
428				console.log(mydata[i]);
429			}
430		}
431		//markers.addTo(MyLayerGroup);
432		map.addLayer(markers);
433		map.fitBounds(markers.getBounds());
434	} else {
435		$("#KeinErgebnis").fadeIn("slow", function () {
436			$("#KeinErgebnis").fadeOut("slow");
437			$("#Ergebnis").html("Ihre Suche hatte kein Ergebnis.");
438		});
439	}
440
441	$("#myloaderNew").hide();
442
443	if (mydata.length > 1) {
444		$("#Ergebnis").html("Ihre Suche hat " + mydata.length + " Ergebnisse.");
445	} else if (mydata.length == 1) {
446		$("#Ergebnis").html("Ihre Suche hat 1 Ergebnis.");
447	} else {
448		$("#Ergebnis").html("");
449	}
450
451	markers.on("click", function (e) {
452		// Force close the popup.
453		e.layer.closePopup();
454		var feature = e.layer.options;
455		//console.log(feature)
456		var title = feature.title;
457		var content = feature.content;
458		// var latlng = feature.geometry.coordinates;
459		$("#marker_title").html(title);
460		$("#marker_content").html(content);
461		$("#exampleModal").modal("show");
462	});
463}
464
465///////////////////////////////////////////////////////////////////////////////////////////
466///
467///resize Map resizeAP
468///
469///////////////////////////////////////////////////////////////////////////////////////////
470function resizeAP() {
471	if (markers === undefined) {
472		//do nothing
473	} else {
474		map.fitBounds(markers.getBounds());
475	}
476}
477
478///////////////////////////////////////////////////////////////////////////////////////////
479///
480///searchAP
481///
482///////////////////////////////////////////////////////////////////////////////////////////
483
484function searchAP() {
485	$("#myloaderNew").show();
486	var sList = Array();
487	$(".Filter_AP").each(function () {
488		if (this.checked) {
489			sList.push($(this).val());
490		}
491	});
492
493	var form = $("#mysearch");
494	if (typ == "map") {
495		$("#ListeOuter").show();
496	} else {
497		$("#ListeOuter").html('<img src="img/loading51.gif" alt="verarbeite Daten" class="TheLoader">');
498		$("#ListeOuter").hide();
499		$("#ListeOuter").html("");
500	}
501	$.ajax({
502		type: "POST",
503		url: "frontend/ajax.cfm?searchAP=1&typ=" + typ + "&filter=" + sList.toString(),
504		data: form.serialize(),
505		success: function (data) {
506			//tabs und \r usw rausfischen
507			data = data.replace(/\s+/g, " ");
508			if (typ == "map") {
509				showAP(JSON.parse(data));
510			} else {
511				$("#ListeOuter").html(data);
512			}
513		},
514	});
515}
516
517///////////////////////////////////////////////////////////////////////////////////////////
518///
519///showPro
520///
521///////////////////////////////////////////////////////////////////////////////////////////
522mapMarkers = Array();
523var markers;
524
525function showPro(mydata) {
526	//$('#myloader').show();
527	//entfernt die Marker
528	for (var i = 0; i < this.mapMarkers.length; i++) {
529		// MyLayerGroup.removeLayer(this.mapMarkers[i]);
530		this.map.removeLayer(this.mapMarkers[i]);
531	}
532	//entfernt die Cluster
533	if (markers) {
534		map.removeLayer(markers);
535	}
536
537	// MyLayerGroup.clearLayers() ;
538
539	//map.removeLayer(MyLayerGroup);
540	//MyLayerGroup.addTo(map);
541	if (mydata.length > 0) {
542		markers = L.markerClusterGroup({ maxClusterRadius: 50 });
543		for (var i = 0; i < mydata.length; ++i) {
544			//try{
545			var markerOptions = {
546				title: mydata[i].modaltitel,
547				content: mydata[i].projekt,
548			};
549			var marker = L.marker(new L.LatLng(mydata[i].lat, mydata[i].lon), markerOptions);
550			markers.addLayer(marker);
551			mapMarkers.push(marker);
552
553			try {
554			} catch (err) {
555				console.log("Error in");
556				console.log(mydata[i]);
557			}
558		}
559		//markers.addTo(MyLayerGroup);
560		map.addLayer(markers);
561		map.fitBounds(markers.getBounds());
562	} else {
563		$("#KeinErgebnis").fadeIn("slow", function () {
564			$("#KeinErgebnis").fadeOut("slow");
565			$("#Ergebnis").html("Ihre Suche hatte kein Ergebnis.");
566		});
567	}
568
569	$("#myloaderNew").hide();
570
571	if (mydata.length > 1) {
572		$("#Ergebnis").html("Ihre Suche hat " + mydata.length + " Ergebnisse.");
573	} else if (mydata.length == 1) {
574		$("#Ergebnis").html("Ihre Suche hat 1 Ergebnis.");
575	} else {
576		$("#Ergebnis").html("");
577	}
578
579	markers.on("click", function (e) {
580		// Force close the popup.
581		e.layer.closePopup();
582		var feature = e.layer.options;
583		//console.log(feature)
584		var title = feature.title;
585		var content = feature.content;
586		// var latlng = feature.geometry.coordinates;
587		$("#marker_title").html(title);
588		$("#marker_content").html(content);
589		$("#projektModal").modal("show");
590	});
591}
592
593function showProjectModal(id, projekt) {
594	$("#projektModal").modal("hide");
595	$.ajax({
596		url: "frontend/ajax.cfm?showProjectModal=1&id=" + id,
597		type: "GET",
598		dataType: "html",
599		processData: true,
600		success: function (data) {
601			$("#marker_title").html(decodeURI(projekt));
602			$("#marker_content").html(data);
603			$("#projektModal").modal("show");
604		},
605	});
606}
607
608function showProjectModalKachel(id, projekt) {
609	$("#projektModalKachel").modal("hide");
610	$.ajax({
611		url: "frontend/ajax.cfm?showProjectModal=1&id=" + id,
612		type: "GET",
613		dataType: "html",
614		processData: true,
615		success: function (data) {
616			$("#marker_titleKachel").html(decodeURI(projekt));
617			$("#marker_contentKachel").html(data);
618			$("#projektModalKachel").modal("show");
619		},
620	});
621}
622
623///////////////////////////////////////////////////////////////////////////////////////////
624///
625///resize Map resizePro
626///
627///////////////////////////////////////////////////////////////////////////////////////////
628function resizePro() {
629	if (markers === undefined) {
630		//do nothing
631	} else {
632		map.fitBounds(markers.getBounds());
633	}
634}
635
636///////////////////////////////////////////////////////////////////////////////////////////
637///
638///searchPro
639///
640///////////////////////////////////////////////////////////////////////////////////////////
641
642function searchPro() {
643	$("#myloaderNew").show();
644	var sList = Array();
645	$(".Filter_AP").each(function () {
646		if (this.checked) {
647			sList.push($(this).val());
648		}
649	});
650
651	var form = $("#mysearch");
652	if (typ == "map") {
653		$("#ListeOuter").show();
654	} else {
655		$("#ListeOuter").html('<img src="img/loading51.gif" alt="verarbeite Daten" class="TheLoader">');
656		$("#ListeOuter").hide();
657		$("#ListeOuter").html("");
658	}
659	$.ajax({
660		type: "POST",
661		url: "frontend/ajax.cfm?searchPro=1&typ=" + typ + "&filter=" + sList.toString(),
662		data: form.serialize(),
663		success: function (data) {
664			//tabs und \r usw rausfischen
665			data = data.replace(/\s+/g, " ");
666			if (typ == "map") {
667				showPro(JSON.parse(data));
668			} else {
669				$("#ListeOuter").html(data);
670			}
671		},
672	});
673}
674
675function popPerkCity() {
676	var landkreis = encodeURIComponent($("##landkreis").val());
677	$(".radiowarten").prop("checked", false);
678	$.ajax({
679		url: "frontend/ajax.cfm?popPerkCity=1&landkreis=" + landkreis,
680		dataType: "html",
681		processData: true,
682		cache: false,
683		success: function (html) {
684			$("#city").html(html);
685			aufmichwartenPerk();
686		},
687	});
688}
689function aufmichwartenPerk() {
690	//alle checkboxen/radios disabled aus
691	$(".radiowarten").prop("disabled", true);
692	var landkreis = encodeURIComponent($("#landkreis").val());
693	var city = encodeURIComponent($("#city").val());
694	var gratis = 0;
695	if ($("#gratis").is(":checked")) {
696		var gratis = 2;
697	}
698	if ($("#gratis1").is(":checked")) {
699		var gratis = 1;
700	}
701	//merken welche Radios ausgwählt wurden
702	var radios = [];
703	$(".radiowarten:checkbox:checked").each(function () {
704		radios.push($(this).val());
705		$("#catidX").prop("checked", false);
706	});
707
708	radios = radios.join(", ");
709	//Hier wird die Anzahl gesetzt
710	$.ajax({
711		url: "frontend/ajax.cfm",
712		dataType: "json",
713		cache: false,
714		data: {
715			aufmichwartenPerk: 1,
716			landkreis: landkreis,
717			city: city,
718			gratis: gratis,
719			radios: radios,
720		},
721		success: function (data) {
722			$("#TBSErgebnis").html(data.count);
723
724			$(".radiowarten").prop("disabled", true);
725
726			var catids = data.catids ? data.catids.split(",") : [];
727			var radiosArray = Array.isArray(radios) ? radios : String(radios).split(",");
728
729			for (var i = 0; i < catids.length; i++) {
730				$("#catid" + catids[i]).prop("disabled", false);
731				if ($.inArray(catids[i], radiosArray) !== -1) {
732					$("#catid" + catids[i]).prop("checked", true);
733				}
734			}
735		},
736	});
737}

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.