anchor.diff:  					document.forms[0].pos1.disabled=false;
   					document.forms[0].pos2.disabled=false;					
   				}
  -				
  -				onParentContainerChange(element)
  +				var ele0 = document.getElementById("customListBox_1_0");
  +				onParentContainerChange1(ele0);
   				//window.location.reload();
   			}
   		}
  
positive.code: </style>
  	<script language="JavaScript" type="text/javascript" src="jss/Hashtable.js"></script>
  	<script language="JavaScript" type="text/javascript" src="jss/javaScript.js"></script>
  	<script language="JavaScript">
  		function checkNoOfContainers(action,formField)
  		{
  
negative.code: 			}	
  			
  		}
  		
  	
  
      /***  code using ajax :gets the default cps without refreshing the whole page  ***/
  	function onParentContainerChange1(element)
  	{
  		if(element.name == "parentContainerId")
  		{
  			var request = newXMLHTTPReq();
  			var handlerFunction = getReadyStateHandler(request,onResponseUpdate,true);
  		
  			//no brackets after the function name and no parameters are passed because we are assigning a reference to the function and not actually calling it
  			request.onreadystatechange = handlerFunction;
  			var action = "operation="+document.forms[0].operation.value+"&pageOf=pageOfStorageContainer&isSiteOrParentContainerChange=true&parentContainerId="+element.value;
  		
  			//Open connection to servlet
  			request.open("POST","StorageContainer.do",true);	
  			request.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	
  		
  			//send data to ActionServlet
  			request.send(action);
  		}
  	}
  
  	function onResponseUpdate(collectionIdsStr) 
  	{
  
  		var collectionIds = document.getElementById("collectionIds");
  	
  		for (var i=collectionIds.options.length-1; i >= 0;i--) {
  			collectionIds.options[i].selected=false;
  		}
  		if(collectionIdsStr == "-1")
  		{
  			collectionIds.options[0].selected=true;
  		}
  		else
  		{
  			for (var i=collectionIds.options.length-1; i >= 0;i--) {
  				if(collectionIdsStr.indexOf(collectionIds.options[i].value) >= 0)
  				{
  					
  					collectionIds.options[i].selected = true;
  				}
  			}
  		}	
  		
  		
  	}
  
  	/*** code using ajax  ***/
  
  		
  		
  		
  		
  