try{var gReturn="F4000_P4017_SOURCE_CHART";function ChartSqlReturn(A){$v_PopupReturn("P4000_CHART_SQL",gReturn);window.close()}var gTestArray;var gTestId;var gReSequence=false;var gReSequenceBy=10;var gId=false;var gReorder;function rAlign(C){var A;var B=C.split("-");switch(B[0]){case"CENTER":A="text-align:center;";break;case"RIGHT":A="text-align:right;";break;case"LEFT":A="text-align:left;";break;default:A=" ";break}if(B[1]){switch(B[1]){case"BOTTOM":A+="vertical-align:bottom;";break;case"CENTER":A+="vertical-align:middle;";break;case"TOP":A+="vertical-align:top;";break;default:A+=" ";break}}return A}function rpreview(H){var K=$x("pview");var A=$x(H);A=(A)?A:$x(g_rpreview_global);if(!K){return false}var B=getElementsByClass("orderby",A,"INPUT");K.innerHTML="";var L=$x_AddTag(K,"TABLE");L.className="itemlayout";lLastRow=false;lLastCell=false;for(var C=1;C"}lLastCell=$tr_AddTD(lLastRow,I);lLastCell.setAttribute("style",rAlign(E));if(G=="HIDDEN"){lLastCell.setAttribute("style","font-weight:normal;background-color:#FFF;")}if(F=="YES"&&E!="ABOVE"&&E!="BELOW"){lLastCell=$tr_AddTD(lLastRow,J);lLastCell.className="itemlayout";if(G=="TEXTAREA"){lLastCell.setAttribute("style","height:75px;")}if(G=="HIDDEN"){lLastCell.setAttribute("style","font-weight:normal;background-color:#FFF;")}lLastCell.colSpan=M[1].value}else{if(E=="ABOVE"){lLastCell.innerHTML+="
"+J}else{if(E=="BELOW"){lLastCell.innerHTML=J+"
"+lLastCell.innerHTML}else{lLastCell.innerHTML+=J}}if(G=="TEXTAREA"){lLastCell.setAttribute("style","height:75px;")}lLastCell.colSpan=M[1].value}}}if(document.all){K.innerHTML=K.innerHTML}}function a4000pg749_init(){rpreview()}function callConditionsPopup(A,C){var B="f?p=4000:271:"+C+":::271:PASSBACK:"+A.name;html_PopUp(B,null,null,null)}function callPageTemplatePopup(C,E,B,A){var D="f?p=4000:74:"+E+":::74:F4000_P74_PASSBACK,F4000_P74_FLOW_ID,F4000_P74_PAGE_ID:"+C.name+","+B+","+A;html_PopUp(D,null,null,null)}var gThis=false;var lEl=false;var lH=false;var gFARButtonListCurrent="htmldbButtonListCurrent";var gFARButtonList="htmldbButtonList2";var gFARCookieName="ORA_WWV_ATTRIBUTE_PAGE";function uR(){if(gThis){gThis.className="htmldbButtonList";if(gThis==$x("ALL")){gThis=$x("ALL")}}}function filterAttributeRegions(G,B){var F=($x("BB"))?$x("BB"):$x("ContentArea");F=(!F)?$x("ContentBody"):F;try{var E=B.substr(1);if(E=="ALL"||E=="DEFAULTALL"){G.className=gFARButtonListCurrent;if(E!="DEFAULTALL"){SetCookie(gFARCookieName,$x("pFlowStepId").value+","+B)}uF();$x_Show(["BB","ContentArea","ContentBody"])}else{if($x("ALL")){$x("ALL").className=gFARButtonList}uR();G.className=gFARButtonListCurrent;gThis=G;lH=$x_ByClass("T",F,"TH");for(var A=0;A