function isDateChanged(a,b){var c=!1;return newDateFieldText=jQuery(a).val(),newDateFieldText=jQuery.trim(newDateFieldText),b!=newDateFieldText&&(c=!0),c}function hideBubble(){for(var a=jQuery('div[id*="bubbleID_"]'),d=(new Array,0);d'+b+'')}}function sendAlert(){var a=document.getElementsByName("FORMSGROUP_ID__")[0].value;sendAlert(a)}function sendAlert(a){a||(a=document.getElementsByName("FORMSGROUP_ID__")[0].value);var b=document.getElementById(a+".OUTFORMAT").value;if(1==b||2==b||8==b){var c=getMessage("SaveAndOpen");c+=" \n",c+=getMessage("LogOutIfOpened"),alert(c)}}function enableCntrlDetails(){var a=document.getElementById("FORMSGROUP_ID__").value,b=document.getElementById(a+".CONTROL").value;"CBO"!=b&&"LKP"!=b?(document.getElementById(a+".CONTROL_DETAILS").value="",document.getElementById(a+".CONTROL_DETAILS").disabled=!0,document.getElementById(a+".ADDITIONAL_CONTROL_DETAILS").value=""):(document.getElementById(a+".CONTROL_DETAILS").disabled=!1,document.getElementById(a+".ADDITIONAL_CONTROL_DETAILS").value="",document.ReportsDesignFG.__EVENT_ID__.disabled=!1,document.ReportsDesignFG.__EVENT_ID__.value="LOAD_CONTROL_DETAILS",document.ReportsDesignFG.submit())}function getAdditionalControlDetails(){document.ReportsDesignFG.__EVENT_ID__.disabled=!1,document.ReportsDesignFG.__EVENT_ID__.value="LOAD_ADDITIONAL_CONTROL_DETAILS",document.ReportsDesignFG.submit()}function enableReportName(){var a=document.getElementById("FORMSGROUP_ID__").value,b=document.getElementById(a+".MANUAL_JRXML"),c=document.getElementById(a+".MANUAL_JSP");b.checked||c.checked?document.getElementById(a+".REPORT_NAME").disabled=!1:(document.getElementById(a+".REPORT_NAME").value="",document.getElementById(a+".REPORT_NAME").disabled=!0)}function getControlDetails(){var a=new Array,b=new Array,c=document.getElementById("FORMSGROUP_ID__").value,d=document.getElementById(c+".DISPLAY_SECTION").value,e=document.getElementById(c+".CONTROL");if(e.options.length>1)for(var f=0;f3600&&(b=parseInt(a/3600)),a>60&&(c=parseInt((a-3600*b)/60)),a=a-3600*b-60*c,b+" hrs: "+c+" mins"},this.start=function(){var a=Number(document.getElementById("sessionAlertTime").value),b=Number(document.getElementById("sessionTimeout").value);if(!(a<=0||a>=b)){d=b-a;var e,h=document.createElement("SPAN");if(h.innerHTML=""+m+"
",e=4==c?document.getElementById("PREVENT_SESSION_TIMEOUT__"):document.getElementById("lastLoginMessage_1"),null!=e){var i=e.parentNode;i.insertBefore(h,e)}f=setInterval("this.updateHeaderTime()",6e4),g=setInterval("this.showSessionExpiredPopup()",1e3)}},this.updateHeaderTime=function(){var a=Number(document.getElementById("sessionTimeout").value);a-=60;var b=document.getElementById("sessionExpiryTime");null!=b&&(b.childNodes[0].nodeValue=this.getSecondsLeft(a)),document.getElementById("sessionTimeout").value=a,0!=a&&a<60&&(clearInterval(f),mSec=1e3*a,f=setInterval("this.showExpiredPopup()",mSec)),0==a&&this.showExpiredPopup()},this.showExpiredPopup=function(){if(clearInterval(f),null!=e&&e.closed){var a=this.createSessionPopupDoc(),b="",a.write(b),a.close()}},this.showSessionExpiredPopup=function(){if(d--,0==d){clearInterval(g);var a=this.createSessionPopupDoc(),b="",a.write(b),a.close()}},this.createSessionPopupDoc=function(){e=window.open("","_blank","width=420,cellpadding=0,cellspacing=0,height=220,status=no,location=0,resizable=no,left=500,top=265,dependent=1,alwaysRaised=1,title=0");var c=e.document,d=document.getElementById("sessionImgPath").value,f=document.getElementById("sessionLoginURL").value,g="";return g+="",g+="Session Alert",g+="",g+="",g+="",g+="",g+="
\t",g+="
",g+="\t"+n+"",g+="
",g+="
",g+="",g+="",g+="",g+="",g+="",g+="",g+="",g+="",g+="",g+="",g+="",g+="
",g+="",g+="",g+="",g+="
"+j+""+k+"
"+l+"
",g+="




",g+="
",g+="
",g+="",g+="",c.write(g),c},start()}function goToLoginPage(a){window.open(a,"_self")}function resetSession(){document.getElementById("PREVENT_SESSION_TIMEOUT__").click()}function getResetButtons(a){"null"==a&&(a="");var b=feba.domManipulator.find(feba.domManipulator.getElement(document),':input[type*="Reset"][id*="'+a+'"]');return 0==b.length&&(b=feba.domManipulator.find(feba.domManipulator.getElement(document),':input[type*="reset"][id*="'+a+'"]')),b}function getFunctionCodeDetails(){document.AuthSchemeMaintenanceFG.__EVENT_ID__.disabled=!1,document.AuthSchemeMaintenanceFG.__EVENT_ID__.value="PREVENT_SESSION_TIMEOUT__",document.AuthSchemeMaintenanceFG.submit()}function getFunctCodeDetailsInqFG(){document.InquiryFWFG.__EVENT_ID__.disabled=!1,document.InquiryFWFG.__EVENT_ID__.value="PREVENT_SESSION_TIMEOUT__",document.InquiryFWFG.submit()}function getSpecifiedElements(a,b){var c=new Array;if(a)c=feba.domManipulator.find(feba.domManipulator.getElementById(a),b);else for(var d=feba.domManipulator.getElement(b),e=0;e';jQuery(h).append(j),jQuery(g).append(h)}}highlightErrorField(b)}function highlightErrorField(a){if("LABEL"===FEBAJSConfig.TYPESYSTEM_ERR_HIGHLIGHT){var b=document.getElementById(getLabelIDByFieldId(a));b.className+=" error_highlight"}else if("ROW"===FEBAJSConfig.TYPESYSTEM_ERR_HIGHLIGHT){var c=getParentByTagName(document.getElementById(a),"P");null==c||hasClass(c,"ERROR_ROW_BG")||(c.className+=" ERROR_ROW_BG")}}function highLightErrorRow(){for(var a=document.getElementsByTagName("input"),b=jQuery(".ERROR_ROW_HIGHLIGHT"),c=b.length,d=0;d'+jQuery(g).html()+"";jQuery(g).remove(),jQuery(f).append(h)}}for(var i=0;i0&&ROFDataCapture_onload(d[0].value),jQuery("#InputFormWithTab")&&(jQuery("#InputFormWithTab").removeClass("section_grayborder"),jQuery("#InputFormWithTab").addClass("section_grayborder1"),jQuery("#InputFormWithTabsAndCtrls").removeClass("section_grayborder"),jQuery("#InputFormWithTabsAndCtrls").addClass("section_grayborder1"))});