﻿
function RegSetValidation(Obj)
{
//   try {
//       var Nome = $("div.Nome input[@type=text]").get(0).value;
//       var Cognome = $("div.Cognome input[@type=text]").get(0).value;
//       var RagSoc = $("div.RagSoc input[@type=text]").get(0).value;
//      
//       var ValCodFis=false;
//       var ValPariva=false;

//       if(RagSoc!=""){
//           ValPariva=true;
//       } else if((Nome!="" || Cognome!="") && RagSoc=="") {
//           ValCodFis=true;
//       }  
//       
//       for(var i=0; i < Page_Validators.length; i++){      
//           if(Page_Validators[i].id.indexOf('_CodFis_')!=-1){
//              ValidatorEnable(Page_Validators[i],ValCodFis);     
//           }  else if(Page_Validators[i].id.indexOf('_Pariva_')!=-1){
//              ValidatorEnable(Page_Validators[i],ValPariva); 
//           }       
//       }  
//   } catch (e) {       
//   } 
}
