function testdriveCTA() { openCTA('/forms/testdrive'); } function brochureCTA() { openCTA('/forms/brochures'); } function dealerCTA() { openCTA('/forms/find-a-retailer'); } function financeCTA() { openCTA('http://calc.lexus.ru/'); } function backToSiteCTA() { openCTA('/', false); } function openCTA(url, redirect) { if (redirect) { window.location = url; } else { window.open(url); } } var styleEl = document.createElement('style'); styleEl.innerHTML = '#lcc-config-interior .lcc-contents { padding: 10px 0 30px 0 !important; }'; document.head.appendChild(styleEl);