<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4712.0">
<TITLE>Netscape Refreshing page after load</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello everone,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">here is my problem:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have a page with multiple divs with pictures in them, i set all attributes for them in HTML first öike this:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"><div id="blockDiv0>"</FONT> <FONT FACE="Arial">style="position: absolute; left: <%=xstart(i)%>; top: <%=ystart(i)%>; width: <%=xplus(i)%>; height: <%=yplus(i)%>;"> </FONT></P>
<P><FONT FACE="Arial"><a href="javascript:reverseVisibility('blockDiv0','im0')"></FONT>
<BR><SPAN LANG="sv"><FONT FACE="Arial"><img name="im0"</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT FACE="Arial">id="im</FONT></SPAN><SPAN LANG="sv"></SPAN><SPAN LANG="sv"><FONT FACE="Arial">0</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT FACE="Arial">" src="transp400x500.gif" width=<%=xplus(i)-9%> height=<%=yplus(i)-65%>> </FONT></SPAN>
<BR><SPAN LANG="sv"><FONT FACE="Arial"></a></FONT></SPAN>
<BR><SPAN LANG="sv"><FONT FACE="Arial"></div></FONT></SPAN>
</P>
<BR>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">I alter the images src and border using javascript further down on the page by accessing them with </FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><FONT FACE="Arial">document.layers[i].document.images[j].src = nsimageFalse.src </FONT></SPAN>
</P>
<P><SPAN LANG="sv"><FONT FACE="Arial">Where nsimageFalse is initialized like this</FONT></SPAN>
<BR><SPAN LANG="sv"><FONT FACE="Arial">nsimageFalse = new Image();</FONT></SPAN>
<BR><SPAN LANG="sv"><FONT FACE="Arial">nsimageFalse.src = "</FONT><FONT FACE="Arial">chess</FONT><FONT FACE="Arial">.gif"; </FONT></SPAN>
</P>
<BR>
<P><SPAN LANG="sv"><FONT FACE="Arial">The change works well and i see that the image have changed on screen, when all changes are donw and page is loaded</FONT></SPAN>
<BR><SPAN LANG="sv"><FONT FACE="Arial">completely, all the changes done with javascript goes away and Im left with the original image i set with html.</FONT></SPAN>
<BR><SPAN LANG="sv"><FONT FACE="Arial">It looks like the page is refreshed/redrawn for some reason.</FONT></SPAN>
</P>
<P><SPAN LANG="sv"><FONT FACE="Arial">Any1 know what I could be doing wrong or what i could have left out?</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN>
</P>
<BR>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Really appreciate all help i can get!</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Nisse</FONT></SPAN>
</P>
</BODY>
</HTML>