anchor.diff:  						var optLen = window.opener.document.ApplicationForm.associatedIds.options.length++;	
   						window.opener.document.ApplicationForm.associatedIds.options[optLen].text = document.UserForm.lgName.value;
   						window.opener.document.ApplicationForm.associatedIds.options[optLen].value = document.UserForm.userId.value;
  +						ischecked = true;
   					}		
   				}
   	  		}
  
positive.code: 						var optLen = window.opener.document.GroupForm.associatedIds.options.length++;	
  						window.opener.document.GroupForm.associatedIds.options[optLen].text = document.UserForm.lgName.value;
  						window.opener.document.GroupForm.associatedIds.options[optLen].value = document.UserForm.userId.value;
  					}		
  				}
  	  		}
  
negative.code:   		
    		 var isgroupform = false;
    		 var isapplicationform = false;
    		 var ischecked = false;
    		for(var looop = 0; looop < window.opener.document.forms.length; looop++)
    		{
    			if(window.opener.document.forms[looop].name == "ApplicationForm")	isapplicationform = true;
  