<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 size=2>Hi 
Terry,</FONT></SPAN></DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=118482916-02062004>&nbsp;&nbsp;&nbsp; <FONT face=Arial 
color=#800000 size=2>I've been here before.&nbsp; You can't change it in the 
parameter itself; you'll need to keep an array somewhere that you can 
check.&nbsp; The problem is, if you try to assign a function to an event 
handler, you can't use parens or it will execute it right there and pass the 
result of the function to the event handler.</FONT></SPAN></DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=118482916-02062004>&nbsp;&nbsp;&nbsp; <FONT face=Arial 
color=#800000 size=2>That said, if you find a good way to do it, let me 
know!</FONT></SPAN></DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2>Peter</FONT></SPAN></DIV>
<DIV><SPAN class=118482916-02062004><FONT face=Arial color=#800000 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  javascript-bounces@LaTech.edu [mailto:javascript-bounces@LaTech.edu] <B>On 
  Behalf Of </B>Terry Riegel<BR><BR></FONT></DIV>Hopefully this is an easy 
  one.<BR><BR>I have a link<BR><BR>&lt;a href="#" 
  onclick="supersize('image1-big.jpg')"&gt;&lt;img src="image1-med.jpg" 
  id="mainimage"&gt;&lt;/a&gt;<BR><BR>I have a script that changes the url, can 
  I also change the onclick url also? Is there a better way to do 
  this?<BR><BR>document["mainimage"].src=url<BR><BR><?fontfamily><?param Helvetica><?smaller>Terry 
  Riegel<BR>-----------------<BR>MAILKEY: 2524427349<BR></BLOCKQUOTE><?/smaller><?/fontfamily></BODY></HTML>