function populateCity(inForm,selected)
{
	var selectedArray = eval(selected+"Array");
	while (selectedArray.length < inForm.cityLocation.options.length)
	{
		inForm.cityLocation.options[(inForm.cityLocation.options.length - 1)] = null;
	}
	for (var i=0; i < selectedArray.length; i++)
	{
		eval("inForm.cityLocation.options[i]=" + "new Option" + selectedArray[i]);
	}
	if (inForm.jobState.options[0].value == '')
	{
		inForm.jobState.options[0]= null;
		if ( navigator.appName == 'Netscape')
		{
			if (parseInt(navigator.appVersion) < 4)
			{
				window.history.go(0);
			}
			else
			{   	
				if (navigator.platform == 'Win32' || navigator.platform == 'Win16') 
				{
					if(!document.getElementById)
						window.history.go(0);
				}
			}
		}
	}
}

function populateCities(inForm,selected)
{
	var selectedArray = eval(selected+"Array");
	while (selectedArray.length < inForm.cities.options.length)
	{
		inForm.cities.options[(inForm.cities.options.length - 1)] = null;
	}
	for (var i=0; i < selectedArray.length; i++)
	{
		eval("inForm.cities.options[i]=" + "new Option" + selectedArray[i]);
	}
	if (inForm.state.options[0].value == '')
	{
		inForm.state.options[0]= null;
		if ( navigator.appName == 'Netscape')
		{
			if (parseInt(navigator.appVersion) < 4)
			{
				window.history.go(0);
			}
			else
			{   	
				if (navigator.platform == 'Win32' || navigator.platform == 'Win16') 
				{
					if(!document.getElementById)
						window.history.go(0);
				}
			}
		}
	}
}