/* FILE ARCHIVED ON 0:02:04 Oct 19, 2016 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 9:56:26 Sep 17, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ var needToConfirm = true; function doAlert(){ document.getElementById('appletForm:next').click(); } /* * This method is called at end of UmpApplet. Method name is no longer accuracte. */ function refreshPolling(){ var form = document.getElementById('pollForm'); TrPage.getInstance().sendPartialFormPost(form,{event:'poll', source:'pollid', partial:'true'},{}); //setTimeout("delayedGoNextCall()", 6000); } function delayedGoNextCall() { if (typeof doGoNext == 'function') { doGoNext(); } } function setProgress(msg, percent, showProgressCancelled) { if (isNaN(percent) || percent < 0.0) percent = 0; else if (percent < 1.0) percent = Math.round(percent * 100); else if (percent > 100.0) percent = 100; var obj = document.getElementById('progressMessage'); if (obj) obj.innerHTML = msg; obj = document.getElementById('percentlabel'); if (obj) obj.innerHTML = percent + '%'; obj = document.getElementById('totalprogress'); if (obj) obj.style.width = percent + '%'; if (showProgressCancelled) { obj = document.getElementById('progressCancelled'); if (obj) obj.style.display = "inherit"; obj = document.getElementById('progressErrorText'); if (obj) obj.value = msg; } } function disableButtons(){ var buttonTag = document.getElementsByTagName('button'); for(var i=0;i