Merged functionality to us javascript in the page link from the 1.4 branch.
Authored by: keess 2006-03-01
Parent: [r1518]
Child: [r1520]