/* Include List of Country Codes */var filterCountryCode = new Array(), eGiftSponPath = "/worldvision/eappeal.nsf/egiftnonipp?openform";filterCountryCode["0125"] = eGiftSponPath + "&country=MRT"; //URL for MauritaniafilterCountryCode["0203"] = eGiftSponPath + "&country=CAM"; //URL for CambodiafilterCountryCode["0205"] = eGiftSponPath + "&country=CHI"; //URL for ChinafilterCountryCode["0211"] = eGiftSponPath + "&country=IDN"; //URL for IndonesiafilterCountryCode["0227"] = eGiftSponPath + "&country=MYA"; //URL for MyanmarfilterCountryCode["0233"] = eGiftSponPath + "&country=PHL"; //URL for PhilippinesfilterCountryCode["0243"] = eGiftSponPath + "&country=THA"; //URL for ThailandfilterCountryCode["0253"] = eGiftSponPath + "&country=VNM"; //URL for VietnamfilterCountryCode["0333"] = eGiftSponPath + "&country=JWG"; //URL for Jerusalem/West Bank/GazafilterCountryCode["0339"] = eGiftSponPath + "&country=LBN"; //URL for LebanonfilterCountryCode["0349"] = eGiftSponPath + "&country=ROM"; //URL for Romania	/* Change the Form Action Based on Filtered Country Codes */function routeCountrySelect(frmObj){		 //var cv = frmObj["xxwvLocation"].options[frmObj.xxwvLocation.selectedIndex].value;		 var cv = frmObj["CL"].options[frmObj.CL.selectedIndex].value;		 if(filterCountryCode[cv]){//		 		 var selectGender = ( frmObj["xxwvGender"][0].checked ) ? "&gender=f" : (( frmObj["xxwvGender"][1].checked ) ? "&gender=m" : "") ;			 		 var selectGender = ( frmObj["CG"][0].checked ) ? "&gender=f" : (( frmObj["CG"][1].checked ) ? "&gender=m" : "") ;	 		 		 		 location.href = filterCountryCode[cv] + selectGender;		 		 return false;		 }}/* Assign OnSubmit Action to Select Form */try{	if(document.searchform){		var selectFormObj = document.searchform;		selectFormObj.onsubmit = function(){		 	return routeCountrySelect(selectFormObj);		}	}}catch(e){}
