rem: withWindow: function (win, func) { var self = MochiKit.DOM; var oldDoc = self._document; var oldWin = self._win; var rval; try { self._window = win; self._document = win.document; rval = func(); } catch (e) { self._window = oldWin; self._document = oldDoc; throw e; } self._window = oldWin; self._document = oldDoc; return rval; }, 
add: },withWindow:function(win,func){ var self=MochiKit.DOM; var _319=self._document; var _320=self._win; var rval; try{ self._window=win; self._document=win.document; rval=func(); } catch(e){ self._window=_320; self._document=_319; throw e; } self._window=_320; self._document=_319; return rval; },formContents:function(elem){ 
context:     withWindow: function (win, func) {        var self = MochiKit.DOM;        var oldDoc = self._document;        var oldWin = self._win;        var rval;        try {            self._window = win;            self._document = win.document;            rval = func();        } catch (e) {            self._window = oldWin;            self._document = oldDoc;            throw e;        }        self._window = oldWin;        self._document = oldDoc;        return rval;    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js