This script works perfectly for me on internet explorer, it is suppose to change the picture and the links location every time you put your mouse over it. (i want to make a dial) When I use this in netscape it tells me that the dlink and dialpic are not valid objects or something. Please help me:


<script language="JavaScript">

var a = 1;

function chdial()
a = a + 1;

dlink.href = 'channel' + a + '.htm';

dialpic.src = 'dial' + a + '.gif';

if (a == 8)
a = 0;


<body bgcolor="black">

<a href="#" ID="dlink" onMouseOver="chdial();">
<img src="default.jpg" ID="dialpic" border="0" width="125" height="125">