const TOKEN = '2162b762-7340-4658-909c-cee1ce234b6c';
const ACTION = `onClick=window.open("https://app.clicklease.com/inlineapp?token=${TOKEN}");`;
window.onload = () => {
start();
}
function start() {
var location = '';
var style = '';
if (!window.location.href.includes('/products.') && !window.location.href.includes('/about.') && !window.location.href.includes('/contact.')) {
if (!document.querySelector('.click-lease')) {
style = 'width: 25%;margin-left: 38%;margin-bottom: 2%;margin-top: 2%;cursor: pointer;';
location = document.querySelector('.global-region.center');
render(location, style);
}
}
}
function render(location, style) {
var divContainer = document.createElement('div');
divContainer.setAttribute('class', 'click-lease');
divContainer.setAttribute('style', style);
location.insertBefore(divContainer, location.childNodes[0]);
divContainer.innerHTML = svg;
}
const svg = ``;