> document.layers[the_div].document.images[which] You can cross-check your source code against the example at <http://www.mark.ac/help/typeof.html>, which works. Regards Mark Howells <http://www.mark.ac/evl>