2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.width+this.x0)/r)),x=Math.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(this.pageSelector&&(1<x||1<u)){var E=this.createPageSelector(x,u);k.body.appendChild(E);if(mxClient.IS_IE&&null==k.documentMode||5==k.documentMode||8==k.documentMode||7==k.documentMode){E.style.position="absolute";var G=function(){E.style.top=(k.body.scrollTop||