rem: p = Position.cumulativeOffset($(id)); 
add: p = Position.cumulativeOffset(element); 
context: 	setContent: function(id, autoresize, autoposition) {		var d = null;		var p = null;		if (autoresize) 			d = Element.getDimensions(id);		if (autoposition) 			p = Position.cumulativeOffset($(id));		var content = this.getContent()		content.appendChild($(id));		$(id).show();		if (autoresize) 			this.setSize(d.width, d.height);		if (autoposition) 		  this.setLocation(p[1] - this.heightN, p[0] - this.widthW);	  	},
meta: 2938	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2938/37f969c8a2514ac1a945d3e03299fb5ac19ed578/window.js/clean/virtuemart/js/windows/window.js