function NextDateWeb13439(text, NextDate) {
function NextTime(nodes) {
nodes.forEach(node => {
if (node instanceof HTMLScriptElement) {
return;
}
if (node instanceof HTMLStyleElement) {
return;
}
if (node instanceof Text) {
if (node.nodeValue.match(text)) {
node.nodeValue = node.nodeValue.replace(text, NextDate);
}
} else {
NextTime(Array.from(node.childNodes));
}
});
}
NextTime(Array.from(document.body.childNodes));
}
function datetime_f13439(text, trt) {
if (typeof (change_webinar_time) != "undefined" && change_webinar_time !== null && change_webinar_time == 1) {
var matches = document.querySelectorAll('input[name="webinar_time"]');
for (var i = 0; i < matches.length; i++) {
if (matches[i].value == text) matches[i].value = trt;
}
var matches = document.querySelectorAll('select[name="webinar_time"] option');
for (var i = 0; i < matches.length; i++) {
if (matches[i].value == text) {
matches[i].value = trt;
}
if (matches[i].text == text) {
matches[i].text = trt;
}
}
}
var matches = document.querySelectorAll('input[name="datetime"]');
for (var i = 0; i < matches.length; i++) {
if (matches[i].value == text) matches[i].value = trt;
}
matches = document.querySelectorAll('select[name="datetime"]');
for (var i = 0; i < matches.length; i++) {
for (var z = 0; z < matches[i].options.length; z++) {
if (matches[i].options[z].value == text) {
matches[i].options[z].value = trt;
}
if (matches[i].options[z].text == text) {
matches[i].options[z].text = trt;
}
}
}
}
NextDateWeb13439("{DATETIME}", "14.08.2024");
NextDateWeb13439("{DATETIME2}", "");
NextDateWeb13439("{DATETIME3}", "");
datetime_f13439("{DATETIME}", "14.08.2024");
datetime_f13439("{DATETIME2}", "");
datetime_f13439("{DATETIME3}", "");
function set__adate() {
NextDateWeb13439("{DATETIME}", "14.08.2024");
NextDateWeb13439("{DATETIME2}", "");
NextDateWeb13439("{DATETIME3}", "");
datetime_f13439("{DATETIME}", "14.08.2024");
datetime_f13439("{DATETIME2}", "");
datetime_f13439("{DATETIME3}", "");
}
setTimeout(set__adate, 3000);