";
inHTML+= "
'; //toolbar
inHTML+= "
"
inHTML+= mhtml;
inHTML+= '
';//pagecontainer
inHTML+= '
';//report
//this.document.body.innerHTML = mhtml;
inHTML = Strtran(inHTML, "[smrname]", this.name);
inHTML = Strtran(inHTML, "[nmax]",'[ ' + ((this.isPreview && this.isEoPreview()) ? this.gwork.rpagecounter : this.gwork.pagecounter ) + ' pages ]');
this.document.body.innerHTML = inHTML;
document.getElementById(this.container.id+"ifrprev").height = "100%";
document.getElementById(this.container.id+"ifrprev").frameborder = 0;
document.getElementById(this.container.id+"ifrprev").style.border = 0;
document.getElementById(this.container.id+"ifrprev").allowTransparency = true;
document.getElementById(this.container.id+"ifrprev").style.backgroundColor = "rgb(82,86,89)";
this.parent.style.border = 0;
this.parent.style.margin = 0;
this.parent.style.overflow = "hidden";
}
else{
if(Empty(this.container.style.backgroundColor))
this.container.style.backgroundColor = "rgb(82,86,89)";
}
}
this.end = true;
this.removeCanvasImages();
var ifr = document.getElementById(this.container.id+"ifrprev");
if (ifr) {
ifr.onload = function () {
// tutela nel caso l'iframe non si sia ancora caricato
this.contentWindow.document.head.innerHTML = stylehead;
this.contentWindow.document.body.innerHTML = inHTML;
}
}
this.execFncCallback();
};
RepDocumentHtml.prototype.removeLastLabelContinue = function(){
var toremove = [];
var i;
var lblco = this.document.getElementsByClassName("labelcontinue_gf");
for(i=0; i