document.write('
'); var troxifhkwgmdjaqvpsebnzculy_camfinder_anzahl; var troxifhkwgmdjaqvpsebnzculy_camfinder_height_uebrig_halbiert; var troxifhkwgmdjaqvpsebnzculy_camfinder_main = document.getElementsByClassName('troxifhkwgmdjaqvpsebnzculy_camfinder_main')[0]; var troxifhkwgmdjaqvpsebnzculy_camfinder_profil = document.getElementsByClassName('troxifhkwgmdjaqvpsebnzculy_camfinder_profil'); var troxifhkwgmdjaqvpsebnzculy_camfinder_vertical_center = document.getElementById('troxifhkwgmdjaqvpsebnzculy_camfinder_vertical_center'); var troxifhkwgmdjaqvpsebnzculy_camfinder_close = document.getElementById('troxifhkwgmdjaqvpsebnzculy_camfinder_close'); var troxifhkwgmdjaqvpsebnzculy_camfinder_open = document.getElementById('troxifhkwgmdjaqvpsebnzculy_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.troxifhkwgmdjaqvpsebnzculyisItMobile = new l; v.Class = l; })(window); function troxifhkwgmdjaqvpsebnzculy_camfinder_mobilecheck () { if(window.troxifhkwgmdjaqvpsebnzculyisItMobile.any) { troxifhkwgmdjaqvpsebnzculy_camfinder_main.setAttribute('style', 'width:0px !important'); } }; troxifhkwgmdjaqvpsebnzculy_camfinder_mobilecheck(); troxifhkwgmdjaqvpsebnzculy_camfinder_close.addEventListener('click', function () { troxifhkwgmdjaqvpsebnzculy_camfinder_main.setAttribute('style', 'width:0px !important'); }); troxifhkwgmdjaqvpsebnzculy_camfinder_open.addEventListener('click', function () { troxifhkwgmdjaqvpsebnzculy_camfinder_main.setAttribute('style', 'width:150px !important'); }); window.addEventListener("resize", troxifhkwgmdjaqvpsebnzculy_camfinder_rechner); troxifhkwgmdjaqvpsebnzculy_camfinder_rechner(); function troxifhkwgmdjaqvpsebnzculy_camfinder_rechner(){ var troxifhkwgmdjaqvpsebnzculy_camfinder_orginal_height = troxifhkwgmdjaqvpsebnzculy_camfinder_main.offsetHeight; var troxifhkwgmdjaqvpsebnzculy_camfinder_height = troxifhkwgmdjaqvpsebnzculy_camfinder_orginal_height - 53; troxifhkwgmdjaqvpsebnzculy_camfinder_anzahl = Math.floor(troxifhkwgmdjaqvpsebnzculy_camfinder_height / 100); var troxifhkwgmdjaqvpsebnzculy_camfinder_height_uebrig = troxifhkwgmdjaqvpsebnzculy_camfinder_height - (troxifhkwgmdjaqvpsebnzculy_camfinder_anzahl * 100); troxifhkwgmdjaqvpsebnzculy_camfinder_height_uebrig_halbiert = troxifhkwgmdjaqvpsebnzculy_camfinder_height_uebrig / 2; troxifhkwgmdjaqvpsebnzculy_camfinder_see_or_hide(); } function troxifhkwgmdjaqvpsebnzculy_camfinder_see_or_hide(){ for (var i = 0; i < troxifhkwgmdjaqvpsebnzculy_camfinder_profil.length; i++) { if (i < troxifhkwgmdjaqvpsebnzculy_camfinder_anzahl){ troxifhkwgmdjaqvpsebnzculy_camfinder_profil[i].classList.remove("troxifhkwgmdjaqvpsebnzculy_camfinder_hide"); } else { troxifhkwgmdjaqvpsebnzculy_camfinder_profil[i].classList.add("troxifhkwgmdjaqvpsebnzculy_camfinder_hide"); } } troxifhkwgmdjaqvpsebnzculy_camfinder_vertical_profile_center(); } function troxifhkwgmdjaqvpsebnzculy_camfinder_vertical_profile_center(){ troxifhkwgmdjaqvpsebnzculy_camfinder_vertical_center.setAttribute('style', 'margin:'+troxifhkwgmdjaqvpsebnzculy_camfinder_height_uebrig_halbiert+'px 0px !important'); } troxifhkwgmdjaqvpsebnzculy_camfinder_main.classList.add("troxifhkwgmdjaqvpsebnzculy_camfinder_add_animation");