Javascript illegally re-ordered

Amaya 1.4a moved a javascript call from the end of the body to the 
start of the head in the structure view and in saved HTML.  The 
function call in question calls code in the header which references 
objects in the body and would therefore fail.

After Amaya:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
   "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<script type="text/javascript" language="JavaScript">
   setup_validation();
</script>
<link rev="made" href="mailto:djw@bts.co.uk">
<link rel="stylesheet" href="/wds/styles.css">
<title>BTS wXm Multiple Lines Maintenance</title>
<script type="text/javascript">
<!--


Before Amaya:


</table>
</form>
<script type="text/javascript" language="JavaScript">
   setup_validation();
</script>
</body>
</html>

1.4a Win32


-- 
David Woolley - Office: David Woolley <djw@bts.co.uk>
BTS             Home: <david@djwhome.demon.co.uk>
Wallington      TQ 2887 6421
England         51  21' 44" N,  00  09' 01" W (WGS 84)

Received on Tuesday, 19 January 1999 16:32:55 UTC