zul.wnd.Messagebox={onBind:function(a,b){var d=a.$o(),c=d.$n();a=a.$n().parentElement;var e=c.offsetWidth;b&&(c.style.width=jq.px0(Math.min(zk.parseInt(b),jq.innerWidth()-20)),a.style.width=jq.px0(zk.parseInt(b)-(e-a.offsetWidth)));zk(c).center();b=zk.parseInt(c.style.top);(a=jq.innerY())?(a=b-a,100<a&&(c.style.top=jq.px0(b-(a-100)))):100<b&&(c.style.top="100px");d.onSize()}};
