Remove Children with Javascript

Alright, don’t ask why, but I’ve got to do something very strange.

I need to remove all children of the body tag. I’m been trying for hours something like this:

for(i=0;i < document.childNodes[1].childNodes[1].length;i++) {
	document.childNodes[1].childNodes[1].removeChild*
}

But of course, that’s completely wrong. I admit, I’m trying to do a somewhat difficult project with little javascript knowledge, but I will continue to try.

Thanks,
Jeff (how I love when my messages fit exactly inside the box…)