function callSearchFromPortal(a){ChangeHiddenFields("QueryString",a);ChangeHiddenFields("LastSearchString",a);ChangeHiddenFields("ViewPart","1");ChangeHiddenFields("ListViewService","DKI3WebSearchV1");document.forms["Form-A1"].submit()}var xDKISAPTop=null;function xDKIgetSAPTop(){if(xDKISAPTop!=null)return xDKISAPTop;var a=top,b=window;try{for(;b!=top&&b.parent!=null;){try{if(b.parent.EPCM!=null)a=b.parent}catch(c){}b=b.parent}}catch(d){}return xDKISAPTop=a}
function adjustHeightInPNF(a){var b,c=document.getElementById("xDKIMainTable");if(!a||parseInt(a)==NaN)a=0;try{b=parseInt(c.scrollHeight+a+20)}catch(d){b=parseInt(document.body.scrollHeight+a)}document.getElementById("ProductFotoDiv")&&(a=parseInt(document.getElementById("ProductFotoDiv").style.top),c=parseInt(document.getElementById("ProductFotoDiv").scrollHeight),b<a+c+10&&(b=a+c+10));window.frameElement.style.height=b+20+"px"}
function adjustHeightinPortal(a){pnf=="true"?adjustHeightInPNF(a):EPCMPROXY.raiseEvent("com.festo.portal.sap55.y.ep.fr","adjustHeightInPortal")}try{parent!=void 0&&parent.EPCM!=void 0&&parent.EPCM.subscribeEvent!=void 0&&parent.EPCM.subscribeEvent("com.festo.portal.sap55.y.ep.fr","adjustHeightInPortal",xDKIadjustHeightInPortal)}catch(ex){}
function xDKIadjustHeightInPortal(){try{var a=parent.document.getElementById("isolatedWorkArea");if(a){a.setAttribute("scrolling","no");document.body.scroll="no";document.body.style.overflow="hidden";var b=a.contentWindow.document.body.scrollHeight;if(document.getElementById("ProductFoto")){var c=parseInt(document.getElementById("ProductFoto").style.top),d=parseInt(document.getElementById("ProductFoto").scrollHeight);b<c+d+10&&(b=c+d+10)}a.setAttribute("fullPage","false");a.setAttribute("height",
b);a.setAttribute("minAutoHeight","0");a.setAttribute("maxAutoHeight","10000");parent.pageSupport.adjustHeight(a,b)}}catch(e){}try{globalSearchElement(xDKIgetSAPTop(),"xDKIHiddenIView").xDKIPortalRemoveWaitMessage(),setServiceState(document.getElementById("ServiceState").value)}catch(f){}};

