FormProcessing = false;function SetHidden(name){if (FormProcessing) return false;FormProcessing = true;var f1 = document.getElementById(name + "1");var f2 = document.getElementById(name + "2");var f = document.getElementById(name);if (f1 != null){f1.style.visibility = "hidden";f1.style.display = "none";document.getElementById(name + "_HIDDEN1").style.display = "block";document.getElementById(name + "_HIDDEN1").style.visibility = "visible";} if (f2 != null){f2.style.visibility = "hidden";f2.style.display = "none";document.getElementById(name + "_HIDDEN2").style.display = "block";document.getElementById(name + "_HIDDEN2").style.visibility = "visible";} if (f != null){f.style.visibility = "hidden";f.style.display = "none";document.getElementById(name + "_HIDDEN").style.display = "block";document.getElementById(name + "_HIDDEN").style.visibility = "visible";} return true;} function ShowTopLayer(){var IEVersion;if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) IEVersion = new Number(RegExp.$1);if (document.all && (IEVersion < 7)) var d = document.createElement("iframe");else var d = document.createElement("div");if (d.style.setAttribute) d.style.setAttribute("filter", "alpha(opacity=30);");else d.style.opacity = 0.3;d.style.backgroundColor = "#000";var width;var height;if (document.all){if (document.compatMode && document.compatMode != "BackCompat"){width = document.documentElement.scrollWidth;height = document.documentElement.scrollHeight;} else if (document.body && typeof document.body.scrollWidth != "undefined"){width = document.body.scrollWidth;height = document.body.scrollHeight;} else if (typeof document.width != "undefined"){width = document.width;height = document.height;} } else{width = "100%";height = "100%";} if (document.all) d.style.position = "absolute";else d.style.position = "fixed";d.style.border = "0pt none";d.style.margin = "0pt";d.style.padding = "0pt";d.style.backgroundImage = "url('https://app.eventize.com.br/template/new/images/loading_bkg_black.gif')";d.style.backgroundRepeat = "no-repeat";d.style.backgroundPosition = "center center";d.style.left = "0px";d.style.top = "0px";d.style.width = width;d.style.height = height;d.style.zIndex = "99999";d.style.display = "none";document.body.appendChild(d);d.style.display = "";document.topLayer = d;return d;} function HideTopLayer(_Div){if (_Div) document.body.removeChild(_Div);else{if (document.topLayer) document.body.removeChild(document.topLayer);} }