Hi gang: Here's two examples: [1] http://www.webbytedd.com/cc/scale/index.php [2] http://www.webbytedd.com/cc/scale/index1.php Both are identical except [2] has a DOCTYPE. Why does giving this file a DOCTYPE prohibit javascript from running in some browsers? For example, both Safari and FF for the Mac this script fails, but in Opera for the Mac it works -- why? And more importantly, how can I fix it? Thanks and Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com