anchor.diff:  			<TD align="left">
   				<logic:equal name="crossListsModifyForm" property="unlimited" value="true">
   					<img src='images/infinity.gif' alt='Unlimited Enrollment' title='Unlimited Enrollment' border='0' align='top'>
  +					<bean:define id="instrOffrLimit" value="-1" />
   				</logic:equal>
   				<logic:notEqual name="crossListsModifyForm" property="unlimited" value="true">
  -					<bean:write name="crossListsModifyForm" property="ioLimit"/>
  +					<TABLE border="0" cellspacing="0" cellpadding="0" align="left">
  +					<TR><TD align="left">
  +						<bean:write name="crossListsModifyForm" property="ioLimit"/>
  +						<bean:define id="instrOffrLimit">
  +							<bean:write name="crossListsModifyForm" property="ioLimit"/>
  +						</bean:define>
  +					</TD>
  +					<TD align="left">
  +						<DIV id='resvTotalDiff'>
  +						</DIV>
  +					</TD></TR>
  +					</TABLE>					
   				</logic:notEqual>
   			</TD>
   		</TR>
  
positive.code: <SCRIPT language="javascript">
  	<!--
  	var origTotal = 0;
  	
  	function updateResvTotal() {
  		i=0;
  		total = 0;
  		while ( (o = document.getElementById("reserved_" + i++)) !=null ) {
  			if (o.value == parseInt(o.value) && parseInt(o.value)>=0) {
  				total += parseInt(o.value);
  			}
  			else {
  				document.getElementById("resvTotal").innerHTML = "<font color='red'><b>ERR</b></font>";
  				return;
  			}
  		}
  		if (total<origTotal) {
  			str = "<img height='15' align='bottom' src='images/down_arrow_red.jpg'> <font color='red'><b>" + (origTotal-total) + "</b></font>&nbsp;&nbsp;";
  			document.getElementById("resvTotal").innerHTML = str.blink();
  			str = "<font color='red'><b>" + total + "</b></font>&nbsp;&nbsp;";
  			setTimeout("document.getElementById('resvTotal').innerHTML = str;",1500);
  		}
  		if (total>origTotal) {
  			str = "<img height='15' align='bottom' src='images/up_arrow_green.jpg'> <font color='green'><b>" + (total-origTotal) + "</b></font>&nbsp;&nbsp;";
  			document.getElementById("resvTotal").innerHTML = str.blink();
  			str = "<font color='green'><b>" + total + "</b></font>&nbsp;&nbsp;";
  			setTimeout("document.getElementById('resvTotal').innerHTML = str;",1500);
  		}
  		if (total==origTotal)
  			document.getElementById("resvTotal").innerHTML = total + "&nbsp;&nbsp;";
  	}
  	
  	// -->
  
negative.code: 
  <SCRIPT language="javascript">
  	<!--
  	<% int ioLimit = pageContext.getAttribute("instrOffrLimit")!=null 
  						? Integer.valueOf((String) pageContext.getAttribute("instrOffrLimit"))
  						: -1; 
  
  		if (ioLimit!=-1 && resvTotal!=ioLimit) {						
  	%>	
  		document.getElementById("resvTotalDiff").innerHTML = mismatchHtml;
  	<%
  		}		
  	%>
  	colorCodeTotal = false;
  	ioLimit = <%=ioLimit%>;
  	// -->
  </SCRIPT>
  