jQuery(document).ready(function() { $("#f154948d154574").get(0).selectedIndex = 0; var absImgPath = 'SiteGlobals/StyleBundles/Bilder/Wiedereinstiegsportal/Layout/'; if ($('#f154918d154608').length > 0) { if($.browser.msie && $.browser.version == "6.0") { //no datepicker for ie6 } else { try { var options = { buttonText: 'Datumsauswahl', showOn: 'both', altFormat: 'dd.mm.yy', buttonImageOnly: true, buttonImage: absImgPath + 'input_kalender.gif.gif?__blob=normal', changeMonth: false, changeYear: false, clearText: 'Datum', closeText: 'Schließen', prevText: 'Zurück', nextText: 'Nächste', hideIfNoPrevNext: true, minDate: 0, maxDate: '+1Y', firstDay : 1, mandatory: true, showButtonPanel: false, dateFormat : "dd.mm.yy", currentText : "Heute", dayNames : ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], dayNamesMin : ["So","Mo","Di","Mi","Do","Fr","Sa"], monthNames : ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"], beforeShow: function(input, inst) { var x = $(input).width()/2; //add offset var y = 80; var field = $(input); try { var left = field.offset().left - 37; var top = field.offset().top + 50; } catch(e) {} setTimeout(function(){ $('#ui-datepicker-div').css({'top':'', 'top':top + 'px', 'left': left + 'px'}); $('.ui-datepicker-calendar thead th').attr('scope', 'col'); },1); } }; $('#f154918d154608').datepicker(options); $('#f154918d154606').datepicker(options); } catch(err) { alert("Datepicker not loaded: " + err); } } } new InputPlaceholder({ "inputElement" : "#f6904d6936", "debug" : "InputPlaceHolder", "defaultText" : "Suchen" }); new InputPlaceholder({ "inputElement" : "#form_beratungplz", "debug" : "InputPlaceHolder", "defaultText" : "PLZ" }); new InputPlaceholder({ "inputElement" : "#f154918d154610", "debug" : "InputPlaceHolder", "defaultText" : "PLZ" }); new InputPlaceholder({ "inputElement" : "#f154918d154608", "debug" : "InputPlaceHolder", "defaultText" : "Von" }); new InputPlaceholder({ "inputElement" : "#f154918d154606", "debug" : "InputPlaceHolder", "defaultText" : "Bis" }); new SelectFieldRedirector({ "selectElement" : "#f154948d154574", "specialValues" : "*", "callback" : function(option) { if (option.value == "#") { return false; } var parent = $(option).parent().parent(); parent.get(0).submit(); } }); new InfomappeItemCounter({ "infomappeCounterSelector" : ".docCount", "infomappeElement" : ".infomappeCounter", "urlStub" : "SiteGlobals/Functions/Infomappe/Infomappe.html;jsessionid=9B024AE600C1D3C60E0F0A44608AEADE?view=countDocumentsInInfomap&nn=6920" }); new AutocompleteComponent({ "event": { "enter": { "elements": ".lesezeichenLink" } }, "content": { "inputFieldSelector": "#f6904d6936", "autocompleteConfig" : { source: function(request, response) { $.get('https://www.perspektive-wiedereinstieg.de/Navigation/DE/Service/Suche/ServiceSucheIntegrator.html;jsessionid=9B024AE600C1D3C60E0F0A44608AEADE?view=render[AutocompleteResults]', { key:request.term }, function(data) { response(data); }); }, minLength: 3, appendTo: "#autocomplete", dataType: "json" } }, "debug" : "autocomplete" }); // Kleine Karte auf der Startseite var picSwitcher = new PicSwitcher({ "targetImage" : ".karte img", "items" : [ { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/schleswig_holstein.png?__blob=normal", "trigger" : "#deutschland area[alt='Schleswig-Holstein']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/mecklenburg_vorpommern.png?__blob=normal", "trigger" : "#deutschland area[alt='Mecklenburg-Vorpommern']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/hamburg.png?__blob=normal", "trigger" : "#deutschland area[alt='Hamburg']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/bremen.png?__blob=normal", "trigger" : "#deutschland area[alt='Bremen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/niedersachsen.png?__blob=normal", "trigger" : "#deutschland area[alt='Niedersachsen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/sachsen_anhalt.png?__blob=normal", "trigger" : "#deutschland area[alt='Sachsen-Anhalt']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/brandenburg.png?__blob=normal", "trigger" : "#deutschland area[alt='Brandenburg']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/berlin.png?__blob=normal", "trigger" : "#deutschland area[alt='Berlin']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/nordrhein_westfalen.png?__blob=normal", "trigger" : "#deutschland area[alt='Nordrhein-Westfalen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/hessen.png?__blob=normal", "trigger" : "#deutschland area[alt='Hessen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/thueringen.png?__blob=normal", "trigger" : "#deutschland area[alt='Thüringen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/rheinland_pfalz.png?__blob=normal", "trigger" : "#deutschland area[alt='Rheinland-Pfalz']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/saarland.png?__blob=normal", "trigger" : "#deutschland area[alt='Saarland']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/baden_wuerttemberg.png?__blob=normal", "trigger" : "#deutschland area[alt='Baden-Württemberg']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/bayern.png?__blob=normal", "trigger" : "#deutschland area[alt='Bayern']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte_klein/sachsen.png?__blob=normal", "trigger" : "#deutschland area[alt='Sachsen']" } ] }); }); var gsbTools={}; this.init_gsbTools = function(){ gsbTools.setCookie = function(cname, cvalue, exdays, domain) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); var domainString = (typeof domain!=='undefined')?";domain=" + domain:""; document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/" + domainString; } gsbTools.getCookie = function(cname) {    var name = cname + "=";   var decodedCookie = decodeURIComponent(document.cookie);    var ca = decodedCookie.split(';');   for(var i = 0; i
Diese Webseite verwendet Cookies und Webanalyse-Tools. Das hilft uns, um Ihnen ein gutes Nutzungserlebnis zu bieten und unsere Website zu verbessern. Wenn Sie durch unsere Seiten surfen, erklären Sie sich hiermit einverstanden. Hier erfahren Sie mehr über die Nutzung Ihrer Daten und Möglichkeiten zum Widerspruch.
').insertBefore( $('#wrapAll') ); $('#cookieBanner #cookieBannerButton #cookies_accepted').click(function(obj){ if (gsbTools.getCookie("cookie_consent") === "") { var domainParts = window.location.hostname.split('.'); var mainDomain = "." + domainParts[domainParts.length-2] + "." + domainParts[domainParts.length-1] gsbTools.setCookie("cookie_consent", "accepted", 30, mainDomain); } $('#cookieBanner').slideUp(1000); }); $('#cookieBanner').slideDown(1000); } } this.init_webanalyseOptOut = function() { if($('#content #inhalt #standardSeite').length>0){ var optOutText = "Ihr Besuch dieser Website wird aktuell von einer Webanalyse Software erfasst. Klicken Sie hier, damit Ihr Besuch nicht mehr erfasst wird."; var checkedValue = (gsbTools.getCookie("cookie_consent")==="denied")?" checked":""; $('#content #inhalt #standardSeite').append( '

' ) $('#privacy-statement-optout #ba-cookieconsent-optout').click(function(obj){ var domainParts = window.location.hostname.split('.'); var mainDomain = "." + domainParts[domainParts.length-2] + "." + domainParts[domainParts.length-1]; gsbTools.setCookie("cookie_consent", $(obj.target).prop('checked')?"denied":"accepted", 30, mainDomain); }); } } jQuery(document).ready(function() { init_gsbTools(); init_cookiebanner(); });