function applyResizeScript(elem) { var toolTextresizeNormal = document.getElementById("Normal"); var toolTextresizeLarge = document.getElementById("Large"); var toolTextresizeExtralarge = document.getElementById("ExtraLarge"); if(elem.id =='Normal') { document.body.style.fontSize = "81.5%"; toolTextresizeNormal.style.backgroundPosition = "bottom"; toolTextresizeLarge.style.backgroundPosition = "top"; toolTextresizeExtralarge.style.backgroundPosition = "top"; } else if (elem.id == 'Large') { document.body.style.fontSize = "100%"; toolTextresizeNormal.style.backgroundPosition = "top"; toolTextresizeLarge.style.backgroundPosition = "bottom"; toolTextresizeExtralarge.style.backgroundPosition = "top"; } else if (elem.id == 'ExtraLarge') { document.body.style.fontSize = "112%"; toolTextresizeNormal.style.backgroundPosition = "top"; toolTextresizeLarge.style.backgroundPosition = "top"; toolTextresizeExtralarge.style.backgroundPosition = "bottom"; } } function hideErrorFields() { i = 0; a = document.getElementsByTagName("ul"); while (element = a[i++]) { if (element.className == "contentframework-required-description") { element.style.display = "none"; } } } /****************** * Display Help Overlay ******************/ function displayHelpOverlay(helpCntntId, anchorId){ var helpObj = document.getElementById(helpCntntId); if(helpObj.style.display =="none"){ helpObj.style.display = "block"; } else{helpObj.style.display = "none";} } function showPage(source) { open(source,'Help','width=480, height=320, scrollbars=yes, resizable=yes'); } function showHelp(URL) { help_window = window.open(URL,"helpwin","height=450,width=750,scrollbars,resizable"); help_window.focus(); } function openInSameWindow(URL) { help_window = window.open(URL, "_self"); help_window.focus(); } function disallowChar(e){ var key = (e.which) ? e.which : e.keyCode; //Numeric, Backspace, Tab, Escape, delete if ((key > 47 && key < 58) || key == 8 ||key == 9||key == 27 || key==46){ e.returnValue = true; } else{ if(window.event){ //alert("window event"); e.returnValue = false; } else{ e.preventDefault(); } } } //SCR 17010: Warning Message related to IE Browser Version Starts here function isValidIEVersion(){ if ((/MSIE (\d+\.\d+);/.test(navigator.userAgent)) || (/Trident.*rv[ :]*(\d+\.\d+)/.test(navigator.userAgent))){ var ieversion=new Number(RegExp.$1); return ieversion; } } //SCR 17010: Warning Message related to IE Browser Version Ends here