function setOptions(dest,val,defaultSelect)
{
	eval("arrayDest = "+dest.name);
	dest.length = 0;
	dest.options[0] = new Option(defaultSelect,''); 
	index = 1;
	for(i=0;i<arrayDest.length;i++)
	{

		if(arrayDest[i][2] == val || val == '')
		{
			dest.options[index] = new Option(arrayDest[i][1],arrayDest[i][0]); 
			index++;
		}
	}	
}
