rem: { if(flag!=1){ 
add: { if(flag!=1){ 
context: function validateFields(form){				if(flag!=1){						var selectBox = document.getElementsByName("type")[0];			var indexArray = document.getElementsByName("indexOfLevel");					var typeArray=document.getElementsByName("typeOfLevel");			document.CheckListForm.typeId.value=typeArray[selectBox.selectedIndex].value;					document.CheckListForm.categoryId.value=indexArray[selectBox.selectedIndex].value;			document.CheckListForm.typeName.value=selectBox.options[selectBox.selectedIndex].text;					var displayedStatusBox=document.getElementsByName("status")[0];					document.CheckListForm.displayedStatus.value=displayedStatusBox.options[displayedStatusBox.selectedIndex].text;					document.CheckListForm.method.value="preview";			return true;		}	}
meta: 341	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/341/76cad7a6a9d290861496839a2bf74fb6c72c48a9/validator.js/buggy/mifos/src/org/mifos/doc-root/application/checklist/js/validator.js