function htmldb_Get(C,B,G,E,I,F,A){this.obj=$x(C);this.proc=(!!F)?F:"wwv_flow.show";this.flow=(!!B)?B:$v("pFlowId");this.request=(!!G)?G:"";this.page=(!!E)?E:"0";this.queryString=(!!A)?A:null;this.params="";this.response="";this.base=null;this.syncMode=false;this.addParam=htmldb_Get_addParam;this.add=htmldb_Get_addItem;this.getPartial=htmldb_Get_trimPartialPage;this.getFull=function(M){var K;var L;if(M){this.obj=$x(M)}if(this.obj){if(this.obj.nodeName=="INPUT"){this.obj.value=this.response}else{if(document.all){K=this.response;L=this.obj;setTimeout(function(){htmldb_get_WriteResult(L,K)},100)}else{$s(this.obj,this.response)}}}return this.response};this.get=function(P,L,K){var O;try{O=new XMLHttpRequest()}catch(N){O=new ActiveXObject("Msxml2.XMLHTTP")}try{var M=new Date();O.open("POST",this.base,this.syncMode);O.setRequestHeader("Content-Type","application/x-www-form-urlencoded");O.send(this.queryString==null?this.params:this.queryString);this.response=O.responseText;if(this.node){this.replaceNode(O.responseXML)}if(P==null||P=="PPR"){return this.getPartial(L,K)}if(P=="XML"){return O.responseXML}else{return this.getFull()}}catch(N){return }};this.url=htmldb_Get_getUrl;this.escape=htmldb_Get_escape;this.clear=htmldb_Get_clear;this.sync=htmldb_Get_sync;this.setNode=H;this.replaceNode=D;var J=(window.location.href.indexOf("?")>0)?window.location.href.substring(0,window.location.href.indexOf("?")):window.location.href;this.base=J.substring(0,J.lastIndexOf("/"));if(!!!this.proc){this.proc=J.substring(J.lastIndexOf("/")+1)}this.base=this.base+"/"+this.proc;if(I==null||I==""){this.instance=$v("pInstance")}else{this.instance=I}if(!A){this.addParam("p_request",this.request);this.addParam("p_instance",this.instance);this.addParam("p_flow_id",this.flow);this.addParam("p_flow_step_id",this.page)}function H(K){this.node=$x(K)}function D(L){var K=0;for(K=this.node.childNodes.length-1;K>=0;K--){this.node.removeChild(this.node.childNodes[K])}this.node.appendChild(L)}}function htmldb_Get_sync(A){this.syncMode=A}function htmldb_Get_clear(A){this.addParam("p_clear_cache",A)}function htmldb_Get_getUrl(){return this.queryString==null?this.base+"?"+this.params:this.queryString}function htmldb_Get_escape(A){A=A+"";A=A.replace(/\%/g,"%25");A=A.replace(/\+/g,"%2B");A=A.replace(/\ /g,"%20");A=A.replace(/\./g,"%2E");A=A.replace(/\*/g,"%2A");A=A.replace(/\?/g,"%3F");A=A.replace(/\\/g,"%5C");A=A.replace(/\//g,"%2F");A=A.replace(/\>/g,"%3E");A=A.replace(/\"}if(!D){D=""}var H=this.response.indexOf(E);var C;var A;var F;if(H>0){this.response=this.response.substring(H+E.length);var B=this.response.indexOf(D);this.response=this.response.substring(0,B)}if(this.obj){if(document.all){A=this.response;F=this.obj;setTimeout(function(){htmldb_get_WriteResult(F,A)},100)}else{$s(this.obj,this.response)}}return this.response}var gResult=null;var gNode=null;function htmldb_get_WriteResult(B,A){$s(B,A);return }function html_Doneprocessing(){}function html_processing(){}htmldb_Get.prototype.GetAsync=function(A){try{p=new XMLHttpRequest()}catch(C){p=new ActiveXObject("Msxml2.XMLHTTP")}try{var B=new Date();p.open("POST",this.base,true);if(p){p.onreadystatechange=A;p.setRequestHeader("Content-Type","application/x-www-form-urlencoded");p.send(this.queryString==null?this.params:this.queryString);return p}}catch(C){return false}};function htmldb_ExternalPost(F,B,E){var C="f?p="+$x("pFlowId").value+":"+$x("pFlowStepId").value+":"+$x("pInstance").value+":FLOW_FOP_OUTPUT_R"+B;document.body.innerHTML=document.body.innerHTML+'
';var D=$x("vXML");var A=new htmldb_Get(D,null,null,null,null,"f",C.substring(2));A.get();A=null;setTimeout('$x("xmlFormPost").submit()',10);return }function $xml_Control(B){this.xsl_string='