anchor.diff:      Integer userID = (Integer) session.getAttribute("auth.uid");
       int ival = 0;
       if (userID != null) {
  -        ival = userID.intValue();
  +        ival = userID;
       }
   
       if (ival < 1) {
  
positive.code: <div class="row">
      <span class="label"><label for="mood"><a href="/#/moodlist/" title="List of Moods">Mood</a></label></span>
  	  <span class="formw">
  	  	<select id="mood" name="mood" size="1" dojoType="dijit.form.FilteringSelect" autoComplete="false" invalidMessage="Invalid mood">
                <%
                    Integer smood = (Integer) session.getAttribute("spell.mood");
                    int ismood = -1;
                    if (smood != null) {
                        ismood = smood.intValue();
                    }
  
                    for (Iterator iterator = MoodDao.view().iterator(); iterator.hasNext();) {
                        MoodTo o = (MoodTo) iterator.next();
                        out.print("\t<option value=\"" + o.getId());
  
                        if (ismood > -1) {
  
negative.code: <div class="row">
      <span class="label"><label for="security">Security</label></span>
  	  <span class="formw">
  	  	<select id="security" name="security" size="1">
                <%
                    Integer ssec = (Integer) session.getAttribute("spell.security");
                    int issec = 0;
                    if (ssec != null) {
                        issec = ssec;
                    }
  
                    /* Check to see if the Journal is marked private */
  