function VeoClick(numeroFormulario, valor){
//givenow page   
    if (numeroFormulario=="1"){
		 if (document.getElementById("radio1").checked == true){
		 
				 //veo form2
				 if (document.getElementById("radio2").checked == true){
				 //alert("The option Access to Healthcare was clicked. You can choise only one option")		 
				 document.getElementById("radio2").checked = false		
				 }
				 //veo form3
				 if (document.getElementById("radio3").checked == true){
				 //alert("The option Commitment Education was clicked. You can choise only one option")
				 document.getElementById("radio3").checked = false
				 
				 }
				  //veo form4
				 if (document.getElementById("radio4").checked == true){
				 //alert("The option Support for Self-Suffiency was clicked. You can choise only one option")
				 document.getElementById("radio4").checked = false
				 
				 }	
				 
				if (valor==1){				
					 if (document.getElementById("Other1").value == "Amount"){
						   alert("Please, enter an amount")
						   return false
					 }else{
						   return true
					 }
				 }
				 
		}else{
		    alert('Please select this item')
			return false	
		}
	}	 
			
		
	
	
	
	//Caso 2
	if (numeroFormulario=="2"){
			if (document.getElementById("radio2").checked == true){
					 //veo form1
					 if (document.getElementById("radio1").checked == true){
					 //alert("The option Community Impact Fund was clicked. You can choise only one option")	 
					 document.getElementById("radio1").checked = false
					
					 }
					 //veo form3
					 if (document.getElementById("radio3").checked == true){
					 //alert("The option Commitment Education was clicked. You can choise only one option")
					 document.getElementById("radio3").checked = false
					
					 }
					  //veo form4
					 if (document.getElementById("radio4").checked == true){
					 //alert("The option Support for Self-Suffiency was clicked. You can choise only one option")
					 document.getElementById("radio4").checked = false
					
					 }
					if (valor==1){	   
						if (document.getElementById("Other2").value == "Amount"){
									   alert("Please, enter an amount")
									   return false
						}else{
									   return true
						}
					}	
			 }else{
			    alert('Please select this item')
				return false	
			 }	 	
	}
	
	//Caso 3
	if (numeroFormulario=="3"){
			 if (document.getElementById("radio3").checked == true){
				 //veo form1
				 if (document.getElementById("radio1").checked == true){
				 //alert("The option Community Impact Fund was clicked. You can choise only one option")	
				 document.getElementById("radio1").checked = false	
				 }
				 //veo form2
				 if (document.getElementById("radio2").checked == true){
					 //alert("The option Access to Healthcare was clicked. You can choise only one option")		 
					 document.getElementById("radio2").checked = false		
				 }
				  //veo form4
				 if (document.getElementById("radio4").checked == true){
				 //alert("The option Support for Self-Suffiency was clicked. You can choise only one option")
				 document.getElementById("radio4").checked = false
				
				 }
				if (valor==1){  
					 if (document.getElementById("Other3").value == "Amount"){
							   alert("Please, enter an amount")
							   return false
					 }else{
							   return true
					}
				}	
		}else{
		    alert('Please select this item')
			return false	
		}	
	}
	
	//Caso 4
	if (numeroFormulario=="4"){
	     if (document.getElementById("radio4").checked == true){
				 //veo form1
				 if (document.getElementById("radio1").checked == true){
				 //alert("The option Community Impact Fund was clicked. You can choise only one option")	
				 document.getElementById("radio1").checked = false	
				 }
				 //veo form2
				 if (document.getElementById("radio2").checked == true){
				 //alert("The option Access to Healthcare was clicked. You can choise only one option")		 
					 document.getElementById("radio2").checked = false		
				 }
				 //veo form3
				 if (document.getElementById("radio3").checked == true){
				 //alert("The option Commitment Education was clicked. You can choise only one option")
				 document.getElementById("radio3").checked = false
				
				 }
				 if (valor==1){
						if (document.getElementById("Other4").value == "Amount"){
								   alert("Please, enter an amount")
								   return false
						}else{
								   return true
						}
				 }		
		 }else{
		 		alert('Please select this item')
				return false	
		 }	
	}//caso 4

}//end function


function VeoClick2(numeroFormulario, valor){
//Trustfund page
    
	if (numeroFormulario=="1"){
		if (document.getElementById("radio1").checked == true){
				 //veo form2
				 if (document.getElementById("radio2").checked == true){
				 //alert("The option Transition Initiatives was clicked. You can choise only one option")		 
				 document.getElementById("radio2").checked = false		
				 }
				 //veo form3
				 if (document.getElementById("radio3").checked == true){
				 //alert("The option Long-Term Housing Endowment was clicked. You can choise only one option")
				 document.getElementById("radio3").checked = false
				 
				 }
				 
				 if (valor==1){
					 if (document.getElementById("Other1").value == "Amount"){
					   alert("Please, enter an amount")
					   return false
					 }else{
					   return true
					 }
				 }	 	
					 
		 }else{ 
		 		  alert('Please select this item')
				  return false	
		 }	 
	}
	
	
	//Caso 2
	if (numeroFormulario=="2"){
		 if (document.getElementById("radio2").checked == true){
				 //veo form1
				 if (document.getElementById("radio1").checked == true){
				 //alert("The option Immediate Support Services was clicked. You can choise only one option")	 
				 document.getElementById("radio1").checked = false
				
				 }
				 //veo form3
				 if (document.getElementById("radio3").checked == true){
				 //alert("The option Long-Term Housing Endowment was clicked. You can choise only one option")
				 document.getElementById("radio3").checked = false
				
				 }
				 
				if (valor==1){
					 if (document.getElementById("Other2").value == "Amount"){
					   alert("Please, enter an amount")
					   return false
					 }else{
					   return true
					 }
				}	 
			}else{
					alert('Please select this item')
					return false	
		    }	 
				
	}
	
	//Caso 3
	if (numeroFormulario=="3"){
		if (document.getElementById("radio3").checked == true){
				 //veo form1
				 if (document.getElementById("radio1").checked == true){
					 //alert("The option Immediate Support Services was clicked. You can choise only one option")	
					 document.getElementById("radio1").checked = false	
				 }
				 //veo form2
				 if (document.getElementById("radio2").checked == true){
					 //alert("The option Transition Initiatives was clicked. You can choise only one option")		 
					 document.getElementById("radio2").checked = false		
				 }
			
				if (valor==1){	
					if (document.getElementById("Other3").value == "Amount"){
							   alert("Please, enter an amount")
							   return false
					}else{
							   return true
					}
				}	
		}else{
			alert('Please select this item')
			return false	
		}	 	 	
	}//caso 3
}


