function c3onload() {
}
function c3showsub(u) {
el=event.srcElement;
if (el.tagName!="TD") {
el=el.parentElement;
}
if (el.tagName!="TD") {
el=el.parentElement;
}
if (el.tagName!="TD") {
el=el.parentElement;
}
if (el.tagName!="TD") {
el=el.parentElement;
}
er = el.parentElement;
if (er.expanded&er.expanded=="Y") {
c3subcollapse(er.nextSibling);
}
et = er.parentElement.parentElement;
rn=er.rowIndex;
rn++;
nr=et.insertRow(rn);
nc=nr.insertCell();
nc.typ="subarea";
nc.colSpan=100;
ht=100;
wt=et.offsetWidth;
er.expanded="Y";
nc.innerHTML="Loading
 ";
}
function c3subcollapse(ep,rid) {
ep.previousSibling.expanded="N";
ep.removeNode(true);
}
function c3numberonly() {
kv=event.keyCode;
if ((kv>=48&kv<=57)||(kv>=96&kv<=105)||kv==190||kv==9||kv==8||kv==39||kv==37) {
} else {
event.returnValue=false;
}
}
function c3subchkstate(o,rid,t) {
if (o.readyState=="complete"){
o.previousSibling.previousSibling.innerHTML="<< Collapse";
try {
// if (o.style.height=="") {
o.setExpression("height","this.contentWindow.document.body.scrollHeight + (this.contentWindow.document.body.offsetHeight - this.contentWindow.document.body.clientHeight)");
o.setExpression("width","this.contentWindow.document.body.scrollWidth + (this.contentWindow.document.body.offsetWidth - this.contentWindow.document.body.clientWidth)");
// }
} catch(e) {
}
o.style.height=o.contentWindow.document.body.scrollHeight+20;
o.style.width=o.contentWindow.document.body.scrollWidth+20;
}
}
function c3HideDiv(d) {
nd=document.getElementById(d);
if (nd) {
nd.removeNode(true);
}
}
function c3NewDiv(d) {
c3HideDiv(d);
nd=document.createElement("div");
document.body.appendChild(nd);
nd.id=d;
nd.style.position="absolute";
nd.style.top=200;
nd.style.left=200;
nd.style.backgroundColor="ffffff";
nd.style.border="3px ridge dddddd";
return nd;
}
function c3reload() {
window.location.reload();
}
function c3getxml(v) {
nx=document.createElement("XML");
document.body.appendChild(nx);
nx.async=false;
nx.load("C3_HTMLDB_UTILS.GET_XML?val="+v);
v2=nx.selectSingleNode("ROWSET/ROW/VAL").text;
return(v2);
}
function c3getpage(u) {
el=event.srcElement;
if (el.tagName!="TD") {
el=el.parentElement;
}
if (el.tagName!="TD") {
el=el.parentElement;
}
if (el.tagName!="TD") {
el=el.parentElement;
}
if (el.tagName!="TD") {
el=el.parentElement;
}
er = el.parentElement;
if (er.expanded&er.expanded=="Y") {
c3subcollapse(er.nextSibling);
}
et = er.parentElement.parentElement;
rn=er.rowIndex;
rn++;
nr=et.insertRow(rn);
nc=nr.insertCell();
nc.typ="subarea";
nc.colSpan=100;
ht=100;
wt=et.offsetWidth;
er.expanded="Y";
// nd=document.createElement("DIV");
nc.id="i"+rn;
// nc.appendChild(nd);
// nd.innerHTML="test this";
// var get = new htmldb_Get(null,html_GetElement('pFlowId').value,null,21);
// gReturn = get.get("ReportDrop","","");
gReturn = html_PPR_Report_Page( nc,"BOX_BODY","f?p=118:27",null,null);
// alert(gReturn);
nc.innerHTML=gReturn;
get = null;
recs=document.scripts;
for (i=0;i