var hideScrollbars = false; if (hideScrollbars){ if (!isInFrame()){ $("html,body").css("overflow","auto"); } }
function isInFrame(){
if(self == top){ return false; } else { return true; }
}
if ('ontouchstart' in window) {window.addEventListener('load', function() {FastClick.attach(document.body);}, false); } var numberFormatId = 0; var timeFormatId = 0; var dateFormatId = 0; var SSNValidateRegEx = /^(0[1-9]|[12][0-9]|3[01])((0[1-9])|(1[0-2]))[0-9]{2}-?[0-9]{4}$/;
newwin = null;
function popBetaling( f, pWidth ) {
pWidth = typeof pWidth !== 'undefined' ? pWidth : 800;
if ( newwin === null || newwin.closed ) { newwin = window.open('', 'Betaling','scrollbars,status,width='+pWidth+',height=600');} else {newwin.close(); newwin = window.open('', 'Betaling','scrollbars,status,width='+pWidth+',height=600');}if ( newwin !== null ) {newwin.focus();
if( !self.name ) {self.name = 'opener';}if (!newwin.opener) {newwin.opener = self;}document.forms.formBetaling.opener.value = self.name;return true;
} else {return false; } }
function onLoadKortbetaling( form, pWidth ) {
pWidth = typeof pWidth !== 'undefined' ? pWidth : 800;
if( popBetaling(form,pWidth) ) { document.formBetaling.submit();} else {alert('Betalingsvinduet kan ikke åbnes pga. dine browser indstillinger. nnKlik venligst på "Åben betalings vindue" knappen.');} }
function goToUrl( url ) { url = url + '&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017'; document.location.href=url; } function setLang( langId ) { var u = 'booking.php?lang='+langId+'&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017'; document.location.href= u; }
$(function() { $.myApp ={ sessionSaverUrl: 'keepalive.php?1=1&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017', sessionSaverInterval: (60000 * 5),
sessionSaver: function(){ $.post($.myApp.sessionSaverUrl); setTimeout($.myApp.sessionSaver, $.myApp.sessionSaverInterval); } };
setTimeout($.myApp.sessionSaver, $.myApp.sessionSaverInterval);
if (document.location.href.search("&loginerr=") != -1 && document.location.href.search("&ispopup=") != -1) { if ((document.location.href.search("&showCreateCustomer=1") != -1)) { showLogin("createUser"); } else { var match = document.location.href.match(/loginerr=([^&$#]*)/); if (match != null) { showLogin(match[1]); } } } });
function gbDatePicker( id, dateY, dateM, dateD ) { var dPic = $("#"+id);
dPic.on("drop", function(event) { // Fikser uendeligt event loop mellem 2 DatePicker felter event.preventDefault(); event.stopPropagation(); });
dPic.datepicker(); if (dateY != null && dateM != null && dateD != null){ dPic.datepicker("setDate", new Date(dateY,dateM-1,dateD)); }
dPic.datepicker("option", "firstDay", 1); dPic.datepicker("option", "dayNamesMin", ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"]); dPic.datepicker("option", "dayNames", ["Søndag","Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"]); dPic.datepicker("option", "monthNames", ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"]); dPic.datepicker("option", "weekHeader", ""); dPic.datepicker("option","showWeek",true);
switch (dateFormatId) { case 1: dPic.datepicker("option", "dateFormat", "mm-dd-yy"); dPic.mask("99-99-9999",{placeholder:"_"}); break; case 2: dPic.datepicker("option", "dateFormat", "yy-mm-dd"); dPic.mask("9999-99-99",{placeholder:"_"}); break; default: dPic.datepicker("option", "dateFormat", "dd-mm-yy"); dPic.mask("99-99-9999",{placeholder:"_"});
break; }
return dPic; } var loginRedirFilename = '{loginRedirFilename}'; function closeMainPopup() { $("div#ajaxcontentdiv").hide(); $("div#contentdiv").show(); } function showLogin( loginErr ) { var parmExtra = ""; var tmpStr = location.search.match(/email=[^&$]+/); parmExtra += (tmpStr !== null) ? '&' + tmpStr : ''; tmpStr = location.search.match(/sendtPrEmail=[^&$]+/); parmExtra += (tmpStr !== null) ? '&' + tmpStr : ''; tmpStr = location.search.match(/sendtPrSMS=[^&$]+/); parmExtra += (tmpStr !== null) ? '&' + tmpStr : ''; if (!loginErr) { loginErr = ""; } var type = "getLoginHTML"; $.post("booking_ajax.php?1=1&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017"+parmExtra, { type: type, loginErr: loginErr}, function (data) { if (data == "") { document.location.href = document.location.href.replace(/#.*$/,""); } else { $("div#contentdiv").hide(); $("div#ajaxcontentdiv").hide().empty(); $("div#ajaxcontentdiv").append( parseWrapperPage(data) ); $("div#ajaxcontentdiv").show(); $("div#glemtpwcontentdiv").hide().empty(); } }); }
function parentExecuteScrollTo(){ parent.postMessage({"geckoScrollToTop":true},'*'); }
var currentSource = "";
function showResetPassword(source) { currentSource = source; $("div#contentdiv").hide(); $("div#ajaxcontentdiv").hide(); $("div#glemtpwcontentdiv").hide().empty();
$.post("login_ajax.php?1=1&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017", {}, function (data){ try { if (data != '') {
$("div#glemtpwcontentdiv").append( parseWrapperPage(data) ); $("div#glemtpwcontentdiv").show();
parentExecuteScrollTo();
/*var xyz = document.getElementById("scrolltomeresetpassword");var isSmoothScrollSupported = 'scrollBehavior' in document.documentElement.style;
if(isSmoothScrollSupported) {xyz.scrollIntoView({behavior: "smooth", block: "center"});} else {xyz.scrollIntoView();$(".gc-login-box").before('
');}*/
} else { } } catch (e) { } } );
}
function showResetPasswordForce(source) { currentSource = source; $("div#contentdiv").hide(); $("div#ajaxcontentdiv").hide(); $("div#glemtpwcontentdiv").hide().empty();
$.post("login_ajax.php?do=showChangeCode&1=1&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017", {}, function (data){ try { if (data != '') { $("div#glemtpwcontentdiv").append( parseWrapperPage(data) ); $("div#glemtpwcontentdiv").show(); } else { } } catch (e) { } } );
}
function closeResetPassword() {
$("div#glemtpwcontentdiv").hide(); $("div#glemtpwcontentdiv").hide().empty(); switch (currentSource) { case "loginbox": $("div#ajaxcontentdiv").show(); break; case "customerExtra": default: $("div#contentdiv").show(); break; } }
function parseWrapperPage( inlineContent ) { var $wrapper = $('
', {'class' : 'wrapper-page'}); var $cardBox = $('
', {'class' : 'card-box bx-shadow gc-login-box'}); $cardBox.html( inlineContent ); $wrapper.append($cardBox); return $wrapper; }
function showLoginNoBack() { var type = "getLoginHTML"; $.post("booking_ajax.php?1=1&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017", { type: type}, function (data) { if (data == "") { document.location.href = document.location.href.replace(/#.*$/,""); } else { $("div#contentdiv").hide(); $("div#ajaxcontentdiv").hide().empty(); $("div#ajaxcontentdiv").append( parseWrapperPage(data) ); $("div.btnBack").hide(); $("div#ajaxcontentdiv").show(); } }); }
//$("html").css("overflow-y","hidden");
lastKnownHeight = 0; function postHeightToParent(){
var newHeight = $('body').height(); if ( newHeight != lastKnownHeight ) { parent.postMessage({"geckoSetHeight":newHeight},'*'); lastKnownHeight = newHeight; } setTimeout(postHeightToParent, 400); }
function recalcLastKnownHeight(){ var newH = $("#contentdiv").height(); parent.postMessage(newH,'*'); lastKnownHeight = newH; }
$(function(){ postHeightToParent(); });
function popupKode(){ document.location.href = "booking.php?show=popupkode&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017"; //window.open("booking.php?show=popupkode&PHPSESSID=45b91028ee48efe815761224b3649811&bId=2017&icCode=8f20156ff40823771a472af6cd0391fbb2017","PopUpKode","width=500,height=460,left=20,top=20,toolbar=no,location=no,directories=no,status=no,scrollbars=yes"); }
function validateLogin(){
var f = document.forms.formLogin;
if (f.email.value == ""){ alert("Indtast venligst e-mail."); f.email.focus(); return false; }
if (!validateEmail(f.email.value)){ alert("Den indtastede e-mail er ikke korrekt, prøv venligst igen."); f.email.focus(); return false; } if (f.kode.value == ""){ alert("Indtast venligst din kode."); f.kode.focus(); return false; }
return true; }
-Book tid her:
Jeannie Messell : Lægeeksamineret Kosmetolog & Micropigmentist
Lars Pedersen : Kropsterapeut
-Opret dig hurtigt og gratis.
Er du ikke oprettet som bruger eller har du glemt din kode, kan du klikke på ovenstående link.
Nu kan du reservere flere tider på en gang. Se mere under vis kurv
Dine reservationer bliver gemt 30 min. indtil du bekræfter aftalen