anchor.diff:  <script type="text/javascript" src="../carbon/admin/js/main.js"></script>
   
   <script type="text/javascript">
  -/* function validateAndSubmit(){
  -	if($('#existingIssuers').length > 0 && $('#existingIssuers').val().length > 0 && $('#issuer').val().length > 0){
  -		var existingIssuers = $('#existingIssuers').val().split(",");
  -		var issuer = $('#issuer').val();
  -		if(existingIssuers.length > 0){
  -			var isValid = true;
  -			$.each(existingIssuers, function(){
  -				if(this.length > 0 && this == issuer){
  -					isValid = false;
  -					return false;
  -				}
  -			});
  -			if(!isValid){
  -		        CARBON.showWarningDialog('Service Provider with Issuer "'+issuer+'" is already registered.', null, null);
  -		        return false;
  -			}
  -		}
  -	}
  -	if(doValidation()){
  -		document.getElementById("addServiceProvider").submit();
  -	}
  -} */
   
   function doValidation() {
       var fld = document.getElementsByName("issuer")[0];
  
positive.code:         }
      }
  
      //if (document.getElementsByName("subjectType")[1].checked) {
      //    var claimVal = document.getElementsByName("claimID")[0].value;
      //    if (claimVal.length == 0) {
      //        CARBON.showWarningDialog(
      //                "<fmt:message key='sp.enter.valid.claimID'/>",
      //                null, null);
      //        return false;
      //    }
      //}
      return true;
  }
  
  
negative.code:         }
      }
  
  %>
  
  <form method="POST" action="add_service_provider_finish.jsp?SPAction=<%=spAction%>"
        id="addServiceProvider" name="addServiceProvider" target="_self"
        onsubmit="return doValidation();">
  <table class="styledLeft" width="100%">
  <thead>
  <tr>
  