I'm using this at my satisfaction for a slide show page: maxHeight = (window.innerHeight ? window.innerHeight : document.body.offsetHeight); -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: piegeacon at internetique.com) Thanks.