function dvtGetFlashXML(a){var b=AdfPage.PAGE.findComponent(a);null!=b&&(b=b.getPeer(),null!=b&&(b._isFlashContentPresent=!0));a=document.getElementById(a+"_xml").innerHTML;var b=a.indexOf("\x3c!--"),c=a.lastIndexOf("--\x3e");return a=a.substring(b+4,c)}function adf_dvt_fpGetLogLevel(){AdfDhtmlCommonFlashUtils.getLogLevel()}
function adf_dvt_fpRefresh(a){a=AdfPage.PAGE.findComponent(a);if(null!=a&&null!=a.getPeer()){var b={};b.event=AdfDvtImageViewEvent.DVT_CONTENT_FETCH_TYPE;a=new AdfDvtImageViewEvent(a,b);a.setPartial(!0);AdfPage.PAGE.queueEventToServer(a);this.bEventSent=!0}}function adf_dvt_fpPerfLogger(a){AdfDhtmlCommonFlashUtils.perfMessage(a)}function adf_dvt_fpLogger(a){AdfDhtmlCommonFlashUtils.logMessage(a)}
function adf_dvt_fpInitNotify(a){var b=AdfPage.PAGE.findComponent(a);b&&(b.getPeer()._reloadEventSent=!1);return dvtGetFlashXML(a)}function adf_dvt_fpRestoreTitle(a){AdfDhtmlCommonFlashUtils.restoreTitle(a)}function adf_dvt_fpUpdatePopupHelper(a){var b=a.split(",");a=b[1];var c=b[2],d=b[3],e=b[4],b=AdfPage.PAGE.findComponent(b[0]);null!=b&&(b=b.getPeer(),null!=b&&b.updatePopupBounds(a,c,d,e))}
function copySVG(a){for(var b=null,c=document.embeds,d=0;d<c.length;d++)try{if(c[d].getSVGDocument()==a){b=c[d];break}}catch(e){}b&&(a=b.id,c=a.indexOf(AdfDhtmlDvtImageViewPeer.EMBED_ID_EXTENSION),0<=c&&(a=a.substr(0,c)),AdfPage.PAGE.findComponent(a).getPeer().applySVG(b))}function bi_evalScripts(a,b,c){if(a)for(var d=0;d<a.length;d++){var e=c.getElementById(a[d]);if(e)for(var f=0;f<e.childNodes.length;f++){var g=e.childNodes.item(f);4==g.nodeType&&(b?b.eval(g.data):eval(g.data))}}}
function dvtDecodeSVGText(a){if(a){var b=/orabiscript/g;a=a.replace(b,"script");b=/]]&gt;/g;a=a.replace(b,"]]\x3e")}return a}function dvtGetSvg(a){var b=null;try{var b=document.getElementById(a+"_xml").innerHTML,c=b.indexOf("\x3c!--"),d=b.lastIndexOf("--\x3e"),b=b.substring(c+4,d)}catch(e){}return b=dvtDecodeSVGText(b)}
function biMzShowtip(a,b){document.__bitooltipTimerID&&clearTimeout(document.__bitooltipTimerID);var c=document.getElementById("__bimzTooltip");c||(c=document.createElement("div"),c.id="__bimzTooltip",c.className="OraBITooltipPopup",c.style.visibility="hidden",c.style.maxWidth="300px",document.body.appendChild(c));c.innerHTML="\x3cspan class\x3d'OraBITooltipText'\x3e"+b+"\x3c/span\x3e";var d=AdfPage.PAGE.getLocaleContext().isRightToLeft();a.pageX>document.body.clientWidth&&(c.style.width=c.clientWidth-
4+"px");c.style.left=!d&&document.body.clientWidth>a.pageX-window.pageXOffset+15+c.offsetWidth||d&&a.pageX-window.pageXOffset<c.offsetWidth?a.pageX+15+"px":a.pageX-c.offsetWidth+"px";c.style.top=a.pageY+5+"px";document.__bitooltipTimerID=setTimeout(function(){document.getElementById("__bimzTooltip").style.visibility="visible"},500)}
function biMzHidetip(){document.__bitooltipTimerID&&(clearTimeout(document.__bitooltipTimerID),document.__bitooltipTimerID=null);var a=document.getElementById("__bimzTooltip");a&&(a.style.visibility="hidden",a.style.width=null,a.style.left="0px",a.style.top="0px")}function bi_navOnChange(a,b,c,d){elem1=document.getElementById(b);elem2=document.getElementById(c);a.id==b?elem2.selectedIndex=elem1.selectedIndex:elem1.selectedIndex=elem2.selectedIndex}
function handleOperationChange(a,b,c,d,e,f,g,h,l,m,n,p,q){b=a.options[a.selectedIndex].value==b;c.swap=b;a=0;for(var r=!0,w=0;w<f.length;w++)if("9"!=f[w].charAt(0)||b)c.options[a++]=new Option(e[w],f[w],r,r),r=!1;if(b)for(e=0;e<h.length;e++)g&&g[e]&&0<g[e].length&&(c.options[a++]=new Option(g[e],h[e],!1,!1));setChoiceListLength(a,c);c.selectedIndex=0;handleSourceSelectionChange(c,d,l,m,n,h,p,f,q)}
function handleSourceSelectionChange(a,b,c,d,e,f,g,h,l){var m=a.selectedIndex,n=!0,p=0;if(0<a.options.length)if(a.swap)if(q=a.options[m].value,1==q.length)for(e=0;e<f.length;e++)0<l[e].length&&q!=f[e]&&(b.options[p++]=new Option(l[e],f[e],n,n),n=!1);else for(f=0;f<h.length;f++)h[f]!=q&&(b.options[p++]=new Option(g[f],h[f].substring(1),n,n),n=!1);else{g=!1;var q=a.options[m].value.substr(1);a=a.options[m].value.charAt(0);for(h=0;h<d.length;h++)q!=d[h].substr(1)?(g||(b.options[p++]=new Option(c[h],
d[h],n,n),n=!1),g=!1):g=!g;for(n=0;n<f.length;n++)a!=f[n]&&(b.options[p++]=new Option(e[n],f[n],!1,!1))}setChoiceListLength(p,b);b.selectedIndex=0}function setChoiceListLength(a,b){for(;a<b.options.length;)b.options[b.options.length-1]=null}function populateChoice(a,b,c,d){setChoiceListLength(b.length,a);for(var e=0,f=0;f<b.length;f++)d==c[f]&&(e=f),a.options[f]=new Option(b[f],c[f],!1,!1);a.options.selectedIndex=e}var netscapeResizeScripts;
function setNetscapeResizeHandler(){netscapeResizeScripts=[];window.onresize=handleNetscapeResize}function handleNetscapeResize(){for(var a=0;a<netscapeResizeScripts.length;a++)eval(netscapeResizeScripts[a])}
function _bi_LOVSelect(a,b,c,d){if(void 0!=c){for(var e=a.options.length,f=-1,g=0;g<e;g++)if(a.options[g].value==c){f=g;break}if(-1!=f)a.selectedIndex=f,a.BIpreviousIndex=f;else if(-1!=c.indexOf(";")){if(-1==a.options[d].value.indexOf(";"))for(g=e;g>d;g--)a.options[g]=new Option(a.options[g-1].text,a.options[g-1].value,!1,!1);a.options[d]=new Option(b,c,!0,!0);a.selectedIndex=d;a.BIpreviousIndex=d}else a.options[e]=new Option(a.options[e-1].text,a.options[e-1].value,!1,!1),a.options[e-1]=new Option(b,
c,!0,!0),a.selectedIndex=e-1,a.BIpreviousIndex=e-1}}function bi_getPivotLabelMargin(a,b){var c=0,d=0,e=0;do{var f=document.getElementById(a+d),d=d+1;void 0!=f?f.offsetWidth>c&&(c=f.offsetWidth):e=1}while(0==e);return c-document.getElementById(b).offsetWidth}function biAddOnLoadEventListener(a){window.addEventListener?window.addEventListener("load",a,!1):window.attachEvent&&window.attachEvent("onload",a)}
function biRemoveOnLoadEventListener(a){window.removeEventListener?window.removeEventListener("load",a,!1):window.detachEvent&&window.detachEvent("onload",a)};