anchor.diff:            
             ResultSet rset = stmnt.executeQuery(queryMySensors);
             
  +	//iterate through the results
             while(rset.next()) {
               Integer sID = new Integer(rset.getInt(1));
               String local = rset.getString(2);
  
positive.code: 		if(cookie.getName().equals(comppid)){pid = Integer.parseInt(cookie.getValue());}
  }
  }
  	Boolean debug = Boolean.TRUE;
        String queryMySensors	= "select S.SENSOR_ID, S.LOCATION, S.SENSOR_TYPE, S.DESCRIPTION from SENSORS S, SUBSCRIPTIONS T where S.SENSOR_ID=T.SENSOR_ID and T.PERSON_ID="+pid;
        String querySensors	= "select distinct S.SENSOR_ID, S.LOCATION, S.SENSOR_TYPE, S.DESCRIPTION from SENSORS S, SUBSCRIPTIONS T where S.SENSOR_ID not in (select S.SENSOR_ID from SENSORS S, SUBSCRIPTIONS T where S.SENSOR_ID=T.SENSOR_ID and T.PERSON_ID="+pid+")";
        
  
negative.code: 	    String trclose = "</tr>";	
  			
  			
  		//output as table
  	    String buttonrm = "<input type='radio' name='subToAnal' value='" + sID + "' checked>";
  			
              out.println( tropen + open + sID + close + open + local + close + open + type + close + open + desc +  close + open + buttonrm + close + trclose);
  