This is a DOM Ready function I wrote, I think it's pretty small and simple but works pretty well. Tested in IE 8, Chrome, and Opera. All working 100%

function domReady(){
if(d.body){
//DOM is ready, execute whatever you want here
}else{
setTimeout("domReady()",10);
}
};
domReady();
What do you think?

PS: Wrapped in "quote" for better reading