Welcome! I've had problems with <body onload=init()> using PHP and JS together: the init started well before the page was complete. I've moved the init() just before the </body> and it seems all is well. But I am not sure. Maybe the lack of Content-length field drives IE nuts? (According to my knowledge, Apache does not send a Content-length field with dyanmic files)