anchor.diff:  
   <SCRIPT language="javascript">
   	<!--
  -	origTotal = <%=resvTotal%>;
  +	<% 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>
  
positive.code: 			<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'>
  				</logic:equal>
  				<logic:notEqual name="crossListsModifyForm" property="unlimited" value="true">
  					<bean:write name="crossListsModifyForm" property="ioLimit"/>
  				</logic:notEqual>
  			</TD>
  		</TR>
  
negative.code: <SCRIPT language="javascript">
  	<!--
  	var origTotal = 0;
  	var ioLimit = -1;
  	var colorCodeTotal = true;
  	var mismatchHtml = 
  		" &nbsp;&nbsp; " +
  		"<img src='images/Error16.jpg' alt='Limits do not match' title='Limits do not match' border='0' align='top'> &nbsp;" +
  		"<font color='#FF0000'>Reserved spaces does not match limit</font>";
  	
  	String.prototype.trim = function() {
  		return this.replace(/^\s+|\s+$/g,"");
  	}
  	String.prototype.ltrim = function() {
  		return this.replace(/^\s+/,"");
  	}
  	String.prototype.rtrim = function() {
  		return this.replace(/\s+$/,"");
  	}
  		
  	function updateResvTotal() {
  		i=0;
  		total = 0;
  		while ( (o = document.getElementById("reserved_" + i++)) !=null ) {
  			val = o.value = o.value.trim();
  			if (val=="") val = 0;
  			if (val == parseInt(val) && parseInt(val)>=0) {
  				total += parseInt(val);
  			}
  			else {
  				document.getElementById("resvTotal").innerHTML = "<font color='red'><b>?</b></font>";
  				return;
  			}
  		}
  		
  		str = "<b>" + total + "</b>&nbsp;&nbsp;";
  		if (total<origTotal && origTotal>=0 && colorCodeTotal) {
  			str = "<font color='red'><b>" + total + "</b></font>&nbsp;&nbsp;";
  		}
  		if (total>origTotal && origTotal>=0 && colorCodeTotal) {
  			str = "<font color='green'><b>" + total + "</b></font>&nbsp;&nbsp;";
  		}
  		document.getElementById('resvTotal').innerHTML = str;
  		
  		if (total!=ioLimit && origTotal>=0) 
  			document.getElementById("resvTotalDiff").innerHTML = mismatchHtml;
  		else 
  			document.getElementById("resvTotalDiff").innerHTML = "";
  	}
  	
  	// -->
  