function enableButtons(iButtons) { try {if ((iButtons&cBtn_Prev)==cBtn_Prev) document.getElementById("wiz_btnPrev").disabled=false;} catch (e) {} try {if ((iButtons&cBtn_Next)==cBtn_Next) document.getElementById("wiz_btnNext").disabled=false;} catch (e) {} try {if ((iButtons&cBtn_Cancel)==cBtn_Cancel) document.getElementById("wiz_btnCancel").disabled=false;} catch (e) {} try {if ((iButtons&cBtn_Finish)==cBtn_Finish) document.getElementById("wiz_btnFinish").disabled=false;} catch (e) {} try {if ((iButtons&cBtn_Custom1)==cBtn_Custom1) document.getElementById("wiz_btnCustom1").disabled=false;} catch (e) {} try {if ((iButtons&cBtn_Custom2)==cBtn_Custom2) document.getElementById("wiz_btnCustom2").disabled=false;} catch (e) {} } function disableButtons(iButtons) { try {if ((iButtons&cBtn_Prev)==cBtn_Prev) document.getElementById("wiz_btnPrev").disabled=true;} catch (e) {} try {if ((iButtons&cBtn_Next)==cBtn_Next) document.getElementById("wiz_btnNext").disabled=true;} catch (e) {} try {if ((iButtons&cBtn_Cancel)==cBtn_Cancel) document.getElementById("wiz_btnCancel").disabled=true;} catch (e) {} try {if ((iButtons&cBtn_Finish)==cBtn_Finish) document.getElementById("wiz_btnFinish").disabled=true;} catch (e) {} try {if ((iButtons&cBtn_Custom1)==cBtn_Custom1) document.getElementById("wiz_btnCustom1").disabled=true;} catch (e) {} try {if ((iButtons&cBtn_Custom2)==cBtn_Custom2) document.getElementById("wiz_btnCustom2").disabled=true;} catch (e) {} } function focusButton(iButton) { if (iButton==cBtn_Prev) sName = "wiz_btnPrev"; else if (iButton==cBtn_Next) sName = "wiz_btnNext"; else if (iButton==cBtn_Cancel) sName = "wiz_btnCancel"; else if (iButton==cBtn_Finish) sName = "wiz_btnFinish"; else if (iButton==cBtn_Custom1) sName = "wiz_btnCustom1"; else if (iButton==cBtn_Custom2) sName = "wiz_btnCustom2"; else return false; try { document.getElementById(sName).focus(); } catch (e) {} } function getWizNextIndex(sFromName) { return document.forms[sFromName].elements["iNextIndex"].value; } function setWizNextIndex(sFormName,iIndex) { document.forms[sFromName].elements["iNextIndex"].value = iIndex; } function setWizPrevIndex(sFormName,iIndex) { document.forms[sFromName].elements["iPrevIndex"].value = iIndex; }