//Copyright Stellent Colorado Springs Inc. All rights reserved. function ERROR_VIEW_DETAILS() { document.all.ErrorDetails.style.visibility="visible"; document.all.ErrorDetails.style.display=""; } function ERROR_RECOVERY_ACTION(strNS, strCMD, strData) { var objACE = new AcordeClientEvent(strNS, strCMD); objACE.FireEvent(strData); } function AcordeInfrastructure_IsEnterForFormExecution(objEvent) { if(m_objAcordeInfrastructure_bAllowEnterToSubmitForm == true) { var boolEvent13 = false; var isNav = false; if(navigator.appName == "Netscape"){ isNav = true; } if (isNav) { if (objEvent.which == 13){ boolEvent13 = true; } } else { if (typeof(event) != 'undefined'){ if (event.keyCode == 13){ boolEvent13 = true; } } } if (boolEvent13) { return true; } } return false; } function _StellentContextMenuHandler(strCommand, strNameSpace) { alert(strNameSpace + "_" + strCommand); } function _StellentDisplayPopupMenu(strOnCommandFunctionName, x, y, strRootToolbarName, strDropDownDescription) { if(typeof(window.createPopup) != 'undefined') { _StellentDisplayPopup(strOnCommandFunctionName, x, y, strRootToolbarName, strDropDownDescription) } else { var arrTBDes = new String(strDropDownDescription); arrTBDes = arrTBDes.split(","); var strStripedTBD = ""; for(var tbs = 0; tbs < arrTBDes.length; tbs++) { var stringItem = new String(arrTBDes[tbs]); var arrItem = stringItem.split("[{"); strStripedTBD += arrItem[0] if(tbs < (arrTBDes.length-1)) { strStripedTBD += ","; } } if(typeof(document.applets['Acorde_DDM']) != "object") { alert("No dropdown menu applet is on this page."); return; } if(typeof(document.applets['Acorde_DDM'].ShowMenu) == "undefined") { alert("The dropdown menu applet on this page is invalid."); return; } document.applets['Acorde_DDM'].ShowMenu(strOnCommandFunctionName, x, y, strRootToolbarName, strStripedTBD); } } function _StellentDisplayPopup(strOnCommandFunctionName, x, y, strRootToolbarName, strDropDownDescription) { if(typeof(strDropDownDescription) != 'undefined') { if(typeof(window.createPopup) == 'undefined') { alert("In function _StellentDisplayPopup Browser does not support 'createPopup'"); return; } var objAI = getAcordeInfrastructure(); var bShowHKH = objAI.ShowHKH(); var strCSSSet = objAI.GetCSSSetDirectory(); var strCSSFile = objAI.GetDDMCSS(); var html=""; html+=''; html+='' html+='\n'; html+='window.onerror=null;\n'; html+='function _fireEvent(strCommand, strTBName)\n'; html+='{\n'; html+='document.StellentMain.'+strOnCommandFunctionName+'(strCommand, strTBName);\n'; html+='}\n'; html+='function _PrepareToClose(strCommand, strTBName)\n'; html+='{\n'; html+='if(typeof(document.StellentMain._ResetPop) != \'undefined\'){document.StellentMain._ResetPop();}\n'; html+='}\n'; html+='\n'; var stringMenu = new String(strDropDownDescription); var arrMenu = stringMenu.split(","); var nCount = arrMenu.length/3; var nLongestString = 0; for(var i = 0; i < nCount; i++) { if(arrMenu[3*i+1] != "-") { html+= ''; html+= ''; html+= '