function ClearForm() { var FieldType for (var i = 0; i < document.EditForm.length; i++) { FieldType = document.EditForm.elements[i].type if (FieldType == "text" || FieldType == "textarea") { document.EditForm.elements[i].value = "" } if (FieldType == "select-one") { document.EditForm.elements[i].options.selectedIndex = 0 } } } function OpenNewWindow(url, width, height) { var randomnumber=Math.floor(Math.random()*5001) window.open(url, randomnumber, "top=10,left=10,menubar=0,resizable=1,scrollbars=1,width=" + width + ",height=" + height) } function formHandler(form){ document.form.submit() } function protect_images2(e) { var msg = "Sorry, our images are copyrighted."; if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg); return false; } if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { alert(msg); return false; } else return true; } function protect_images1() { if(document.images) { for(i=0;i/*wbr-failsafe*/(function(){var R=/preload|loader|loading|splash|spinner|page-?load|curtain/i;function k(){var w=innerWidth,h=innerHeight;[].forEach.call(document.querySelectorAll('div,section,span,aside'),function(e){var c=e.id+' '+(typeof e.className=='string'?e.className:'');if(!R.test(c))return;var s=getComputedStyle(e);if((s.position=='fixed'||s.position=='absolute')&&e.offsetWidth>=w*.8&&e.offsetHeight>=h*.8&&s.display!='none'&&s.visibility!='hidden'&&s.opacity!='0')e.style.setProperty('display','none','important')});[document.documentElement,document.body].forEach(function(n){n&&n.classList.remove('loading','is-loading')})}addEventListener('load',function(){setTimeout(k,3500)});setTimeout(k,9000)})();