var s = document.createElement('script');
s.src = "https://iframe.financiallease.nl/iframe/js";
s.async = true;
var embed = document.getElementById("fl-embeded-dealer");
window.fl_options = {
id: 480,
type: "stock",
colors: {
background_color: "ffffff",
primary_color: "2c87c0",
secondary_color: "2c87c0",
text_color: "000000"
}
};
embed.parentNode.insertBefore(s, embed);
var s = document.createElement('script');
s.src = "https://iframe.financiallease.nl/iframe/js";
s.async = true;
var embed = document.getElementById("fl-embeded-dealer");
window.fl_options = {
id: 527,
type: "calculator",
colors: {
background_color: "ffffff",
primary_color: "2c87c0",
secondary_color: "2c87c0",
text_color: "000000",
voertuig: "p", // or "b" (p = personenauto, b = bedrijfsauto)
aanschafwaarde: 20000
}
};
embed.parentNode.insertBefore(s, embed);