function update(srcid, field)
{
	

	if (field == 'area1') 
		{
		sel = document.MyForm['area'];
		sel.options.length = 0;
		src = document.getElementById(srcid).value;
		sel.options[0] = new Option('Any', '');
		}	
			
	sel = document.MyForm[field];
	sel.options.length = 0;
	src = document.getElementById(srcid).value;
	
	sel.options[0] = new Option('Any', '');
	
	for (i=0,j=1;i<list.length;i++)
		{
		
		if (list[i].parent == src)
			{
			sel.options[j] = new Option(list[i].area, list[i].id);
			j++;
			}
		}
	if (field == 'area1' && GetSelectedText(document.MyForm.area2) == 'The Keys')	// if the keys (special case)
		{
		// populate 3rd area
		//alert(GetSelected(document.MyForm.area2));
		//alert(GetSelectedText(document.MyForm.area2));
		document.MyForm.area1.selectedIndex =1;
		sel = document.MyForm.area;
		sel.options.length = 0;
		src = GetSelected(document.MyForm.area2);
		
		sel.options[0] = new Option('Any', '');
		
		for (i=0,j=1;i<list.length;i++)
			{
			if (list[i].parent == 18) 
				{
				sel.options[j] = new Option(list[i].area, list[i].id);
				j++;
				}
			}	
		return; 
		}		
}
