+ buttons.append(getTemplate("viewer.optionbar.button") //
+ .replace("${disabled}", disabledZoomReal) //
+ .replace("${class}", "zoomreal") //
+ .replace("${href}",
+ uri + "?optionName=zoom&optionValue=real") //
+ .replace("${value}", "1:1") //
+ );
+ buttons.append(getTemplate("viewer.optionbar.button") //
+ .replace("${disabled}", disabledZoomWidth) //
+ .replace("${class}", "zoomwidth") //
+ .replace("${href}",
+ uri + "?optionName=zoom&optionValue=width") //
+ .replace("${value}", "Width") //
+ );
+ buttons.append(getTemplate("viewer.optionbar.button") //
+ .replace("${disabled}", disabledZoomHeight) //
+ .replace("${class}", "zoomheight") //
+ .replace("${href}",
+ uri + "?optionName=zoom&optionValue=height") //
+ .replace("${value}", "Height") //
+ );