﻿
var securePayMent = {
  init: function () {
    if (window.location.href.match('/shop/showbasket') || window.location.href.match('/shop/order') || window.location.href.match('pay.dandomain.dk')) {
      document.write("<style>.hideInSecureMode {display: none;}#basketPaySecure, #prMenuPaySecureBanners {display: block;}.ProductMenu_TD {background-image: none;padding-top:0px;}.ProductMenu_TD table {display:none;}<\/style>");
    }
  },
  styleFunction: function () {
    if (window.location.href.match('/shop/showbasket') || window.location.href.match('/shop/order') || window.location.href.match('pay.dandomain.dk')) {

    if(document.getElementById('basketCustomerLink')) {
      document.getElementById('basketCustomerLink').parentNode.innerHTML = document.getElementById('basketCustomerLink').innerHTML;
    }
    }
  }
}
securePayMent.init();



