A_h.la=":";A_h.prototype.L=function(a){a||(a=this.getComponent());a=a.getProperty("clientImageFormat");return"ATTACHMENT"==a?A_x.Bz()?"HTML5":"ATTACHMENT":a};A_h.Jt=function(a){if(a=AdfAgent.AGENT.getElementById(a)){var b=a.innerHTML,c=b.indexOf("\x3c!--"),d=b.lastIndexOf("--\x3e");0<=c&&d>c&&(b=b.substring(c+4,d));a.innerHTML=b}};A_=A_h.prototype;A_.uo=function(a){a=AdfRichUIPeer.CreateSubId(a.getClientId(),"getflashplayer");(a=AdfAgent.AGENT.getElementById(a))&&(a.style.display="block")};
A_.Dy=function(a){if(A_x.il()){var b=a.getClientId(),b=AdfRichUIPeer.CreateSubId(b,"flashplayer");A_h.Jt(b,a)}else this.uo(a)};A_.ti=function(a){a=a.getClientId();a=AdfRichUIPeer.CreateSubId(a,"flashplayer");var b=AdfAgent.AGENT.getElementById(a).innerHTML;a=b.indexOf("\x3c!--");b=b.lastIndexOf("--\x3e");return-1<a&&-1<b?!1:!0};A_.Da=function(a){return(a=a.getProperty("clientImageFormat"))&&"FLASH"==a?!0:!1};
A_.oa=function(a){null==a&&(a=this.getComponent());var b=A_h.Si(a.getClientId());(b=-1!=navigator.appName.indexOf("Microsoft")?window[b]?window[b]:document[b]:document[b])&&!b.loadXML&&0==this.Oh&&1!=this.dr&&(a=new A_Ab(a),a.setPartial(!0),AdfPage.PAGE.queueEventToServer(a),this.Oh=!0);return b};A_.gb=function(a){return this.oa(a)};A_h.Si=function(a){a=A_h.replaceString(a+"_swf",A_h.la,"_");return a=A_h.replaceString(a,AdfRichUIPeer.CreateSubId("",""),"_")};
A_h.replaceString=function(a,b,c){a=new String(a);return a=a.replace(new RegExp(b,"g"),c)};
A_h.prototype.Nl=function(a){var b=a.getClientId();a=AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(b,"mainDiv"));var c=AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(b,"img")),d=Number(a.getAttribute("_urisize")),e=a.firstChild.innerHTML,f=e.indexOf("\x3c!--"),g=e.lastIndexOf("--\x3e"),e=e.substring(f+4,g);if(A_x.Az(d))c.src=e;else{e=A_x.uN(e);e=e.replace(/\+/g,"~;");d=a.getAttribute("_servlet");c.style.display="none";var h=b+"_"+Math.floor(1E6*Math.random()),c=document,f=c.createElement("iframe");
f.name="attachmentUri\x3d"+e+"\x26id\x3d"+h;c.body.appendChild(f);f.width=1;f.height=1;f.style.visibility="hidden";f.src=d+"?attachmentServlet\x3dtrue\x26retry\x3d"+Math.floor(1E4*Math.random());this.iw=0;window.setTimeout(function(){A_h.JG(b,h)},200)}a.style.display="inline"};
A_h.JG=function(a,b){var c=AdfPage.PAGE.findComponent(a);if(c){var d=AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(a,"mainDiv")),e=c.getPeer();if(15<e.iw)e=d.getAttribute("_errorMessage"),d.innerHTML=e;else{var d=d.getAttribute("_servlet"),d=d+("?id\x3d"+b+"\x26timestamp\x3d"+(new Date).getTime()),f=AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(a,"img"));f.src=d;f.onerror=function(){window.setTimeout("AdfDhtmlTimelineOverviewPeer._displayImageFromAttachmentServlet('"+c.getClientId()+
"','"+b+"')",300)};f.style.display="inline";e.iw++}}};