rem: var area = digilib.trafo.invtransform(clickRect); digilib.setParamFromArea(area); 
add: var area = _this.trafo.invtransform(clickRect); _this.setParamFromArea(area); 
context:     function zoomEnd(evt) {        pt2 = evtPosition(evt);        // assume a click if the area is too small (up to 3 x 3 pixel)        var clickRect = new Rectangle(pt1, pt2);        clickRect.normalize();        if (clickRect.getArea() <= this.MIN_AREA_SIZE) return stopEvent(evt);         // hide zoom div        showElement(zoomdiv, false);        showElement(overlay, false);        // unregister events        unregisterEvent("mousemove", document, zoomMove);        unregisterEvent("mouseup", document, zoomMove);        // clip and transform        clickRect.clipTo(picRect);        var area = digilib.trafo.invtransform(clickRect);        digilib.setParamFromArea(area);        // zoomed is always fit        digilib.params.set("ws", 1);        digilib.display();        return stopEvent(evt);    }
meta: 7747	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7747/f14ff3764f1dfd4451016c594c8e1cad5907de5a/dllib.js/buggy/client/digitallibrary/greyskin/dllib.js