--- loncom/homework/response.pm	2008/09/04 14:18:48	1.195
+++ loncom/homework/response.pm	2008/09/05 16:14:38	1.200
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.195 2008/09/04 14:18:48 riegler Exp $
+# $Id: response.pm,v 1.200 2008/09/05 16:14:38 riegler Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -524,6 +524,7 @@ sub edit_mathresponse_button {
     my ($id,$field)=@_;
     my $button=&mt('Edit Answer');
     my $helplink=&Apache::loncommon::help_open_topic('Formula_Editor');
+    my $iconpath=$Apache::lonnet::perlvar{'lonIconsURL'};
     return(<<ENDFORMULABUTTON);
 <script language="JavaScript">
 function edit_${id}_${field} (textarea) {
@@ -532,8 +533,7 @@ function edit_${id}_${field} (textarea)
     newwin = window.open("/adm/dragmath/applet/MaximaPopup.html","","width=565,height=400,resizable");
 }
 </script>
-<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img src='$iconpath\stift.gif'/></a>
-<input type='button' value='$button' onclick="javascript:edit_${id}_${field}('${field}');void(0);" />$helplink
+<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img class="stift" src='$iconpath/stift.gif' alt='$button' title='$button'/></a>$helplink
 ENDFORMULABUTTON
 }