x_flow_id = $("#pFlowId").val(); x_flow_step_id = $("#pFlowStepId").val(); x_session = $("#pInstance").val(); function GetBase() { var oBaseColl = document.getElementsByTagName("BASE"); return ( (oBaseColl && oBaseColl.length) ? oBaseColl[0].href : null ); } function fnpopURL(u) { ur=GetBase()+"SPEP.spep_istore_pkg.popurl?url="+escape(u)+"&X_SESSION_ID="+x_session; window.open(ur); } function openCatalog2016(p) { pp=p.split(":"); for(i=0;i=50) { o.style.height = "auto"; try { o.style.height=docht; o.style.width=docwt; } catch(e) { o.style.height=800; } } } else { o.style.width=curwt; } } catch(e) { window.status="error:"+e.description ; } if (!isIE) { window.setTimeout("c3ifrmsize(\"" + iframeName + "\")", 1500); } else if(o.readyState!="complete") { window.setTimeout("c3ifrmsize(\"" + iframeName + "\")", 1500); } } function istorefreezheader() { o = document.getElementById("c3istore"); //nt=o.contentWindow.document.getElementById("c3FreezeHeader"); nt=""; if (nt) { lf=0; tp=0; nr=nt.rows(0); cls=nt.className; ep=nr; while (ep.offsetParent) { lf=lf+ep.offsetParent.offsetLeft; tp=tp+ep.offsetParent.offsetTop; ep=ep.offsetParent; } // lf=+20; tp=+145; ntp=document.body.scrollTop-tp; if (ntp<=0) { divheader=o.contentWindow.document.getElementById("divheader"); if (divheader) { divheader.removeNode(true); } } else { divheader=o.contentWindow.document.getElementById("divheader"); if (!divheader) { divheader=o.contentWindow.document.createElement("DIV"); o.contentWindow.document.body.appendChild(divheader); divheader.id="divheader"; divheader.style.position="absolute"; divheader.innerHTML=""+nr.outerHTML+"
"; nnt=o.contentWindow.document.getElementById("hdrtbl"); nnr=nnt.rows(0); for (i=0;ipw) { $("#htmldbDialog").dialog({width:w}); } else if (w < 100) { $("#htmldbDialog").dialog({width:800}); } $("#htmldbDialog").dialog("option","position","center"); $("#htmldbDialog").dialog("option", "title", "Item Details"); }); } function redirect(u) { window.location="http://www.spep.com/istore/"+u; }