Aha! change your script tag to: <script language="JavaScript" type="text/javascript"> This will fix it (I copied your script and tested to be sure). Teresa