function resizeMe(obj){
	obj.style.height = '500px';
	docHeight = mainframe.document.body.scrollHeight;
	obj.style.height = docHeight + 15 + 'px';
}