rem: if(!elem||elem.parentNode===null||self.computedStyle(elem,"display")=="none"){ 
add: if(!elem){ 
context: },elementPosition:function(elem,_309){var self=MochiKit.DOM;elem=self.getElement(elem);if(!elem||elem.parentNode===null||self.computedStyle(elem,"display")=="none"){return undefined;}var c=new self.Coordinates(0,0);var box=null;var _312=null;var d=MochiKit.DOM._document;if(typeof (_309)!="undefined"){_309=arguments.callee(_309);if(_309){c.x-=(_309.x||0);c.y-=(_309.y||0);}}if(elem.getBoundingClientRect){box=elem.getBoundingClientRect();c.x+=box.left+(d.documentElement.scrollLeft||d.body.scrollLeft);c.y+=box.top+(d.documentElement.scrollTop||d.body.scrollTop);return c;}else{if(d.getBoxObjectFor){box=d.getBoxObjectFor(elem);c.x+=box.x;c.y+=box.y;}else{if(elem.offsetParent){c.x+=elem.offsetLeft;c.y+=elem.offsetTop;_312=elem.offsetParent;if(_312!=elem){while(_312){c.x+=_312.offsetLeft;c.y+=_312.offsetTop;_312=_312.offsetParent;}}var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("opera")!=-1||(ua.indexOf("safari")!=-1&&self.computedStyle(elem,"position")=="absolute")){c.y-=d.body.offsetTop;}}else{c.x+=elem.x||0;c.y+=elem.y||0;return c;}}}if(elem.parentNode){_312=elem.parentNode;}else{_312=null;}while(_312&&_312.tagName!="BODY"&&_312.tagName!="HTML"){c.x-=_312.scrollLeft;c.y-=_312.scrollTop;if(_312.parentNode){_312=_312.parentNode;}else{_312=null;}}return c;},setElementDimensions:function(elem,_314,_315){
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/8b42fb2ed090da7f1e336726dcb69d2649658e7c/MochiKit.js/clean/trunk/lib/MochiKit.js