function removeChildren(obj) {
	while(obj.firstChild != null)
		obj.removeChild(obj.firstChild);
}