Sorry, I dont understand how you would then call the function
<asp:TextBox id="imageFld1" Width="300" runat="server" />
<INPUT type="button" value="Image" onClick="callInsertImage(??????,'imageFld1')" id="Change1" runat="server" NAME="Change1"/>
orcais.com