i had this stack overflow error without any indication of a line number or whatever in ie. i found this website through altavista when looking on the subject and found messages indicating it should be caused by arrays > 99.<br><br>However i found that in my case the error was caused by images that were preloaded and later on called from another frame while a new frameset was build. If the images were loaded too late it caused the stack overflow ( no images could be exchanged).<br><br>i currently have build a timout:<br><br>function whatever() {<br>if (document.image.whatimage) {<br> // it exists<br>} else {<br> setTimeout("whatever()",500)<br>} <br>}<br><br>to wait for the images to be loaded, somehow this<br>doesnt work, i guess timeout starts a seperate thread<br>or something ? The images still on intermediate basis<br>do not exist.<br>any way to be absolutely sure the image has loaded ?<br><br><br><br><br>