You might also wish to consider e.g. having some sort of output filter, or 'compling' done on the javascript to e.g. remove leading whitespace and comments - this again could reduce download time, without (hopefully) any risk of stuff breaking David. -- David Goodwin [ david at codepoets dot co dot uk ] [ http://www.codepoets.co.uk ]