<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi folks,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm in doubt about a function programmed by me for 
the onClick event links. The reason of that function is to change the color of 
the active link to white and set black the color of rest - that efect was not 
possible with the alink property because the page is part of a frame so, when 
you click another page of the frame that link was not the active so the color 
changed, and that was no the desired efect!</FONT></DIV>
<DIV><FONT face=Arial size=2>So, I programmed that function but it's not working 
well. For some reason I can see the desired efect just when add an alert 
statement at the begininig - which is marked by comment. But, if there's not the 
alert or if there is the alert just before the return statement for example 
-&nbsp;what enssure that the function was executed completely! -&nbsp;the efects 
are not vissibles.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; function 
clicker(elem1,elem2,elem3,elem4,elem5,elem6,elem7,elem8,elem9,text) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 
//alert("if");&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem1.style.color = "#ffffff"; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem2.style.color = "#000000"; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem3.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem4.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem5.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem6.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem7.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem8.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
elem9.style.color = "#000000";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; return 
true;<BR>&nbsp;&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My doubt is if the alert cause some event that 
cause that the browser repaint ?? In that case, how can I evoke that event 
without the alert?? In other case, please, I'll really appreciate if somebody 
explain me why my function is not working well and how can I fix the 
problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Any help is 
appreciated!</FONT></FONT></DIV><FONT face=Arial size=2><FONT 
face="Times New Roman" size=3></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>Yours,</FONT></DIV>
<DIV><FONT face=Arial size=2>Liset.<BR></DIV></FONT></BODY></HTML>