private String restoreSubjectLink(Integer subjectId) {
   HtmlBuilder builder = new HtmlBuilder();
   builder.a().href("RestoreSubject?action=confirm&id=" + subjectId);
   builder.onmouseout("javascript:setImage('bt_Restor3','images/bt_Restore_d.gif');");
   builder.onmouseover("javascript:setImage('bt_Restore3','images/bt_Restore.gif');");
   builder.close();
   builder
       .img()
       .name("bt_Restore3")
       .src("images/bt_Restore.gif")
       .border("0")
       .alt("Restore")
       .title("Restore")
       .align("left")
       .append("hspace=\"6\"")
       .close();
   builder.aEnd();
   return builder.toString();
 }
 private String viewSubjectLink(Integer subjectId) {
   HtmlBuilder builder = new HtmlBuilder();
   builder.a().href("UpdateSubject?action=show&id=" + subjectId);
   builder.onmouseout("javascript:setImage('bt_View1','images/bt_View_d.gif');");
   builder.onmouseover("javascript:setImage('bt_View1','images/bt_View.gif');");
   builder.close();
   builder
       .img()
       .name("bt_View1")
       .src("images/bt_View.gif")
       .border("0")
       .alt("View")
       .title("View")
       .align("left")
       .append("hspace=\"6\"")
       .close();
   builder.aEnd();
   return builder.toString();
 }