function updateSelect(selectObj, newSelection)
{
	for (i=0; i<selectObj.length; i++)
	{
  		if (selectObj.options[i].value == newSelection)
  		{
  			selectObj.selectedIndex = i;
  			return;
  		}
  	}
}
/** 
 * This function sets the given select form element (drop-down list) to a new selection
 * selectObj - the select form element object
 * newSelection - the value to select in the select form element (drop-down list)
 */
This function sets the given select form element (drop-down list) to a new selection
selectObj - the select form element object
newSelection - the value to select in the select form element (drop-down list)
This function sets the given select form element ( drop - down list ) to a new selection selectObj - the select form element object newSelection - the value to select in the select form element ( drop - down list )
function updateSelect(selectObj, newSelection)
{
	for (i=0; i<selectObj.length; i++)
	{
  		if (selectObj.options[i].value == newSelection)
  		{
  			selectObj.selectedIndex = i;
  			return;
  		}
  	}
}
function updateSelect ( selectObj , newSelection ) { for ( i = 0 ; i < selectObj . length ; i ++ ) { if ( selectObj . options [ i ] . value == newSelection ) { selectObj . selectedIndex = i ; return ; } } }
This function sets the given select form element (drop-down list) to a new selection
 selectObj - the select form element object
 newSelection - the value to select in the select form element (drop-down list)
This function sets the given select form element ( drop - down list ) to a new selection selectObj - the select form element object newSelection - the value to select in the select form element ( drop - down list )