context:   _computeSize: function(content, id, width, height, margin) {    if (margin == null)      margin = 5;    var objBody = document.getElementsByTagName("body").item(0);  	var tmpObj = document.createElement("div");  	tmpObj.setAttribute('id', id);	  	if (height)  	  tmpObj.style.height = height + "px"    else      tmpObj.style.width = width + "px"    	tmpObj.style.position = 'absolute';  	tmpObj.style.top = '0';  	tmpObj.style.left = '0';    tmpObj.style.display = 'none';    tmpObj.innerHTML = content;  	objBody.insertBefore(tmpObj, objBody.firstChild);  	  	var size;  	if (height)  	  size = $(id).getDimensions().width + margin;    else      size = $(id).getDimensions().height + margin;  	objBody.removeChild(tmpObj);      	return size;  }	
meta: 2938	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2938/37f969c8a2514ac1a945d3e03299fb5ac19ed578/window.js/clean/virtuemart/js/windows/window.js