document.write('
'); var jbalxtnyrshfoqecdgpuvmwikz_camfinder_anzahl; var jbalxtnyrshfoqecdgpuvmwikz_camfinder_height_uebrig_halbiert; var jbalxtnyrshfoqecdgpuvmwikz_camfinder_main = document.getElementsByClassName('jbalxtnyrshfoqecdgpuvmwikz_camfinder_main')[0]; var jbalxtnyrshfoqecdgpuvmwikz_camfinder_profil = document.getElementsByClassName('jbalxtnyrshfoqecdgpuvmwikz_camfinder_profil'); var jbalxtnyrshfoqecdgpuvmwikz_camfinder_vertical_center = document.getElementById('jbalxtnyrshfoqecdgpuvmwikz_camfinder_vertical_center'); var jbalxtnyrshfoqecdgpuvmwikz_camfinder_close = document.getElementById('jbalxtnyrshfoqecdgpuvmwikz_camfinder_close'); var jbalxtnyrshfoqecdgpuvmwikz_camfinder_open = document.getElementById('jbalxtnyrshfoqecdgpuvmwikz_camfinder_open'); (function (i) { var e = /iPhone/i, n = /iPod/i, o = /iPad/i, t = /(?=.*\bAndroid\b)(?=.*\bMobile\b)/i, r = /Android/i, d = /BlackBerry/i, s = /Opera Mini/i, a = /IEMobile/i, b = /(?=.*\bFirefox\b)(?=.*\bMobile\b)/i, h = RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)", "i"), c = function (i, e) { return i.test(e); }, l = function (i) { var l = i || navigator.userAgent; this.apple = {phone: c(e, l), ipod: c(n, l), tablet: c(o, l), device: c(e, l) || c(n, l) || c(o, l)}, this.android = {phone: c(t, l), tablet: !c(t, l) && c(r, l), device: c(t, l) || c(r, l)}, this.other = {blackberry: c(d, l), opera: c(s, l), windows: c(a, l), firefox: c(b, l), device: c(d, l) || c(s, l) || c(a, l) || c(b, l)}, this.seven_inch = c(h, l), this.any = this.apple.device || this.android.device || this.other.device || this.seven_inch; }, v = i.jbalxtnyrshfoqecdgpuvmwikzisItMobile = new l; v.Class = l; })(window); function jbalxtnyrshfoqecdgpuvmwikz_camfinder_mobilecheck () { if(window.jbalxtnyrshfoqecdgpuvmwikzisItMobile.any) { jbalxtnyrshfoqecdgpuvmwikz_camfinder_main.setAttribute('style', 'width:0px !important'); } }; jbalxtnyrshfoqecdgpuvmwikz_camfinder_mobilecheck(); jbalxtnyrshfoqecdgpuvmwikz_camfinder_close.addEventListener('click', function () { jbalxtnyrshfoqecdgpuvmwikz_camfinder_main.setAttribute('style', 'width:0px !important'); }); jbalxtnyrshfoqecdgpuvmwikz_camfinder_open.addEventListener('click', function () { jbalxtnyrshfoqecdgpuvmwikz_camfinder_main.setAttribute('style', 'width:150px !important'); }); window.addEventListener("resize", jbalxtnyrshfoqecdgpuvmwikz_camfinder_rechner); jbalxtnyrshfoqecdgpuvmwikz_camfinder_rechner(); function jbalxtnyrshfoqecdgpuvmwikz_camfinder_rechner(){ var jbalxtnyrshfoqecdgpuvmwikz_camfinder_orginal_height = jbalxtnyrshfoqecdgpuvmwikz_camfinder_main.offsetHeight; var jbalxtnyrshfoqecdgpuvmwikz_camfinder_height = jbalxtnyrshfoqecdgpuvmwikz_camfinder_orginal_height - 53; jbalxtnyrshfoqecdgpuvmwikz_camfinder_anzahl = Math.floor(jbalxtnyrshfoqecdgpuvmwikz_camfinder_height / 100); var jbalxtnyrshfoqecdgpuvmwikz_camfinder_height_uebrig = jbalxtnyrshfoqecdgpuvmwikz_camfinder_height - (jbalxtnyrshfoqecdgpuvmwikz_camfinder_anzahl * 100); jbalxtnyrshfoqecdgpuvmwikz_camfinder_height_uebrig_halbiert = jbalxtnyrshfoqecdgpuvmwikz_camfinder_height_uebrig / 2; jbalxtnyrshfoqecdgpuvmwikz_camfinder_see_or_hide(); } function jbalxtnyrshfoqecdgpuvmwikz_camfinder_see_or_hide(){ for (var i = 0; i < jbalxtnyrshfoqecdgpuvmwikz_camfinder_profil.length; i++) { if (i < jbalxtnyrshfoqecdgpuvmwikz_camfinder_anzahl){ jbalxtnyrshfoqecdgpuvmwikz_camfinder_profil[i].classList.remove("jbalxtnyrshfoqecdgpuvmwikz_camfinder_hide"); } else { jbalxtnyrshfoqecdgpuvmwikz_camfinder_profil[i].classList.add("jbalxtnyrshfoqecdgpuvmwikz_camfinder_hide"); } } jbalxtnyrshfoqecdgpuvmwikz_camfinder_vertical_profile_center(); } function jbalxtnyrshfoqecdgpuvmwikz_camfinder_vertical_profile_center(){ jbalxtnyrshfoqecdgpuvmwikz_camfinder_vertical_center.setAttribute('style', 'margin:'+jbalxtnyrshfoqecdgpuvmwikz_camfinder_height_uebrig_halbiert+'px 0px !important'); } jbalxtnyrshfoqecdgpuvmwikz_camfinder_main.classList.add("jbalxtnyrshfoqecdgpuvmwikz_camfinder_add_animation");