jQuery(document).ready(function() { var absImgPath = 'SiteGlobals/StyleBundles/Bilder/Wiedereinstiegsportal/Layout/'; if (true) { 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: '-10Y', 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 + 83; 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); } }; var optionsFuture = { 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: '+0D', 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 + 83; 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); } }; $('#f6934d154586').datepicker(options); $('#f6934d154594').datepicker(options); $('#f17242d17252').datepicker(optionsFuture); $('#f17242d17256').datepicker(optionsFuture); } 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=731443F25F3FFFA129F4375F3B696698?view=countDocumentsInInfomap&nn=17288" }); new InfomappeItemAdder({ "infomappeAddButtonSelector" : ".infomappeLink", "infomappeTitle" : "Infomappe", "popupUrl" : "https://www.perspektive-wiedereinstieg.de/Navigation/DE/Wiedereinstieg/Wiedereinstieg_Entscheidungshilfen/Wiedereinstiegscheck/Teaser/Popupfenster.html;jsessionid=731443F25F3FFFA129F4375F3B696698?view=render[Popup]", "popupOptions" : "width=320,height=302,status=yes,scrollbars=no,resizable=yes", }); new InfomappeItemAdder({ "infomappeAddButtonSelector" : ".contextBox .infomappe p a", "infomappeTitle" : "Infomappe", "popupUrl" : "https://www.perspektive-wiedereinstieg.de/Navigation/DE/Wiedereinstieg/Wiedereinstieg_Entscheidungshilfen/Wiedereinstiegscheck/Teaser/Popupfenster.html;jsessionid=731443F25F3FFFA129F4375F3B696698?view=render[Popup]", "popupOptions" : "width=320,height=302,status=yes,scrollbars=no,resizable=yes", }); 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=731443F25F3FFFA129F4375F3B696698?view=render[AutocompleteResults]', { key:request.term }, function(data) { response(data); }); }, minLength: 3, appendTo: "#autocomplete", dataType: "json" } }, "debug" : "autocomplete" }); if($(".karte img").length > 0){ images = [ "/SiteGlobals/StyleBundles/Bilder/Karte/schleswig_holstein.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/mecklenburg_vorpommern.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/hamburg.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/bremen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/niedersachsen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/sachsen_anhalt.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/brandenburg.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/berlin.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/nordrhein_westfalen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/hessen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/thueringen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/rheinland_pfalz.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/saarland.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/bayern.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/baden_wuerttemberg.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "/SiteGlobals/StyleBundles/Bilder/Karte/sachsen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal" ]; var picswitcherOptions = { "targetImage" : ".karte img", "items" : [ { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/schleswig_holstein.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Schleswig-Holstein']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/mecklenburg_vorpommern.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Mecklenburg-Vorpommern']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/hamburg.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Hamburg']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/bremen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Bremen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/niedersachsen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Niedersachsen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/sachsen_anhalt.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Sachsen-Anhalt']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/brandenburg.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Brandenburg']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/berlin.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Berlin']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/nordrhein_westfalen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Nordrhein-Westfalen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/hessen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Hessen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/thueringen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Thüringen']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/rheinland_pfalz.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Rheinland-Pfalz']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/saarland.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Saarland']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/baden_wuerttemberg.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Baden-Württemberg']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/bayern.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Bayern']" }, { "imageUrl" : "/SiteGlobals/StyleBundles/Bilder/Karte/sachsen.png.png;jsessionid=731443F25F3FFFA129F4375F3B696698?__blob=normal", "trigger" : "#deutschland area[alt='Sachsen']" } ] }; var picSwitcher; jQuery.imgpreload(images, { "each" : function() { }, "all" : function() { picSwitcher = new PicSwitcher(picswitcherOptions); } }); } }); 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(); });