feba.js.common={displayWarning:"Y",focus:function(e){var t=document.getElementById(e);if(t)try{t.focus()}catch(n){}},checkJS:function(e){document.getElementById(e).value="Y"},selectAll:function(e,t,n,o){var l=(document.getElementById(t),o);n--;for(var a=0;l>a&&null!=document.getElementById(e+"["+n+"]");a++)document.getElementById(e).checked?document.getElementById(e+"["+n+"]").checked=!0:document.getElementById(e+"["+n+"]").checked=!1,n++},checkSelectAll:function(e,t,n,o){var l=n;o--;var a=!0;if(t--,document.getElementById(e+"["+t+"]").checked){for(var d=o;l>d&&null!=document.getElementById(e+"["+d+"]");d++)if(!document.getElementById(e+"["+d+"]").checked){a=!1;break}}else document.getElementById(e).checked=!1,a=!1;a?document.getElementById(e).checked=!0:document.getElementById(e).checked=!1},checkGrouplets:function(){0===feba.js.ajax.groupletCounter&&"Y"===feba.js.common.displayWarning&&LIB.__HANDLE_ERROR__(null,'
",null,null,"true",!1,null)},blockOnHyperlinkClicks:function(e){Constants.YES===CONFIG.blockOnHyperLinkClicksRequired&&feba.domManipulator.getElement('a[data-dontBlockUI!="true"]').click(function(){var t=feba.domManipulator.getAttribute(this,Constants.HREF),n=feba.domManipulator.getAttribute(this,Constants.TARGET);if(isPageRefreshLink(t)&&-1==n.indexOf("new")){var o=feba.domManipulator.getAttribute(this,Constants.DOWNLOAD_LINK);feba.domManipulator.getElement("body");o===Constants.TRUE?feba.domManipulator.blockUI({message:feba.domManipulator.getElementById(e),baseZ:9999,allowBodyStretch:!1,timeout:5e3}):feba.domManipulator.blockUI({message:feba.domManipulator.getElementById(e),allowBodyStretch:!1,baseZ:9999})}})},blockOnButtonClicks:function(e){Constants.YES===CONFIG.blockOnButtonClicksRequired&&feba.domManipulator.getElement(':submit[data-dontBlockUI!="true"]').click(function(){var t=feba.domManipulator.getAttribute(this,Constants.DOWNLOAD_BUTTON);t===Constants.TRUE?feba.domManipulator.blockUI({message:feba.domManipulator.getElementById(e),baseZ:9999,allowBodyStretch:!1,timeout:5e3}):feba.domManipulator.blockUI({message:feba.domManipulator.getElementById(e),allowBodyStretch:!1,baseZ:9999})})},runPageCustomFunction:function(e){"function"==typeof feba.js.custom[e]&&feba.js.custom[e]()},clear:function(e,t,n){var o=n.split(";"),l=o.length;for(i=0;i