function changoption(){
removeAllOptions(document.f1.proptype);
removeAllOptions(document.f1.pricerange);
if(document.f1.prty.value == "1" || document.f1.prty.value == "2" || document.f1.prty.value == "3"){
addOption(document.f1.proptype, "27", "All Residential Property", "");
addOption(document.f1.proptype, "20", "Residential Apartment", "");
addOption(document.f1.proptype, "21", "Independent House", "");
addOption(document.f1.proptype, "22", "Residential Land", "");
addOption(document.f1.proptype, "23", "Builder Floor", "");
addOption(document.f1.proptype, "24", "Farm House", "");
addOption(document.f1.proptype, "25", "Other Residential Property", "");
addOption(document.f1.proptype, "", "", "");

addOption(document.f1.proptype, "26", "All Commercial Property", "");
addOption(document.f1.proptype, "1", "Commercial Shops", "");
addOption(document.f1.proptype, "2", "Commercial Showrooms", "");
addOption(document.f1.proptype, "3", "Commercial Office", "");
addOption(document.f1.proptype, "4", "Commercial Land", "");
addOption(document.f1.proptype, "5", "Hotel/Guest House", "");
addOption(document.f1.proptype, "6", "Time Share", "");
addOption(document.f1.proptype, "7", "Space in Retail Mall", "");
addOption(document.f1.proptype, "8", "Office space in Business Park", "");
addOption(document.f1.proptype, "9", "Office space in IT Park", "");
addOption(document.f1.proptype, "10", "Ware House", "");
addOption(document.f1.proptype, "11", "Industrial Lands/Plots", "");
addOption(document.f1.proptype, "12", "Cold Storage", "");
addOption(document.f1.proptype, "13", "Factory", "");
addOption(document.f1.proptype, "14", "Manufacturing", "");
addOption(document.f1.proptype, "15", "Agricultural Land/Farm Land", "");
addOption(document.f1.proptype, "16", "Business center", "");
addOption(document.f1.proptype, "17", "Other Commercial Property", "");

}
if(document.f1.prty.value == "4"){
addOption(document.f1.proptype, "27", "All Residential Property", "");
addOption(document.f1.proptype, "20", "Residential Apartment", "");
addOption(document.f1.proptype, "21", "Independent House", "");
addOption(document.f1.proptype, "22", "Residential Land", "");
addOption(document.f1.proptype, "23", "Builder Floor", "");
addOption(document.f1.proptype, "24", "Farm House", "");
addOption(document.f1.proptype, "25", "Other Residential Property", "");

}


if(document.f1.prty.value == "3" || document.f1.prty.value == "4"){
addOption(document.f1.pricerange, "0", "No limit", "");
addOption(document.f1.pricerange, "1", "Below 1 Thousand", "");
addOption(document.f1.pricerange, "2", "1 - 2 Thousands", "");
addOption(document.f1.pricerange, "3", "2 - 3 Thousands", "");
addOption(document.f1.pricerange, "4", "3 - 4 Thousands", "");
addOption(document.f1.pricerange, "5", "4 - 5 Thousands", "");
addOption(document.f1.pricerange, "6", "5 - 7 Thousands", "");
addOption(document.f1.pricerange, "7", "7 - 10 Thousands", "");
addOption(document.f1.pricerange, "8", "10 - 15 Thousands", "");
addOption(document.f1.pricerange, "9", "15 - 20 Thousands", "");
addOption(document.f1.pricerange, "10", "20 - 25 Thousands", "");
addOption(document.f1.pricerange, "11", "25 - 30 Thousands", "");
addOption(document.f1.pricerange, "12", "30 - 35 Thousands", "");
addOption(document.f1.pricerange, "13", "35 - 40 Thousands", "");
addOption(document.f1.pricerange, "14", "40 - 45 Thousands", "");
addOption(document.f1.pricerange, "15", "45 - 50 Thousands", "");
addOption(document.f1.pricerange, "16", "50 - 75 Thousands", "");
addOption(document.f1.pricerange, "17", "75 Thousands - 1 Lacs", "");
addOption(document.f1.pricerange, "18", "1 - 1.5 Lacs", "");
addOption(document.f1.pricerange, "19", "1.5 - 2 Lacs", "");
addOption(document.f1.pricerange, "20", "2 - 2.5 Lacs", "");
addOption(document.f1.pricerange, "21", "2.5 - 3 Lacs", "");
addOption(document.f1.pricerange, "22", "3 - 5 Lacs", "");
addOption(document.f1.pricerange, "23", "5 - 10 Lacs", "");
addOption(document.f1.pricerange, "24", "10 - 20 Lacs", "");
addOption(document.f1.pricerange, "25", "20 - 50 Lacs", "");
addOption(document.f1.pricerange, "26", "50 - 1 Crores", "");
addOption(document.f1.pricerange, "27", "1 - 2 Crores", "");
addOption(document.f1.pricerange, "28", "2 - 5 Crores", "");
}

if(document.f1.prty.value == "1" || document.f1.prty.value == "2"){
addOption(document.f1.pricerange, "0", "No limit", "");
addOption(document.f1.pricerange, "1", "Below 1 Lacs", "");
addOption(document.f1.pricerange, "2", "1 - 2 Lacs", "");
addOption(document.f1.pricerange, "3", "2 - 3 Lacs", "");
addOption(document.f1.pricerange, "4", "3 - 4 Lacs", "");
addOption(document.f1.pricerange, "5", "4 - 5 Lacs", "");
addOption(document.f1.pricerange, "6", "5 - 7 Lacs", "");
addOption(document.f1.pricerange, "7", "7 - 10 Lacs", "");
addOption(document.f1.pricerange, "8", "10 - 15 Lacs", "");
addOption(document.f1.pricerange, "9", "15 - 20 Lacs", "");
addOption(document.f1.pricerange, "10", "20 - 25 Lacs", "");
addOption(document.f1.pricerange, "11", "25 - 30 Lacs", "");
addOption(document.f1.pricerange, "12", "30 - 35 Lacs", "");
addOption(document.f1.pricerange, "13", "35 - 40 Lacs", "");
addOption(document.f1.pricerange, "14", "40 - 45 Lacs", "");
addOption(document.f1.pricerange, "15", "45 - 50 Lacs", "");
addOption(document.f1.pricerange, "16", "50 - 75 Lacs", "");
addOption(document.f1.pricerange, "17", "75 Lacs - 1 crores", "");
addOption(document.f1.pricerange, "18", "1 - 1.5 crores", "");
addOption(document.f1.pricerange, "19", "1.5 - 2 crores", "");
addOption(document.f1.pricerange, "20", "2 - 2.5 crores", "");
addOption(document.f1.pricerange, "21", "2.5 - 3 crores", "");
addOption(document.f1.pricerange, "22", "3 - 5 crores", "");
addOption(document.f1.pricerange, "23", "5 - 10 crores", "");
addOption(document.f1.pricerange, "24", "10 - 20 crores", "");
addOption(document.f1.pricerange, "25", "20 - 50 crores", "");
addOption(document.f1.pricerange, "26", "50 - 100 crores", "");
addOption(document.f1.pricerange, "27", "100 - 200 crores", "");
addOption(document.f1.pricerange, "28", "200 - 500 crores", "");
}
}