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=CE70D224917C2A92D8D81D16AFA0D960?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=CE70D224917C2A92D8D81D16AFA0D960?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']" } ] }); });