in reply to Just the contents m'am

You'll probably want to change the first line to <script type="javascript">. Having the type set to "text/css" must work for whatever browser you use, but it doesn't work with Safari.